.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 ()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;->()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;->()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;->()V sput-object v1, Landroid/support/v4/widget/CompoundButtonCompat;->IMPL:Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatImpl; goto :goto_0 .end method .method private constructor ()V .locals 0 .prologue .line 113 invoke-direct {p0}, Ljava/lang/Object;->()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