.class public Landroidx/appcompat/widget/AppCompatButton; .super Landroid/widget/Button; .source "SourceFile" # interfaces .implements Landroidx/core/view/TintableBackgroundView; .implements Landroidx/core/widget/AutoSizeableTextView; .implements Landroidx/core/widget/TintableCompoundDrawablesView; .implements Landroidx/appcompat/widget/EmojiCompatConfigurationView; # instance fields .field private mAppCompatEmojiTextHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper; .annotation build Landroidx/annotation/NonNull; .end annotation .end field .field private final mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; .field private final mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; # direct methods .method public constructor (Landroid/content/Context;)V .locals 1 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param const/4 v0, 0x0 .line 72 invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/AppCompatButton;->(Landroid/content/Context;Landroid/util/AttributeSet;)V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;)V .locals 1 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/util/AttributeSet; .annotation build Landroidx/annotation/Nullable; .end annotation .end param sget v0, Landroidx/appcompat/R$attr;->buttonStyle:I .line 76 invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/AppCompatButton;->(Landroid/content/Context;Landroid/util/AttributeSet;I)V return-void .end method .method public constructor (Landroid/content/Context;Landroid/util/AttributeSet;I)V .locals 0 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/util/AttributeSet; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 81 invoke-static {p1}, Landroidx/appcompat/widget/TintContextWrapper;->wrap(Landroid/content/Context;)Landroid/content/Context; move-result-object p1 invoke-direct {p0, p1, p2, p3}, Landroid/widget/Button;->(Landroid/content/Context;Landroid/util/AttributeSet;I)V .line 83 invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context; move-result-object p1 invoke-static {p0, p1}, Landroidx/appcompat/widget/ThemeUtils;->checkAppCompatTheme(Landroid/view/View;Landroid/content/Context;)V .line 85 new-instance p1, Landroidx/appcompat/widget/AppCompatBackgroundHelper; invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->(Landroid/view/View;)V iput-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; .line 86 invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V .line 88 new-instance p1, Landroidx/appcompat/widget/AppCompatTextHelper; invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatTextHelper;->(Landroid/widget/TextView;)V iput-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 89 invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatTextHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V .line 90 invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V .line 92 invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatButton;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; move-result-object p1 .line 93 invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V return-void .end method .method private getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mAppCompatEmojiTextHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper; if-nez v0, :cond_0 .line 441 new-instance v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper; invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->(Landroid/widget/TextView;)V iput-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mAppCompatEmojiTextHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper; :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mAppCompatEmojiTextHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper; return-object v0 .end method # virtual methods .method public drawableStateChanged()V .locals 1 .line 166 invoke-super {p0}, Landroid/view/View;->drawableStateChanged()V iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 168 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->applySupportBackgroundTint()V :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 171 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V :cond_1 return-void .end method .method public getAutoSizeMaxTextSize()I .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 329 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 330 invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMaxTextSize()I move-result v0 return v0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 333 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeMaxTextSize()I move-result v0 return v0 :cond_1 const/4 v0, -0x1 return v0 .end method .method public getAutoSizeMinTextSize()I .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 314 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 315 invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMinTextSize()I move-result v0 return v0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 318 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeMinTextSize()I move-result v0 return v0 :cond_1 const/4 v0, -0x1 return v0 .end method .method public getAutoSizeStepGranularity()I .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 299 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 300 invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeStepGranularity()I move-result v0 return v0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 303 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeStepGranularity()I move-result v0 return v0 :cond_1 const/4 v0, -0x1 return v0 .end method .method public getAutoSizeTextAvailableSizes()[I .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 344 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 345 invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextAvailableSizes()[I move-result-object v0 return-object v0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 348 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeTextAvailableSizes()[I move-result-object v0 return-object v0 :cond_1 const/4 v0, 0x0 new-array v0, v0, [I return-object v0 .end method .method public getAutoSizeTextType()I .locals 3 .annotation build Landroid/annotation/SuppressLint; value = { "WrongConstant" } .end annotation .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 282 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z const/4 v1, 0x0 if-eqz v0, :cond_1 .line 283 invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextType()I move-result v0 const/4 v2, 0x1 if-ne v0, v2, :cond_0 move v1, v2 :cond_0 return v1 :cond_1 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_2 .line 288 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeTextType()I move-result v0 return v0 :cond_2 return v1 .end method .method public getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation .line 384 invoke-super {p0}, Landroid/widget/TextView;->getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback; move-result-object v0 .line 383 invoke-static {v0}, Landroidx/core/widget/TextViewCompat;->unwrapCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode$Callback; move-result-object v0 return-object v0 .end method .method public getSupportBackgroundTintList()Landroid/content/res/ColorStateList; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 135 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->getSupportBackgroundTintList()Landroid/content/res/ColorStateList; move-result-object v0 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 .end method .method public getSupportBackgroundTintMode()Landroid/graphics/PorterDuff$Mode; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 161 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->getSupportBackgroundTintMode()Landroid/graphics/PorterDuff$Mode; move-result-object v0 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 .end method .method public getSupportCompoundDrawablesTintList()Landroid/content/res/ColorStateList; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 404 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getCompoundDrawableTintList()Landroid/content/res/ColorStateList; move-result-object v0 return-object v0 .end method .method public getSupportCompoundDrawablesTintMode()Landroid/graphics/PorterDuff$Mode; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 424 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getCompoundDrawableTintMode()Landroid/graphics/PorterDuff$Mode; move-result-object v0 return-object v0 .end method .method public isEmojiCompatEnabled()Z .locals 1 .line 460 invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatButton;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; move-result-object v0 invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->isEnabled()Z move-result v0 return v0 .end method .method public onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V .locals 1 .line 185 invoke-super {p0, p1}, Landroid/view/View;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V const-class v0, Landroid/widget/Button; .line 186 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityRecord;->setClassName(Ljava/lang/CharSequence;)V return-void .end method .method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V .locals 1 .line 191 invoke-super {p0, p1}, Landroid/view/View;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V const-class v0, Landroid/widget/Button; .line 192 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V return-void .end method .method public onLayout(ZIIII)V .locals 6 .line 197 invoke-super/range {p0 .. p5}, Landroid/view/View;->onLayout(ZIIII)V iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_0 move v1, p1 move v2, p2 move v3, p3 move v4, p4 move v5, p5 .line 199 invoke-virtual/range {v0 .. v5}, Landroidx/appcompat/widget/AppCompatTextHelper;->onLayout(ZIIII)V :cond_0 return-void .end method .method public onTextChanged(Ljava/lang/CharSequence;III)V .locals 0 .line 216 invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->onTextChanged(Ljava/lang/CharSequence;III)V iget-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz p1, :cond_0 .line 217 sget-boolean p2, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-nez p2, :cond_0 .line 218 invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->isAutoSizeEnabled()Z move-result p1 if-eqz p1, :cond_0 iget-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 220 invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->autoSizeText()V :cond_0 return-void .end method .method public setAllCaps(Z)V .locals 1 .line 448 invoke-super {p0, p1}, Landroid/widget/TextView;->setAllCaps(Z)V .line 449 invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatButton;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; move-result-object v0 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->setAllCaps(Z)V return-void .end method .method public setAutoSizeTextTypeUniformWithConfiguration(IIII)V .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/IllegalArgumentException; } .end annotation .line 248 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 249 invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithConfiguration(IIII)V goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 253 invoke-virtual {v0, p1, p2, p3, p4}, Landroidx/appcompat/widget/AppCompatTextHelper;->setAutoSizeTextTypeUniformWithConfiguration(IIII)V :cond_1 :goto_0 return-void .end method .method public setAutoSizeTextTypeUniformWithPresetSizes([II)V .locals 1 .param p1 # [I .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/IllegalArgumentException; } .end annotation .line 265 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 266 invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithPresetSizes([II)V goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 269 invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextHelper;->setAutoSizeTextTypeUniformWithPresetSizes([II)V :cond_1 :goto_0 return-void .end method .method public setAutoSizeTextTypeWithDefaults(I)V .locals 1 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation .line 230 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 231 invoke-super {p0, p1}, Landroid/widget/TextView;->setAutoSizeTextTypeWithDefaults(I)V goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 234 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setAutoSizeTextTypeWithDefaults(I)V :cond_1 :goto_0 return-void .end method .method public setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V .locals 1 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 106 invoke-super {p0, p1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 108 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->onSetBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V :cond_0 return-void .end method .method public setBackgroundResource(I)V .locals 1 .param p1 # I .annotation build Landroidx/annotation/DrawableRes; .end annotation .end param .line 98 invoke-super {p0, p1}, Landroid/view/View;->setBackgroundResource(I)V iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 100 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->onSetBackgroundResource(I)V :cond_0 return-void .end method .method public setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V .locals 0 .param p1 # Landroid/view/ActionMode$Callback; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 377 invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->wrapCustomSelectionActionModeCallback(Landroid/widget/TextView;Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode$Callback; move-result-object p1 .line 376 invoke-super {p0, p1}, Landroid/widget/TextView;->setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V return-void .end method .method public setEmojiCompatEnabled(Z)V .locals 1 .line 455 invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatButton;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; move-result-object v0 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->setEnabled(Z)V return-void .end method .method public setFilters([Landroid/text/InputFilter;)V .locals 1 .param p1 # [Landroid/text/InputFilter; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 430 invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatButton;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper; move-result-object v0 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->getFilters([Landroid/text/InputFilter;)[Landroid/text/InputFilter; move-result-object p1 invoke-super {p0, p1}, Landroid/widget/TextView;->setFilters([Landroid/text/InputFilter;)V return-void .end method .method public setSupportAllCaps(Z)V .locals 1 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_0 .line 365 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setAllCaps(Z)V :cond_0 return-void .end method .method public setSupportBackgroundTintList(Landroid/content/res/ColorStateList;)V .locals 1 .param p1 # Landroid/content/res/ColorStateList; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 121 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->setSupportBackgroundTintList(Landroid/content/res/ColorStateList;)V :cond_0 return-void .end method .method public setSupportBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V .locals 1 .param p1 # Landroid/graphics/PorterDuff$Mode; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper; if-eqz v0, :cond_0 .line 147 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->setSupportBackgroundTintMode(Landroid/graphics/PorterDuff$Mode;)V :cond_0 return-void .end method .method public setSupportCompoundDrawablesTintList(Landroid/content/res/ColorStateList;)V .locals 1 .param p1 # Landroid/content/res/ColorStateList; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 393 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setCompoundDrawableTintList(Landroid/content/res/ColorStateList;)V iget-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 394 invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V return-void .end method .method public setSupportCompoundDrawablesTintMode(Landroid/graphics/PorterDuff$Mode;)V .locals 1 .param p1 # Landroid/graphics/PorterDuff$Mode; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 413 invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setCompoundDrawableTintMode(Landroid/graphics/PorterDuff$Mode;)V iget-object p1, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; .line 414 invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V return-void .end method .method public setTextAppearance(Landroid/content/Context;I)V .locals 1 .line 177 invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextAppearance(Landroid/content/Context;I)V iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_0 .line 179 invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetTextAppearance(Landroid/content/Context;I)V :cond_0 return-void .end method .method public setTextSize(IF)V .locals 1 .line 205 sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z if-eqz v0, :cond_0 .line 206 invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextSize(IF)V goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/appcompat/widget/AppCompatButton;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper; if-eqz v0, :cond_1 .line 209 invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextHelper;->setTextSize(IF)V :cond_1 :goto_0 return-void .end method