369 lines
11 KiB
Smali
369 lines
11 KiB
Smali
|
.class public final Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
.super Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem;
|
||
|
.source "EmojiCategoryItem.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "Standard"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final categoryRange:Lkotlin/Pair;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
.field public final isSelected:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lcom/discord/models/domain/emoji/EmojiCategory;Lkotlin/Pair;Z)V
|
||
|
.locals 7
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lcom/discord/models/domain/emoji/EmojiCategory;",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;Z)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "emojiCategory"
|
||
|
|
||
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "categoryRange"
|
||
|
|
||
|
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
sget-object v0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem;->Companion:Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Companion;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Companion;->mapEmojiCategoryToItemId(Lcom/discord/models/domain/emoji/EmojiCategory;)J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v4, p2
|
||
|
|
||
|
move v5, p3
|
||
|
|
||
|
invoke-direct/range {v1 .. v6}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem;-><init>(JLkotlin/Pair;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
iput-object p2, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->categoryRange:Lkotlin/Pair;
|
||
|
|
||
|
iput-boolean p3, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic copy$default(Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;Lcom/discord/models/domain/emoji/EmojiCategory;Lkotlin/Pair;ZILjava/lang/Object;)Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p4, 0x1
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
:cond_0
|
||
|
and-int/lit8 p5, p4, 0x2
|
||
|
|
||
|
if-eqz p5, :cond_1
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
:cond_1
|
||
|
and-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eqz p4, :cond_2
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->copy(Lcom/discord/models/domain/emoji/EmojiCategory;Lkotlin/Pair;Z)Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final component1()Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component2()Lkotlin/Pair;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final component3()Z
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final copy(Lcom/discord/models/domain/emoji/EmojiCategory;Lkotlin/Pair;Z)Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lcom/discord/models/domain/emoji/EmojiCategory;",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;Z)",
|
||
|
"Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "emojiCategory"
|
||
|
|
||
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "categoryRange"
|
||
|
|
||
|
invoke-static {p2, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
new-instance v0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
|
||
|
invoke-direct {v0, p1, p2, p3}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;-><init>(Lcom/discord/models/domain/emoji/EmojiCategory;Lkotlin/Pair;Z)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 2
|
||
|
|
||
|
if-eq p0, p1, :cond_1
|
||
|
|
||
|
instance-of v0, p1, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p1, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
iget-object v1, p1, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {v0, v1}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-ne v0, p1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public getCategoryRange()Lkotlin/Pair;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Lkotlin/Pair<",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->categoryRange:Lkotlin/Pair;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getEmojiCategory()Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
mul-int/lit8 v0, v0, 0x1f
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
invoke-virtual {v2}, Lkotlin/Pair;->hashCode()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
:cond_1
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
mul-int/lit8 v0, v0, 0x1f
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
:cond_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public isSelected()Z
|
||
|
.locals 1
|
||
|
|
||
|
iget-boolean v0, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected:Z
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "Standard(emojiCategory="
|
||
|
|
||
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->emojiCategory:Lcom/discord/models/domain/emoji/EmojiCategory;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", categoryRange="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->getCategoryRange()Lkotlin/Pair;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", isSelected="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/emoji/EmojiCategoryItem$Standard;->isSelected()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ")"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|