123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- .class public final Landroid/support/v4/widget/CompoundButtonCompat;
- .super Ljava/lang/Object;
- .source "CompoundButtonCompat.java"
- # annotations
- .annotation system Ldalvik/annotation/MemberClasses;
- value = {
- Landroid/support/v4/widget/CompoundButtonCompat$Api23CompoundButtonImpl;,
- Landroid/support/v4/widget/CompoundButtonCompat$LollipopCompoundButtonImpl;,
- Landroid/support/v4/widget/CompoundButtonCompat$BaseCompoundButtonCompat;,
- Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- }
- .end annotation
- # static fields
- .field private static final IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- # direct methods
- .method static constructor <clinit>()V
- .locals 2
- .prologue
- .line 39
- sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
- .line 40
- .local v0, "sdk":I
- const/16 v1, 0x17
- if-lt v0, v1, :cond_0
- .line 41
- new-instance v1, Landroid/support/v4/widget/CompoundButtonCompat$Api23CompoundButtonImpl;
- invoke-direct {v1}, Landroid/support/v4/widget/CompoundButtonCompat$Api23CompoundButtonImpl;-><init>()V
- sput-object v1, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- .line 47
- :goto_0
- return-void
- .line 42
- :cond_0
- const/16 v1, 0x15
- if-lt v0, v1, :cond_1
- .line 43
- new-instance v1, Landroid/support/v4/widget/CompoundButtonCompat$LollipopCompoundButtonImpl;
- invoke-direct {v1}, Landroid/support/v4/widget/CompoundButtonCompat$LollipopCompoundButtonImpl;-><init>()V
- sput-object v1, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- goto :goto_0
- .line 45
- :cond_1
- new-instance v1, Landroid/support/v4/widget/CompoundButtonCompat$BaseCompoundButtonCompat;
- invoke-direct {v1}, Landroid/support/v4/widget/CompoundButtonCompat$BaseCompoundButtonCompat;-><init>()V
- sput-object v1, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- goto :goto_0
- .end method
- .method private constructor <init>()V
- .locals 0
- .prologue
- .line 113
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- return-void
- .end method
- .method public static getButtonDrawable(Landroid/widget/CompoundButton;)Landroid/graphics/drawable/Drawable;
- .locals 1
- .param p0, "button" # Landroid/widget/CompoundButton;
- .annotation build Landroid/support/annotation/NonNull;
- .end annotation
- .end param
- .annotation build Landroid/support/annotation/Nullable;
- .end annotation
- .prologue
- .line 174
- sget-object v0, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- invoke-interface {v0, p0}, Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;->getButtonDrawable(Landroid/widget/CompoundButton;)Landroid/graphics/drawable/Drawable;
- move-result-object v0
- return-object v0
- .end method
- .method public static getButtonTintList(Landroid/widget/CompoundButton;)Landroid/content/res/ColorStateList;
- .locals 1
- .param p0, "button" # Landroid/widget/CompoundButton;
- .annotation build Landroid/support/annotation/NonNull;
- .end annotation
- .end param
- .annotation build Landroid/support/annotation/Nullable;
- .end annotation
- .prologue
- .line 138
- sget-object v0, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- invoke-interface {v0, p0}, Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;->getButtonTintList(Landroid/widget/CompoundButton;)Landroid/content/res/ColorStateList;
- move-result-object v0
- return-object v0
- .end method
- .method public static getButtonTintMode(Landroid/widget/CompoundButton;)Landroid/graphics/PorterDuff$Mode;
- .locals 1
- .param p0, "button" # Landroid/widget/CompoundButton;
- .annotation build Landroid/support/annotation/NonNull;
- .end annotation
- .end param
- .annotation build Landroid/support/annotation/Nullable;
- .end annotation
- .prologue
- .line 164
- sget-object v0, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- invoke-interface {v0, p0}, Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;->getButtonTintMode(Landroid/widget/CompoundButton;)Landroid/graphics/PorterDuff$Mode;
- move-result-object v0
- return-object v0
- .end method
- .method public static setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
- .locals 1
- .param p0, "button" # Landroid/widget/CompoundButton;
- .annotation build Landroid/support/annotation/NonNull;
- .end annotation
- .end param
- .param p1, "tint" # Landroid/content/res/ColorStateList;
- .annotation build Landroid/support/annotation/Nullable;
- .end annotation
- .end param
- .prologue
- .line 128
- sget-object v0, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- invoke-interface {v0, p0, p1}, Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;->setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
- .line 129
- return-void
- .end method
- .method public static setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
- .locals 1
- .param p0, "button" # Landroid/widget/CompoundButton;
- .annotation build Landroid/support/annotation/NonNull;
- .end annotation
- .end param
- .param p1, "tintMode" # Landroid/graphics/PorterDuff$Mode;
- .annotation build Landroid/support/annotation/Nullable;
- .end annotation
- .end param
- .prologue
- .line 154
- sget-object v0, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;
- invoke-interface {v0, p0, p1}, Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl;->setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
- .line 155
- return-void
- .end method
|