1587 lines
46 KiB
Smali
1587 lines
46 KiB
Smali
.class public Landroidx/appcompat/widget/AppCompatTextView;
|
|
.super Landroid/widget/TextView;
|
|
.source "AppCompatTextView.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/view/TintableBackgroundView;
|
|
.implements Landroidx/core/widget/TintableCompoundDrawablesView;
|
|
.implements Landroidx/core/widget/AutoSizeableTextView;
|
|
.implements Landroidx/appcompat/widget/EmojiCompatConfigurationView;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi28;,
|
|
Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi26;,
|
|
Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.field private mEmojiTextViewHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.field private mIsSetTypefaceProcessing:Z
|
|
|
|
.field private mPrecomputedTextFuture:Ljava/util/concurrent/Future;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Future<",
|
|
"Landroidx/core/text/PrecomputedTextCompat;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
.field private final mTextClassifierHelper:Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
|
|
|
.field private final mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 104
|
|
invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
const v0, 0x1010084
|
|
|
|
.line 108
|
|
invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/AppCompatTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 113
|
|
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/TextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 95
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mIsSetTypefaceProcessing:Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 97
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
.line 115
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->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 117
|
|
new-instance p1, Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;-><init>(Landroid/view/View;)V
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
.line 118
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V
|
|
|
|
.line 120
|
|
new-instance p1, Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatTextHelper;-><init>(Landroid/widget/TextView;)V
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
.line 121
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatTextHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V
|
|
|
|
.line 122
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V
|
|
|
|
.line 124
|
|
new-instance p1, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;-><init>(Landroid/widget/TextView;)V
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextClassifierHelper:Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
|
|
|
.line 126
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
move-result-object p1
|
|
|
|
.line 127
|
|
invoke-virtual {p1, p2, p3}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$001(Landroidx/appcompat/widget/AppCompatTextView;)I
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMaxTextSize()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$1001(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setFirstBaselineToTopHeight(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$101(Landroidx/appcompat/widget/AppCompatTextView;)I
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeMinTextSize()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$1101(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setLastBaselineToBottomHeight(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$201(Landroidx/appcompat/widget/AppCompatTextView;)I
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeStepGranularity()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$301(Landroidx/appcompat/widget/AppCompatTextView;)[I
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextAvailableSizes()[I
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic access$401(Landroidx/appcompat/widget/AppCompatTextView;)I
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getAutoSizeTextType()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$501(Landroidx/appcompat/widget/AppCompatTextView;)Landroid/view/textclassifier/TextClassifier;
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0}, Landroid/widget/TextView;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic access$601(Landroidx/appcompat/widget/AppCompatTextView;IIII)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithConfiguration(IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$701(Landroidx/appcompat/widget/AppCompatTextView;[II)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setAutoSizeTextTypeUniformWithPresetSizes([II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$801(Landroidx/appcompat/widget/AppCompatTextView;I)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setAutoSizeTextTypeWithDefaults(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$901(Landroidx/appcompat/widget/AppCompatTextView;Landroid/view/textclassifier/TextClassifier;)V
|
|
.locals 0
|
|
|
|
.line 85
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private consumeTextFutureAndSetBlocking()V
|
|
.locals 2
|
|
|
|
.line 546
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mPrecomputedTextFuture:Ljava/util/concurrent/Future;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 549
|
|
:try_start_0
|
|
iput-object v1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mPrecomputedTextFuture:Ljava/util/concurrent/Future;
|
|
|
|
.line 550
|
|
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/core/text/PrecomputedTextCompat;
|
|
|
|
invoke-static {p0, v0}, Landroidx/core/widget/TextViewCompat;->setPrecomputedText(Landroid/widget/TextView;Landroidx/core/text/PrecomputedTextCompat;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private getEmojiTextViewHelper()Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
.locals 1
|
|
|
|
.line 136
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mEmojiTextViewHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 137
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatEmojiTextHelper;-><init>(Landroid/widget/TextView;)V
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mEmojiTextViewHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
.line 139
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mEmojiTextViewHelper:Landroidx/appcompat/widget/AppCompatEmojiTextHelper;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected drawableStateChanged()V
|
|
.locals 1
|
|
|
|
.line 245
|
|
invoke-super {p0}, Landroid/widget/TextView;->drawableStateChanged()V
|
|
|
|
.line 246
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 247
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->applySupportBackgroundTint()V
|
|
|
|
.line 249
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 250
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public getAutoSizeMaxTextSize()I
|
|
.locals 1
|
|
|
|
.line 420
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 421
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getAutoSizeMaxTextSize()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
.line 423
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 424
|
|
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
|
|
|
|
.line 401
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 402
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getAutoSizeMinTextSize()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
.line 404
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 405
|
|
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
|
|
|
|
.line 382
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 383
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getAutoSizeStepGranularity()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
.line 385
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 386
|
|
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
|
|
|
|
.line 439
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 440
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getAutoSizeTextAvailableSizes()[I
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 442
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 443
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getAutoSizeTextAvailableSizes()[I
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 446
|
|
new-array v0, v0, [I
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getAutoSizeTextType()I
|
|
.locals 3
|
|
|
|
.line 360
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 361
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getAutoSizeTextType()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
move v1, v2
|
|
|
|
:cond_0
|
|
return v1
|
|
|
|
.line 366
|
|
:cond_1
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 367
|
|
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
|
|
|
|
.line 506
|
|
invoke-super {p0}, Landroid/widget/TextView;->getCustomSelectionActionModeCallback()Landroid/view/ActionMode$Callback;
|
|
|
|
move-result-object v0
|
|
|
|
.line 505
|
|
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 getFirstBaselineToTopHeight()I
|
|
.locals 1
|
|
|
|
.line 478
|
|
invoke-static {p0}, Landroidx/core/widget/TextViewCompat;->getFirstBaselineToTopHeight(Landroid/widget/TextView;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLastBaselineToBottomHeight()I
|
|
.locals 1
|
|
|
|
.line 483
|
|
invoke-static {p0}, Landroidx/core/widget/TextViewCompat;->getLastBaselineToBottomHeight(Landroid/widget/TextView;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
.locals 2
|
|
|
|
.line 791
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 792
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 793
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi28;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi28;-><init>(Landroidx/appcompat/widget/AppCompatTextView;)V
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
goto :goto_0
|
|
|
|
.line 794
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 795
|
|
new-instance v0, Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi26;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCallerApi26;-><init>(Landroidx/appcompat/widget/AppCompatTextView;)V
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
.line 798
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mSuperCaller:Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getSupportBackgroundTintList()Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
|
|
.line 182
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 183
|
|
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
|
|
|
|
.line 210
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 211
|
|
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
|
|
|
|
.line 698
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
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
|
|
|
|
.line 741
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextHelper;->getCompoundDrawableTintMode()Landroid/graphics/PorterDuff$Mode;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getText()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 559
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->consumeTextFutureAndSetBlocking()V
|
|
|
|
.line 560
|
|
invoke-super {p0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
|
.locals 2
|
|
|
|
.line 587
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextClassifierHelper:Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 590
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 588
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTextMetricsParamsCompat()Landroidx/core/text/PrecomputedTextCompat$Params;
|
|
.locals 1
|
|
|
|
.line 518
|
|
invoke-static {p0}, Landroidx/core/widget/TextViewCompat;->getTextMetricsParams(Landroid/widget/TextView;)Landroidx/core/text/PrecomputedTextCompat$Params;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isEmojiCompatEnabled()Z
|
|
.locals 1
|
|
|
|
.line 240
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->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 onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
|
|
.locals 2
|
|
|
|
.line 451
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->onCreateInputConnection(Landroid/view/inputmethod/EditorInfo;)Landroid/view/inputmethod/InputConnection;
|
|
|
|
move-result-object v0
|
|
|
|
.line 452
|
|
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {v1, p0, v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->populateSurroundingTextIfNeeded(Landroid/widget/TextView;Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V
|
|
|
|
.line 453
|
|
invoke-static {v0, p1, p0}, Landroidx/appcompat/widget/AppCompatHintHelper;->onCreateInputConnection(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;Landroid/view/View;)Landroid/view/inputmethod/InputConnection;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method protected onLayout(ZIIII)V
|
|
.locals 6
|
|
|
|
.line 256
|
|
invoke-super/range {p0 .. p5}, Landroid/widget/TextView;->onLayout(ZIIII)V
|
|
|
|
.line 257
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->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 258
|
|
invoke-virtual/range {v0 .. v5}, Landroidx/appcompat/widget/AppCompatTextHelper;->onLayout(ZIIII)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onMeasure(II)V
|
|
.locals 0
|
|
|
|
.line 614
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->consumeTextFutureAndSetBlocking()V
|
|
|
|
.line 615
|
|
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->onMeasure(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onTextChanged(Ljava/lang/CharSequence;III)V
|
|
.locals 0
|
|
|
|
.line 275
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->onTextChanged(Ljava/lang/CharSequence;III)V
|
|
|
|
.line 276
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
sget-boolean p1, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
.line 277
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->isAutoSizeEnabled()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 279
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->autoSizeText()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAllCaps(Z)V
|
|
.locals 1
|
|
|
|
.line 229
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setAllCaps(Z)V
|
|
|
|
.line 230
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->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 system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalArgumentException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 317
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 318
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1, p2, p3, p4}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setAutoSizeTextTypeUniformWithConfiguration(IIII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 321
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 322
|
|
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
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalArgumentException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 339
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 340
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setAutoSizeTextTypeUniformWithPresetSizes([II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 342
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 343
|
|
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
|
|
|
|
.line 294
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 295
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setAutoSizeTextTypeWithDefaults(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 297
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 298
|
|
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
|
|
|
|
.line 152
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 153
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 154
|
|
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
|
|
|
|
.line 144
|
|
invoke-super {p0, p1}, Landroid/widget/TextView;->setBackgroundResource(I)V
|
|
|
|
.line 145
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 146
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->onSetBackgroundResource(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
.line 621
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 622
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 623
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
.line 631
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setCompoundDrawablesRelative(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 632
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 633
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawablesRelativeWithIntrinsicBounds(IIII)V
|
|
.locals 2
|
|
|
|
.line 673
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 675
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p1, v1
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 676
|
|
invoke-static {v0, p2}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object p2, v1
|
|
|
|
:goto_1
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 677
|
|
invoke-static {v0, p3}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object p3, v1
|
|
|
|
:goto_2
|
|
if-eqz p4, :cond_3
|
|
|
|
.line 678
|
|
invoke-static {v0, p4}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v1
|
|
|
|
.line 674
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2, p3, v1}, Landroidx/appcompat/widget/AppCompatTextView;->setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 679
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 680
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
.line 663
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 664
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 665
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawablesWithIntrinsicBounds(IIII)V
|
|
.locals 2
|
|
|
|
.line 648
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 650
|
|
invoke-static {v0, p1}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p1, v1
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 651
|
|
invoke-static {v0, p2}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object p2, v1
|
|
|
|
:goto_1
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 652
|
|
invoke-static {v0, p3}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object p3, v1
|
|
|
|
:goto_2
|
|
if-eqz p4, :cond_3
|
|
|
|
.line 653
|
|
invoke-static {v0, p4}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v1
|
|
|
|
.line 649
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2, p3, v1}, Landroidx/appcompat/widget/AppCompatTextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 654
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 655
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
.locals 0
|
|
|
|
.line 640
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 641
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 642
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCustomSelectionActionModeCallback(Landroid/view/ActionMode$Callback;)V
|
|
.locals 0
|
|
|
|
.line 499
|
|
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 498
|
|
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 235
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->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
|
|
|
|
.line 224
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/AppCompatTextView;->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 setFirstBaselineToTopHeight(I)V
|
|
.locals 2
|
|
|
|
.line 458
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 459
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setFirstBaselineToTopHeight(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 461
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->setFirstBaselineToTopHeight(Landroid/widget/TextView;I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLastBaselineToBottomHeight(I)V
|
|
.locals 2
|
|
|
|
.line 468
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 469
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setLastBaselineToBottomHeight(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 471
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->setLastBaselineToBottomHeight(Landroid/widget/TextView;I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLineHeight(I)V
|
|
.locals 0
|
|
|
|
.line 488
|
|
invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->setLineHeight(Landroid/widget/TextView;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPrecomputedText(Landroidx/core/text/PrecomputedTextCompat;)V
|
|
.locals 0
|
|
|
|
.line 542
|
|
invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->setPrecomputedText(Landroid/widget/TextView;Landroidx/core/text/PrecomputedTextCompat;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportBackgroundTintList(Landroid/content/res/ColorStateList;)V
|
|
.locals 1
|
|
|
|
.line 167
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 168
|
|
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
|
|
|
|
.line 195
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mBackgroundTintHelper:Landroidx/appcompat/widget/AppCompatBackgroundHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 196
|
|
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
|
|
|
|
.line 721
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setCompoundDrawableTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
.line 722
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSupportCompoundDrawablesTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
.locals 1
|
|
|
|
.line 761
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->setCompoundDrawableTintMode(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
.line 762
|
|
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextAppearance(Landroid/content/Context;I)V
|
|
.locals 1
|
|
|
|
.line 216
|
|
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextAppearance(Landroid/content/Context;I)V
|
|
|
|
.line 217
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 218
|
|
invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetTextAppearance(Landroid/content/Context;I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
|
.locals 2
|
|
|
|
.line 569
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextClassifierHelper:Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 573
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
|
|
|
return-void
|
|
|
|
.line 570
|
|
:cond_1
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getSuperCaller()Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Landroidx/appcompat/widget/AppCompatTextView$SuperCaller;->setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextFuture(Ljava/util/concurrent/Future;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Future<",
|
|
"Landroidx/core/text/PrecomputedTextCompat;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 606
|
|
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mPrecomputedTextFuture:Ljava/util/concurrent/Future;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 608
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->requestLayout()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextMetricsParamsCompat(Landroidx/core/text/PrecomputedTextCompat$Params;)V
|
|
.locals 0
|
|
|
|
.line 529
|
|
invoke-static {p0, p1}, Landroidx/core/widget/TextViewCompat;->setTextMetricsParams(Landroid/widget/TextView;Landroidx/core/text/PrecomputedTextCompat$Params;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextSize(IF)V
|
|
.locals 1
|
|
|
|
.line 264
|
|
sget-boolean v0, Landroidx/appcompat/widget/ViewUtils;->SDK_LEVEL_SUPPORTS_AUTOSIZE:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 265
|
|
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 267
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 268
|
|
invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/AppCompatTextHelper;->setTextSize(IF)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTypeface(Landroid/graphics/Typeface;I)V
|
|
.locals 2
|
|
|
|
.line 767
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mIsSetTypefaceProcessing:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
if-lez p2, :cond_1
|
|
|
|
.line 776
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p1, p2}, Landroidx/core/graphics/TypefaceCompat;->create(Landroid/content/Context;Landroid/graphics/Typeface;I)Landroid/graphics/Typeface;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 779
|
|
iput-boolean v1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mIsSetTypefaceProcessing:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
move-object p1, v0
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
.line 781
|
|
:try_start_0
|
|
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;I)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 783
|
|
iput-boolean v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mIsSetTypefaceProcessing:Z
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iput-boolean v0, p0, Landroidx/appcompat/widget/AppCompatTextView;->mIsSetTypefaceProcessing:Z
|
|
|
|
.line 784
|
|
throw p1
|
|
.end method
|