Changes of com.discord v968
This commit is contained in:
parent
2be3c10320
commit
8dbf9fb1c2
8046 changed files with 353591 additions and 366898 deletions
|
@ -5,6 +5,7 @@
|
|||
# interfaces
|
||||
.implements Landroidx/core/view/TintableBackgroundView;
|
||||
.implements Landroidx/core/widget/AutoSizeableTextView;
|
||||
.implements Landroidx/core/widget/TintableCompoundDrawablesView;
|
||||
|
||||
|
||||
# instance fields
|
||||
|
@ -20,6 +21,8 @@
|
|||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final mTextClassifierHelper:Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
||||
|
||||
.field private final mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
|
||||
|
@ -77,6 +80,12 @@
|
|||
|
||||
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->applyCompoundDrawablesTints()V
|
||||
|
||||
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;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -349,6 +358,30 @@
|
|||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public getSupportCompoundDrawablesTintList()Landroid/content/res/ColorStateList;
|
||||
.locals 1
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
|
@ -361,6 +394,37 @@
|
|||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
||||
.locals 2
|
||||
|
||||
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
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
invoke-super {p0}, Landroid/widget/TextView;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public getTextMetricsParamsCompat()Landroidx/core/text/PrecomputedTextCompat$Params;
|
||||
.locals 1
|
||||
|
||||
|
@ -555,6 +619,194 @@
|
|||
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
|
||||
|
||||
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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setCompoundDrawablesRelativeWithIntrinsicBounds(IIII)V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
invoke-static {v0, p4}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
: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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroidx/appcompat/widget/AppCompatTextHelper;->onSetCompoundDrawables()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setCompoundDrawablesWithIntrinsicBounds(IIII)V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
invoke-static {v0, p4}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
: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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mTextHelper:Landroidx/appcompat/widget/AppCompatTextHelper;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
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
|
||||
|
||||
|
@ -647,6 +899,34 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public setSupportCompoundDrawablesTintList(Landroid/content/res/ColorStateList;)V
|
||||
.locals 1
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
|
@ -662,6 +942,33 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
||||
.locals 2
|
||||
|
||||
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
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
invoke-super {p0, p1}, Landroid/widget/TextView;->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;
|
||||
|
@ -675,8 +982,11 @@
|
|||
|
||||
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextView;->mPrecomputedTextFuture:Ljava/util/concurrent/Future;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatTextView;->requestLayout()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -709,3 +1019,34 @@
|
|||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setTypeface(Landroid/graphics/Typeface;I)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
if-lez p2, :cond_0
|
||||
|
||||
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_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
move-object p1, v0
|
||||
|
||||
:cond_1
|
||||
invoke-super {p0, p1, p2}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue