Changes of com.discord v1334

This commit is contained in:
root 2020-11-14 03:19:56 +00:00
parent 18c9b7884b
commit c42fc6bb28
18192 changed files with 975392 additions and 1011385 deletions

View file

@ -4,17 +4,17 @@
# instance fields
.field public mButtonTintList:Landroid/content/res/ColorStateList;
.field private mButtonTintList:Landroid/content/res/ColorStateList;
.field public mButtonTintMode:Landroid/graphics/PorterDuff$Mode;
.field private mButtonTintMode:Landroid/graphics/PorterDuff$Mode;
.field public mHasButtonTint:Z
.field private mHasButtonTint:Z
.field public mHasButtonTintMode:Z
.field private mHasButtonTintMode:Z
.field public mSkipNextApply:Z
.field private mSkipNextApply:Z
.field public final mView:Landroid/widget/CompoundButton;
.field private final mView:Landroid/widget/CompoundButton;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
@ -141,7 +141,7 @@
.end method
.method public loadFromAttributes(Landroid/util/AttributeSet;I)V
.locals 10
.locals 9
.param p1 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
@ -153,46 +153,42 @@
move-result-object v0
sget-object v1, Landroidx/appcompat/R$styleable;->CompoundButton:[I
sget-object v3, Landroidx/appcompat/R$styleable;->CompoundButton:[I
const/4 v2, 0x0
const/4 v8, 0x0
invoke-static {v0, p1, v1, p2, v2}, Landroidx/appcompat/widget/TintTypedArray;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/TintTypedArray;
invoke-static {v0, p1, v3, p2, v8}, Landroidx/appcompat/widget/TintTypedArray;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/TintTypedArray;
move-result-object v0
iget-object v3, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
invoke-virtual {v3}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
invoke-virtual {v1}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
move-result-object v4
sget-object v5, Landroidx/appcompat/R$styleable;->CompoundButton:[I
move-result-object v2
invoke-virtual {v0}, Landroidx/appcompat/widget/TintTypedArray;->getWrappedTypeArray()Landroid/content/res/TypedArray;
move-result-object v7
move-result-object v5
const/4 v9, 0x0
const/4 v7, 0x0
move-object v6, p1
move-object v4, p1
move v8, p2
move v6, p2
invoke-static/range {v3 .. v9}, Landroidx/core/view/ViewCompat;->saveAttributeDataForStyleable(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V
invoke-static/range {v1 .. v7}, Landroidx/core/view/ViewCompat;->saveAttributeDataForStyleable(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V
:try_start_0
sget p1, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p1
move-result p2
if-eqz p1, :cond_0
if-eqz p2, :cond_0
sget p1, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
invoke-virtual {v0, p1, v2}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
invoke-virtual {v0, p1, v8}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
move-result p1
:try_end_0
@ -203,9 +199,7 @@
:try_start_1
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
invoke-virtual {v1}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
invoke-virtual {p2}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
move-result-object v1
@ -234,13 +228,11 @@
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p1
move-result p2
if-eqz p1, :cond_1
if-eqz p2, :cond_1
sget p1, Landroidx/appcompat/R$styleable;->CompoundButton_android_button:I
invoke-virtual {v0, p1, v2}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
invoke-virtual {v0, p1, v8}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
move-result p1
@ -248,9 +240,7 @@
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
invoke-virtual {v1}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
invoke-virtual {p2}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
move-result-object v1
@ -265,46 +255,42 @@
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p1
move-result p2
if-eqz p1, :cond_2
if-eqz p2, :cond_2
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonTint:I
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
invoke-virtual {v0, p2}, Landroidx/appcompat/widget/TintTypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
move-result-object p1
move-result-object p2
invoke-static {p1, p2}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
invoke-static {p2, p1}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
:cond_2
sget p1, Landroidx/appcompat/R$styleable;->CompoundButton_buttonTintMode:I
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p1
move-result p2
if-eqz p1, :cond_3
if-eqz p2, :cond_3
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonTintMode:I
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
const/4 v1, -0x1
invoke-virtual {v0, p2, v1}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
invoke-virtual {v0, p1, v1}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result p2
move-result p1
const/4 v1, 0x0
invoke-static {p2, v1}, Landroidx/appcompat/widget/DrawableUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
invoke-static {p1, v1}, Landroidx/appcompat/widget/DrawableUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
move-result-object p2
move-result-object p1
invoke-static {p1, p2}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
invoke-static {p2, p1}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0