110 lines
2.3 KiB
Smali
110 lines
2.3 KiB
Smali
.class public final Lcom/vk/common/widget/DynamicTheme$a;
|
|
.super Landroid/util/Property;
|
|
.source "DynamicTheme.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/common/widget/DynamicTheme;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/util/Property<",
|
|
"Landroid/view/View;",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/lang/Class;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2}, Landroid/util/Property;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/view/View;)Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3
|
|
instance-of v0, p1, Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
check-cast p1, Landroid/graphics/drawable/ColorDrawable;
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/ColorDrawable;->getColor()I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 5
|
|
:goto_0
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/vk/common/widget/DynamicTheme$a;->a(Landroid/view/View;)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic set(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
check-cast p2, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/vk/common/widget/DynamicTheme$a;->a(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|