Changes of com.discord v1272

This commit is contained in:
root 2020-09-16 23:45:23 +00:00
parent 4244e04c36
commit 151e6a1914
14572 changed files with 1062860 additions and 910878 deletions

View file

@ -15,11 +15,18 @@
.field public mTmpInfo:Landroidx/appcompat/widget/TintInfo;
.field public final mView:Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/view/View;)V
.locals 1
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -247,7 +254,11 @@
.end method
.method public loadFromAttributes(Landroid/util/AttributeSet;I)V
.locals 3
.locals 8
.param p1 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
@ -261,28 +272,48 @@
invoke-static {v0, p1, v1, p2, v2}, Landroidx/appcompat/widget/TintTypedArray;->obtainStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[III)Landroidx/appcompat/widget/TintTypedArray;
move-result-object p1
move-result-object v0
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v2
sget-object v3, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper:[I
invoke-virtual {v0}, Landroidx/appcompat/widget/TintTypedArray;->getWrappedTypeArray()Landroid/content/res/TypedArray;
move-result-object v5
const/4 v7, 0x0
move-object v4, p1
move v6, p2
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 p2, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_android_background:I
sget p1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_android_background:I
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p2
move-result p1
const/4 v0, -0x1
const/4 p2, -0x1
if-eqz p2, :cond_0
if-eqz p1, :cond_0
sget p2, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_android_background:I
sget p1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_android_background:I
invoke-virtual {p1, p2, v0}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
invoke-virtual {v0, p1, p2}, Landroidx/appcompat/widget/TintTypedArray;->getResourceId(II)I
move-result p2
move-result p1
iput p2, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mBackgroundResId:I
iput p1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mBackgroundResId:I
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mDrawableManager:Landroidx/appcompat/widget/AppCompatDrawableManager;
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mDrawableManager:Landroidx/appcompat/widget/AppCompatDrawableManager;
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
@ -292,71 +323,71 @@
iget v2, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mBackgroundResId:I
invoke-virtual {p2, v1, v2}, Landroidx/appcompat/widget/AppCompatDrawableManager;->getTintList(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
invoke-virtual {p1, v1, v2}, Landroidx/appcompat/widget/AppCompatDrawableManager;->getTintList(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
move-result-object p2
move-result-object p1
if-eqz p2, :cond_0
if-eqz p1, :cond_0
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->setInternalBackgroundTint(Landroid/content/res/ColorStateList;)V
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->setInternalBackgroundTint(Landroid/content/res/ColorStateList;)V
:cond_0
sget p2, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTint:I
sget p1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTint:I
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p2
move-result p1
if-eqz p2, :cond_1
if-eqz p1, :cond_1
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
sget v1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTint:I
invoke-virtual {p1, v1}, Landroidx/appcompat/widget/TintTypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
invoke-virtual {v0, v1}, Landroidx/appcompat/widget/TintTypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
move-result-object v1
invoke-static {p2, v1}, Landroidx/core/view/ViewCompat;->setBackgroundTintList(Landroid/view/View;Landroid/content/res/ColorStateList;)V
invoke-static {p1, v1}, Landroidx/core/view/ViewCompat;->setBackgroundTintList(Landroid/view/View;Landroid/content/res/ColorStateList;)V
:cond_1
sget p2, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTintMode:I
sget p1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTintMode:I
invoke-virtual {p1, p2}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/TintTypedArray;->hasValue(I)Z
move-result p2
move-result p1
if-eqz p2, :cond_2
if-eqz p1, :cond_2
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
iget-object p1, p0, Landroidx/appcompat/widget/AppCompatBackgroundHelper;->mView:Landroid/view/View;
sget v1, Landroidx/appcompat/R$styleable;->ViewBackgroundHelper_backgroundTintMode:I
invoke-virtual {p1, v1, v0}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
invoke-virtual {v0, v1, p2}, Landroidx/appcompat/widget/TintTypedArray;->getInt(II)I
move-result v0
move-result p2
const/4 v1, 0x0
invoke-static {v0, v1}, Landroidx/appcompat/widget/DrawableUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
invoke-static {p2, v1}, Landroidx/appcompat/widget/DrawableUtils;->parseTintMode(ILandroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuff$Mode;
move-result-object v0
move-result-object p2
invoke-static {p2, v0}, Landroidx/core/view/ViewCompat;->setBackgroundTintMode(Landroid/view/View;Landroid/graphics/PorterDuff$Mode;)V
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->setBackgroundTintMode(Landroid/view/View;Landroid/graphics/PorterDuff$Mode;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_2
invoke-virtual {p1}, Landroidx/appcompat/widget/TintTypedArray;->recycle()V
invoke-virtual {v0}, Landroidx/appcompat/widget/TintTypedArray;->recycle()V
return-void
:catchall_0
move-exception p2
move-exception p1
invoke-virtual {p1}, Landroidx/appcompat/widget/TintTypedArray;->recycle()V
invoke-virtual {v0}, Landroidx/appcompat/widget/TintTypedArray;->recycle()V
throw p2
throw p1
.end method
.method public onSetBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V