apkfuckery/com.discord/smali/androidx/cardview/widget/CardView$1.smali

148 lines
4.1 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/cardview/widget/CardView$1;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "CardView.java"
# interfaces
.implements Landroidx/cardview/widget/CardViewDelegate;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/cardview/widget/CardView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public mCardBackground:Landroid/graphics/drawable/Drawable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/cardview/widget/CardView;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/cardview/widget/CardView;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getCardBackground()Landroid/graphics/drawable/Drawable;
.locals 1
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->mCardBackground:Landroid/graphics/drawable/Drawable;
return-object v0
.end method
.method public getCardView()Landroid/view/View;
.locals 1
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
return-object v0
.end method
.method public getPreventCornerOverlap()Z
.locals 1
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getPreventCornerOverlap()Z
move-result v0
return v0
.end method
.method public getUseCompatPadding()Z
.locals 1
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getUseCompatPadding()Z
move-result v0
return v0
.end method
.method public setCardBackground(Landroid/graphics/drawable/Drawable;)V
.locals 1
iput-object p1, p0, Landroidx/cardview/widget/CardView$1;->mCardBackground:Landroid/graphics/drawable/Drawable;
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setMinWidthHeightInternal(II)V
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
2019-12-06 03:29:40 +00:00
iget v1, v0, Landroidx/cardview/widget/CardView;->mUserSetMinWidth:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-le p1, v1, :cond_0
2019-07-24 11:27:29 +00:00
invoke-static {v0, p1}, Landroidx/cardview/widget/CardView;->access$101(Landroidx/cardview/widget/CardView;I)V
:cond_0
iget-object p1, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
2019-12-06 03:29:40 +00:00
iget v0, p1, Landroidx/cardview/widget/CardView;->mUserSetMinHeight:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-le p2, v0, :cond_1
2019-07-24 11:27:29 +00:00
invoke-static {p1, p2}, Landroidx/cardview/widget/CardView;->access$201(Landroidx/cardview/widget/CardView;I)V
:cond_1
return-void
.end method
.method public setShadowPadding(IIII)V
2019-12-06 03:29:40 +00:00
.locals 3
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
iget-object v0, v0, Landroidx/cardview/widget/CardView;->mShadowBounds:Landroid/graphics/Rect;
invoke-virtual {v0, p1, p2, p3, p4}, Landroid/graphics/Rect;->set(IIII)V
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
iget-object v1, v0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
2019-12-06 03:29:40 +00:00
iget v2, v1, Landroid/graphics/Rect;->left:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr p1, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v2, v1, Landroid/graphics/Rect;->top:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr p2, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v2, v1, Landroid/graphics/Rect;->right:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr p3, v2
2019-07-24 11:27:29 +00:00
iget v1, v1, Landroid/graphics/Rect;->bottom:I
add-int/2addr p4, v1
invoke-static {v0, p1, p2, p3, p4}, Landroidx/cardview/widget/CardView;->access$001(Landroidx/cardview/widget/CardView;IIII)V
return-void
.end method