Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -1,4 +1,4 @@
|
|||
.class Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
.class public Landroidx/swiperefreshlayout/widget/CircleImageView;
|
||||
.super Landroid/widget/ImageView;
|
||||
.source "CircleImageView.java"
|
||||
|
||||
|
@ -12,32 +12,32 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field private static final FILL_SHADOW_COLOR:I = 0x3d000000
|
||||
.field public static final FILL_SHADOW_COLOR:I = 0x3d000000
|
||||
|
||||
.field private static final KEY_SHADOW_COLOR:I = 0x1e000000
|
||||
.field public static final KEY_SHADOW_COLOR:I = 0x1e000000
|
||||
|
||||
.field private static final SHADOW_ELEVATION:I = 0x4
|
||||
.field public static final SHADOW_ELEVATION:I = 0x4
|
||||
|
||||
.field private static final SHADOW_RADIUS:F = 3.5f
|
||||
.field public static final SHADOW_RADIUS:F = 3.5f
|
||||
|
||||
.field private static final X_OFFSET:F = 0.0f
|
||||
.field public static final X_OFFSET:F = 0.0f
|
||||
|
||||
.field private static final Y_OFFSET:F = 1.75f
|
||||
.field public static final Y_OFFSET:F = 1.75f
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mListener:Landroid/view/animation/Animation$AnimationListener;
|
||||
.field public mListener:Landroid/view/animation/Animation$AnimationListener;
|
||||
|
||||
.field mShadowRadius:I
|
||||
.field public mShadowRadius:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroid/content/Context;I)V
|
||||
.method public constructor <init>(Landroid/content/Context;I)V
|
||||
.locals 5
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getContext()Landroid/content/Context;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {p0, p1, v3}, Landroidx/swiperefreshlayout/widget/CircleImageView;->setLayerType(ILandroid/graphics/Paint;)V
|
||||
invoke-virtual {p0, p1, v3}, Landroid/widget/ImageView;->setLayerType(ILandroid/graphics/Paint;)V
|
||||
|
||||
invoke-virtual {v2}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;
|
||||
|
||||
|
@ -130,7 +130,7 @@
|
|||
|
||||
iget p1, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
invoke-virtual {p0, p1, p1, p1, p1}, Landroidx/swiperefreshlayout/widget/CircleImageView;->setPadding(IIII)V
|
||||
invoke-virtual {p0, p1, p1, p1, p1}, Landroid/widget/ImageView;->setPadding(IIII)V
|
||||
|
||||
move-object v0, v2
|
||||
|
||||
|
@ -147,22 +147,13 @@
|
|||
.end method
|
||||
|
||||
.method private elevationSupported()Z
|
||||
.locals 2
|
||||
.locals 1
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x15
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
||||
|
@ -176,7 +167,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getAnimation()Landroid/view/animation/Animation;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getAnimation()Landroid/view/animation/Animation;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -195,7 +186,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getAnimation()Landroid/view/animation/Animation;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getAnimation()Landroid/view/animation/Animation;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -205,7 +196,7 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method protected onMeasure(II)V
|
||||
.method public onMeasure(II)V
|
||||
.locals 1
|
||||
|
||||
invoke-super {p0, p1, p2}, Landroid/widget/ImageView;->onMeasure(II)V
|
||||
|
@ -216,7 +207,7 @@
|
|||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getMeasuredWidth()I
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getMeasuredWidth()I
|
||||
|
||||
move-result p1
|
||||
|
||||
|
@ -224,19 +215,19 @@
|
|||
|
||||
mul-int/lit8 p2, p2, 0x2
|
||||
|
||||
add-int/2addr p1, p2
|
||||
add-int/2addr p2, p1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getMeasuredHeight()I
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getMeasuredHeight()I
|
||||
|
||||
move-result p2
|
||||
move-result p1
|
||||
|
||||
iget v0, p0, Landroidx/swiperefreshlayout/widget/CircleImageView;->mShadowRadius:I
|
||||
|
||||
mul-int/lit8 v0, v0, 0x2
|
||||
|
||||
add-int/2addr p2, v0
|
||||
add-int/2addr v0, p1
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/swiperefreshlayout/widget/CircleImageView;->setMeasuredDimension(II)V
|
||||
invoke-virtual {p0, p2, v0}, Landroid/widget/ImageView;->setMeasuredDimension(II)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
@ -253,7 +244,7 @@
|
|||
.method public setBackgroundColor(I)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getBackground()Landroid/graphics/drawable/Drawable;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -261,7 +252,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getBackground()Landroid/graphics/drawable/Drawable;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -280,7 +271,7 @@
|
|||
.method public setBackgroundColorRes(I)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getContext()Landroid/content/Context;
|
||||
invoke-virtual {p0}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue