apkfuckery/com.discord/smali/androidx/appcompat/widget/SwitchCompat$1.smali
2020-09-16 23:45:23 +00:00

83 lines
2.1 KiB
Smali

.class public Landroidx/appcompat/widget/SwitchCompat$1;
.super Landroid/util/Property;
.source "SwitchCompat.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/SwitchCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/Property<",
"Landroidx/appcompat/widget/SwitchCompat;",
"Ljava/lang/Float;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Class;Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroid/util/Property;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public get(Landroidx/appcompat/widget/SwitchCompat;)Ljava/lang/Float;
.locals 0
iget p1, p1, Landroidx/appcompat/widget/SwitchCompat;->mThumbPosition:F
invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Landroidx/appcompat/widget/SwitchCompat;
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/SwitchCompat$1;->get(Landroidx/appcompat/widget/SwitchCompat;)Ljava/lang/Float;
move-result-object p1
return-object p1
.end method
.method public set(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/Float;)V
.locals 0
invoke-virtual {p2}, Ljava/lang/Float;->floatValue()F
move-result p2
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/SwitchCompat;->setThumbPosition(F)V
return-void
.end method
.method public bridge synthetic set(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
check-cast p1, Landroidx/appcompat/widget/SwitchCompat;
check-cast p2, Ljava/lang/Float;
invoke-virtual {p0, p1, p2}, Landroidx/appcompat/widget/SwitchCompat$1;->set(Landroidx/appcompat/widget/SwitchCompat;Ljava/lang/Float;)V
return-void
.end method