1185 lines
32 KiB
Smali
1185 lines
32 KiB
Smali
.class public Lcom/discord/chipsview/ChipsView;
|
|
.super Landroid/widget/ScrollView;
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/chipsview/b$a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/chipsview/ChipsView$c;,
|
|
Lcom/discord/chipsview/ChipsView$f;,
|
|
Lcom/discord/chipsview/ChipsView$b;,
|
|
Lcom/discord/chipsview/ChipsView$a;,
|
|
Lcom/discord/chipsview/ChipsView$e;,
|
|
Lcom/discord/chipsview/ChipsView$d;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V::",
|
|
"Lcom/discord/chipsview/ChipsView$c;",
|
|
">",
|
|
"Landroid/widget/ScrollView;",
|
|
"Lcom/discord/chipsview/b$a;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mMaxHeight:I
|
|
|
|
.field private vC:I
|
|
|
|
.field private vD:I
|
|
|
|
.field private vE:I
|
|
|
|
.field private vF:I
|
|
|
|
.field private vG:I
|
|
|
|
.field private vH:I
|
|
|
|
.field private vI:I
|
|
|
|
.field private vJ:I
|
|
|
|
.field private vK:I
|
|
|
|
.field private vL:I
|
|
|
|
.field private vM:I
|
|
|
|
.field private vN:F
|
|
|
|
.field private vO:I
|
|
|
|
.field private vP:F
|
|
|
|
.field private vQ:Landroid/widget/RelativeLayout;
|
|
|
|
.field vR:Lcom/discord/chipsview/b;
|
|
|
|
.field private vS:Lcom/discord/chipsview/c;
|
|
|
|
.field private vT:Ljava/util/LinkedHashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/LinkedHashMap<",
|
|
"TK;",
|
|
"Lcom/discord/chipsview/a<",
|
|
"TK;TV;>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private vU:Ljava/lang/Object;
|
|
|
|
.field private vV:Lcom/discord/chipsview/ChipsView$a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/discord/chipsview/ChipsView$a<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private vW:Lcom/discord/chipsview/ChipsView$b;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/discord/chipsview/ChipsView$b<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private vX:Lcom/discord/chipsview/ChipsView$f;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/discord/chipsview/ChipsView$f<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V
|
|
|
|
sget p1, Lcom/discord/chipsview/R$b;->drawable_chip_background:I
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vC:I
|
|
|
|
new-instance p1, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p1}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p0}, Lcom/discord/chipsview/ChipsView;->init()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
sget v0, Lcom/discord/chipsview/R$b;->drawable_chip_background:I
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vC:I
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/chipsview/ChipsView;->a(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/chipsview/ChipsView;->init()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
sget p3, Lcom/discord/chipsview/R$b;->drawable_chip_background:I
|
|
|
|
iput p3, p0, Lcom/discord/chipsview/ChipsView;->vC:I
|
|
|
|
new-instance p3, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p3}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object p3, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/chipsview/ChipsView;->a(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/chipsview/ChipsView;->init()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
.annotation build Landroid/annotation/TargetApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
sget p3, Lcom/discord/chipsview/R$b;->drawable_chip_background:I
|
|
|
|
iput p3, p0, Lcom/discord/chipsview/ChipsView;->vC:I
|
|
|
|
new-instance p3, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p3}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object p3, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/chipsview/ChipsView;->a(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/chipsview/ChipsView;->init()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/discord/chipsview/ChipsView;)Lcom/discord/chipsview/b;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private a(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 5
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/discord/chipsview/R$e;->ChipsView:[I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v0, p2, v1, v2, v2}, Landroid/content/res/Resources$Theme;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p2
|
|
|
|
:try_start_0
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_max_height:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {p2, v0, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->mMaxHeight:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_vertical_spacing:I
|
|
|
|
const/high16 v3, 0x3f800000 # 1.0f
|
|
|
|
iget v4, p0, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
mul-float v4, v4, v3
|
|
|
|
float-to-int v3, v4
|
|
|
|
invoke-virtual {p2, v0, v3}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vD:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_color:I
|
|
|
|
const/high16 v3, 0x1060000
|
|
|
|
invoke-static {p1, v3}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p2, v0, v3}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vE:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_color_clicked:I
|
|
|
|
const v3, 0x106000b
|
|
|
|
invoke-static {p1, v3}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {p2, v0, v4}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vF:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_bg_color:I
|
|
|
|
invoke-static {p1, v3}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p2, v0, v3}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vG:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$e;->ChipsView_cv_bg_color_clicked:I
|
|
|
|
const v3, 0x1060013
|
|
|
|
invoke-static {p1, v3}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p2, v0, p1}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vH:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_text_color:I
|
|
|
|
const/high16 v0, -0x1000000
|
|
|
|
invoke-virtual {p2, p1, v0}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vI:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_text_color_clicked:I
|
|
|
|
invoke-virtual {p2, p1, v1}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vJ:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_icon_placeholder:I
|
|
|
|
invoke-virtual {p2, p1, v2}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vK:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_icon_delete:I
|
|
|
|
sget v1, Lcom/discord/chipsview/R$b;->drawable_chip_delete:I
|
|
|
|
invoke-virtual {p2, p1, v1}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vL:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_search_text_color:I
|
|
|
|
invoke-virtual {p2, p1, v0}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vM:I
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_search_text_size:I
|
|
|
|
const/16 v0, 0x31
|
|
|
|
invoke-virtual {p2, p1, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result p1
|
|
|
|
int-to-float p1, p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vN:F
|
|
|
|
sget p1, Lcom/discord/chipsview/R$e;->ChipsView_cv_chip_layout:I
|
|
|
|
sget v0, Lcom/discord/chipsview/R$d;->view_chip_default:I
|
|
|
|
invoke-virtual {p2, p1, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/discord/chipsview/ChipsView;->vO:I
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/discord/chipsview/ChipsView;Z)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/discord/chipsview/ChipsView;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/chipsview/ChipsView;->d(Lcom/discord/chipsview/a;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/discord/chipsview/ChipsView;)Lcom/discord/chipsview/ChipsView$f;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/chipsview/ChipsView;->vX:Lcom/discord/chipsview/ChipsView$f;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic d(Lcom/discord/chipsview/ChipsView;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/util/Map$Entry;
|
|
|
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/chipsview/a;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {p0, v1}, Lcom/discord/chipsview/ChipsView;->c(Lcom/discord/chipsview/a;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
const-string v0, "ChipsView"
|
|
|
|
const-string v1, "Out of bounds"
|
|
|
|
invoke-static {v0, v1, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method private d(Lcom/discord/chipsview/a;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->values()Ljava/util/Collection;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/discord/chipsview/a;
|
|
|
|
if-eq v1, p1, :cond_0
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/chipsview/a;->setSelected(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-direct {p0, v2}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private dK()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v1, Lcom/discord/chipsview/ChipsView$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/chipsview/ChipsView$1;-><init>(Lcom/discord/chipsview/ChipsView;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
new-instance v1, Lcom/discord/chipsview/ChipsView$d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p0, v2}, Lcom/discord/chipsview/ChipsView$d;-><init>(Lcom/discord/chipsview/ChipsView;B)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/b;->addTextChangedListener(Landroid/text/TextWatcher;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
new-instance v1, Lcom/discord/chipsview/ChipsView$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/chipsview/ChipsView$2;-><init>(Lcom/discord/chipsview/ChipsView;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/b;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private init()V
|
|
.locals 7
|
|
|
|
invoke-virtual {p0}, Lcom/discord/chipsview/ChipsView;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
|
|
|
|
move-result-object v0
|
|
|
|
iget v0, v0, Landroid/util/DisplayMetrics;->density:F
|
|
|
|
iput v0, p0, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
new-instance v0, Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/chipsview/ChipsView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v0, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/chipsview/ChipsView;->addView(Landroid/view/View;)V
|
|
|
|
new-instance v0, Landroid/widget/LinearLayout;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/chipsview/ChipsView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
new-instance v1, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setFocusable(Z)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setFocusableInTouchMode(Z)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V
|
|
|
|
new-instance v0, Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/chipsview/ChipsView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v0, v3, p0}, Lcom/discord/chipsview/b;-><init>(Landroid/content/Context;Lcom/discord/chipsview/b$a;)V
|
|
|
|
iput-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
iget v0, p0, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
const/high16 v3, 0x41c00000 # 24.0f
|
|
|
|
mul-float v0, v0, v3
|
|
|
|
iget v3, p0, Lcom/discord/chipsview/ChipsView;->vD:I
|
|
|
|
int-to-float v3, v3
|
|
|
|
add-float/2addr v0, v3
|
|
|
|
float-to-int v0, v0
|
|
|
|
new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
const/4 v4, -0x1
|
|
|
|
invoke-direct {v3, v4, v0}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
iget v5, p0, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
const/high16 v6, 0x40a00000 # 5.0f
|
|
|
|
mul-float v5, v5, v6
|
|
|
|
float-to-int v5, v5
|
|
|
|
iput v5, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I
|
|
|
|
const/16 v5, 0xc
|
|
|
|
invoke-virtual {v3, v5, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
|
|
|
|
iget-object v5, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v5, v3}, Lcom/discord/chipsview/b;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
iget v5, p0, Lcom/discord/chipsview/ChipsView;->vD:I
|
|
|
|
invoke-virtual {v3, v2, v2, v2, v5}, Lcom/discord/chipsview/b;->setPadding(IIII)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-static {v2, v2, v2, v2}, Landroid/graphics/Color;->argb(IIII)I
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v3, v5}, Lcom/discord/chipsview/b;->setBackgroundColor(I)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
const/high16 v5, 0x10000000
|
|
|
|
invoke-virtual {v3, v5}, Lcom/discord/chipsview/b;->setImeOptions(I)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v3, v1}, Lcom/discord/chipsview/b;->setInputType(I)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
iget v5, p0, Lcom/discord/chipsview/ChipsView;->vM:I
|
|
|
|
invoke-virtual {v3, v5}, Lcom/discord/chipsview/b;->setTextColor(I)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
iget v5, p0, Lcom/discord/chipsview/ChipsView;->vN:F
|
|
|
|
invoke-virtual {v3, v2, v5}, Lcom/discord/chipsview/b;->setTextSize(IF)V
|
|
|
|
iget-object v3, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
iget-object v5, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V
|
|
|
|
new-instance v3, Lcom/discord/chipsview/c;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/chipsview/ChipsView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-direct {v3, v5, v0}, Lcom/discord/chipsview/c;-><init>(Landroid/content/Context;I)V
|
|
|
|
iput-object v3, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/c;->setOrientation(I)V
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
new-instance v1, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
const/4 v3, -0x2
|
|
|
|
invoke-direct {v1, v4, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/c;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
iget v1, p0, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
const/high16 v3, 0x40800000 # 4.0f
|
|
|
|
mul-float v1, v1, v3
|
|
|
|
float-to-int v1, v1
|
|
|
|
invoke-virtual {v0, v2, v1, v2, v2}, Lcom/discord/chipsview/c;->setPadding(IIII)V
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vQ:Landroid/widget/RelativeLayout;
|
|
|
|
iget-object v1, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/chipsview/ChipsView;->dK()V
|
|
|
|
invoke-direct {p0, v2}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private q(Z)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vS:Lcom/discord/chipsview/c;
|
|
|
|
iget-object v1, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v1}, Ljava/util/LinkedHashMap;->values()Ljava/util/Collection;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/c;->b(Ljava/util/Collection;)Lcom/discord/chipsview/c$a;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/chipsview/ChipsView$4;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/chipsview/ChipsView$4;-><init>(Lcom/discord/chipsview/ChipsView;Z)V
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/chipsview/ChipsView;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget v0, v0, Lcom/discord/chipsview/c$a;->vB:I
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/chipsview/ChipsView;->w(I)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/chipsview/b;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/chipsview/b;->setSelection(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private w(I)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/chipsview/b;->getText()Landroid/text/Editable;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
invoke-interface {v0, v1}, Landroid/text/Spannable;->removeSpan(Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
new-instance v1, Landroid/text/style/LeadingMarginSpan$Standard;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p1, v2}, Landroid/text/style/LeadingMarginSpan$Standard;-><init>(II)V
|
|
|
|
iput-object v1, p0, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
iget-object p1, p0, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
const/16 v1, 0x11
|
|
|
|
invoke-interface {v0, p1, v2, v2, v1}, Landroid/text/Spannable;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
iget-object p1, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/chipsview/b;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Landroid/view/inputmethod/InputConnection;)Landroid/view/inputmethod/InputConnection;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/chipsview/ChipsView$e;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/discord/chipsview/ChipsView$e;-><init>(Lcom/discord/chipsview/ChipsView;Landroid/view/inputmethod/InputConnection;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;Landroid/net/Uri;Ljava/lang/Object;Lcom/discord/chipsview/ChipsView$c;)V
|
|
.locals 23
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Landroid/net/Uri;",
|
|
"TK;TV;)V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v8, p0
|
|
|
|
move-object/from16 v9, p3
|
|
|
|
iget-object v0, v8, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0, v9}, Ljava/util/LinkedHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance v10, Lcom/discord/chipsview/a;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
new-instance v6, Lcom/discord/chipsview/a$a;
|
|
|
|
iget v12, v8, Lcom/discord/chipsview/ChipsView;->vH:I
|
|
|
|
iget v13, v8, Lcom/discord/chipsview/ChipsView;->vP:F
|
|
|
|
iget v14, v8, Lcom/discord/chipsview/ChipsView;->vC:I
|
|
|
|
iget v15, v8, Lcom/discord/chipsview/ChipsView;->vG:I
|
|
|
|
iget v0, v8, Lcom/discord/chipsview/ChipsView;->vI:I
|
|
|
|
iget v1, v8, Lcom/discord/chipsview/ChipsView;->vK:I
|
|
|
|
iget v2, v8, Lcom/discord/chipsview/ChipsView;->vL:I
|
|
|
|
iget v3, v8, Lcom/discord/chipsview/ChipsView;->vJ:I
|
|
|
|
iget v4, v8, Lcom/discord/chipsview/ChipsView;->vF:I
|
|
|
|
iget v7, v8, Lcom/discord/chipsview/ChipsView;->vE:I
|
|
|
|
iget v11, v8, Lcom/discord/chipsview/ChipsView;->vO:I
|
|
|
|
move/from16 v22, v11
|
|
|
|
move-object v11, v6
|
|
|
|
move/from16 v16, v0
|
|
|
|
move/from16 v17, v1
|
|
|
|
move/from16 v18, v2
|
|
|
|
move/from16 v19, v3
|
|
|
|
move/from16 v20, v4
|
|
|
|
move/from16 v21, v7
|
|
|
|
invoke-direct/range {v11 .. v22}, Lcom/discord/chipsview/a$a;-><init>(IFIIIIIIIII)V
|
|
|
|
move-object v0, v10
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
move-object/from16 v4, p4
|
|
|
|
move-object/from16 v7, p0
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/chipsview/a;-><init>(Ljava/lang/String;Landroid/net/Uri;Ljava/lang/Object;Lcom/discord/chipsview/ChipsView$c;ZLcom/discord/chipsview/a$a;Lcom/discord/chipsview/ChipsView;)V
|
|
|
|
iget-object v0, v8, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0, v9, v10}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {v8, v0}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
new-instance v0, Lcom/discord/chipsview/ChipsView$3;
|
|
|
|
invoke-direct {v0, v8}, Lcom/discord/chipsview/ChipsView$3;-><init>(Lcom/discord/chipsview/ChipsView;)V
|
|
|
|
invoke-virtual {v8, v0}, Lcom/discord/chipsview/ChipsView;->post(Ljava/lang/Runnable;)Z
|
|
|
|
iget-object v0, v8, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/chipsview/b;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
iget-object v0, v8, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/chipsview/b;->getText()Landroid/text/Editable;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, v8, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-object v1, v8, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
invoke-interface {v0, v1}, Landroid/text/Spannable;->removeSpan(Ljava/lang/Object;)V
|
|
|
|
:cond_1
|
|
iget-object v1, v8, Lcom/discord/chipsview/ChipsView;->vU:Ljava/lang/Object;
|
|
|
|
const/16 v2, 0x11
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-interface {v0, v1, v3, v3, v2}, Landroid/text/Spannable;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
iget-object v1, v8, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/discord/chipsview/b;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c(Lcom/discord/chipsview/a;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/chipsview/a<",
|
|
"TK;TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/chipsview/ChipsView;->d(Lcom/discord/chipsview/a;)V
|
|
|
|
iget-boolean v0, p1, Lcom/discord/chipsview/a;->nh:Z
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
iget-object v2, p1, Lcom/discord/chipsview/a;->key:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/LinkedHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vW:Lcom/discord/chipsview/ChipsView$b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vW:Lcom/discord/chipsview/ChipsView$b;
|
|
|
|
iget-object p1, p1, Lcom/discord/chipsview/a;->vh:Lcom/discord/chipsview/ChipsView$c;
|
|
|
|
invoke-interface {v0, p1}, Lcom/discord/chipsview/ChipsView$b;->onChipDeleted(Lcom/discord/chipsview/ChipsView$c;)V
|
|
|
|
:cond_0
|
|
invoke-direct {p0, v1}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
invoke-virtual {p1, v1}, Lcom/discord/chipsview/a;->setSelected(Z)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c(Ljava/util/Collection;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Collection<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vT:Ljava/util/LinkedHashMap;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/util/Map$Entry;
|
|
|
|
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->remove()V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-direct {p0, v3}, Lcom/discord/chipsview/ChipsView;->q(Z)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public getText()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/chipsview/b;->getText()Landroid/text/Editable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected onMeasure(II)V
|
|
.locals 1
|
|
|
|
iget p2, p0, Lcom/discord/chipsview/ChipsView;->mMaxHeight:I
|
|
|
|
const/high16 v0, -0x80000000
|
|
|
|
invoke-static {p2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p2
|
|
|
|
invoke-super {p0, p1, p2}, Landroid/widget/ScrollView;->onMeasure(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onRequestFocusInDescendants(ILandroid/graphics/Rect;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public setChipAddedListener(Lcom/discord/chipsview/ChipsView$a;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/chipsview/ChipsView$a<",
|
|
"TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/discord/chipsview/ChipsView;->vV:Lcom/discord/chipsview/ChipsView$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setChipDeletedListener(Lcom/discord/chipsview/ChipsView$b;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/chipsview/ChipsView$b<",
|
|
"TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/discord/chipsview/ChipsView;->vW:Lcom/discord/chipsview/ChipsView$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setText(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/chipsview/ChipsView;->vR:Lcom/discord/chipsview/b;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/chipsview/b;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextChangedListener(Lcom/discord/chipsview/ChipsView$f;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/chipsview/ChipsView$f<",
|
|
"TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/discord/chipsview/ChipsView;->vX:Lcom/discord/chipsview/ChipsView$f;
|
|
|
|
return-void
|
|
.end method
|