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