apkfuckery/com.discord/smali/androidx/cardview/widget/CardView$1.smali
2020-11-21 22:11:07 +00:00

147 lines
4.1 KiB
Smali

.class public Landroidx/cardview/widget/CardView$1;
.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;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field private mCardBackground:Landroid/graphics/drawable/Drawable;
.field public final synthetic this$0:Landroidx/cardview/widget/CardView;
# direct methods
.method public constructor <init>(Landroidx/cardview/widget/CardView;)V
.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;
invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setMinWidthHeightInternal(II)V
.locals 2
iget-object v0, p0, Landroidx/cardview/widget/CardView$1;->this$0:Landroidx/cardview/widget/CardView;
iget v1, v0, Landroidx/cardview/widget/CardView;->mUserSetMinWidth:I
if-le p1, v1, :cond_0
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;
iget v0, p1, Landroidx/cardview/widget/CardView;->mUserSetMinHeight:I
if-le p2, v0, :cond_1
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
.locals 3
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;
iget v2, v1, Landroid/graphics/Rect;->left:I
add-int/2addr p1, v2
iget v2, v1, Landroid/graphics/Rect;->top:I
add-int/2addr p2, v2
iget v2, v1, Landroid/graphics/Rect;->right:I
add-int/2addr p3, v2
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