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

790 lines
22 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/cardview/widget/CardView;
.super Landroid/widget/FrameLayout;
# static fields
.field private static final COLOR_BACKGROUND_ATTR:[I
.field private static final IMPL:Landroidx/cardview/widget/CardViewImpl;
# instance fields
.field private final mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
.field private mCompatPadding:Z
.field final mContentPadding:Landroid/graphics/Rect;
.field private mPreventCornerOverlap:Z
.field final mShadowBounds:Landroid/graphics/Rect;
.field mUserSetMinHeight:I
.field mUserSetMinWidth:I
# direct methods
.method static constructor <clinit>()V
.locals 3
const/4 v0, 0x1
new-array v0, v0, [I
const/4 v1, 0x0
const v2, 0x1010031
aput v2, v0, v1
sput-object v0, Landroidx/cardview/widget/CardView;->COLOR_BACKGROUND_ATTR:[I
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_0
new-instance v0, Landroidx/cardview/widget/CardViewApi21Impl;
invoke-direct {v0}, Landroidx/cardview/widget/CardViewApi21Impl;-><init>()V
:goto_0
sput-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
goto :goto_1
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x11
if-lt v0, v1, :cond_1
new-instance v0, Landroidx/cardview/widget/CardViewApi17Impl;
invoke-direct {v0}, Landroidx/cardview/widget/CardViewApi17Impl;-><init>()V
goto :goto_0
:cond_1
new-instance v0, Landroidx/cardview/widget/CardViewBaseImpl;
invoke-direct {v0}, Landroidx/cardview/widget/CardViewBaseImpl;-><init>()V
goto :goto_0
:goto_1
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
invoke-interface {v0}, Landroidx/cardview/widget/CardViewImpl;->initStatic()V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Landroidx/cardview/widget/CardView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
sget v0, Landroidx/cardview/R$attr;->cardViewStyle:I
invoke-direct {p0, p1, p2, v0}, Landroidx/cardview/widget/CardView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 8
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
new-instance v0, Landroid/graphics/Rect;
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
iput-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
new-instance v0, Landroid/graphics/Rect;
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
iput-object v0, p0, Landroidx/cardview/widget/CardView;->mShadowBounds:Landroid/graphics/Rect;
new-instance v0, Landroidx/cardview/widget/CardView$1;
invoke-direct {v0, p0}, Landroidx/cardview/widget/CardView$1;-><init>(Landroidx/cardview/widget/CardView;)V
iput-object v0, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
sget-object v0, Landroidx/cardview/R$styleable;->CardView:[I
sget v1, Landroidx/cardview/R$style;->CardView:I
invoke-virtual {p1, p2, v0, p3, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p2
sget p3, Landroidx/cardview/R$styleable;->CardView_cardBackgroundColor:I
invoke-virtual {p2, p3}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p3
const/4 v0, 0x0
if-eqz p3, :cond_0
sget p3, Landroidx/cardview/R$styleable;->CardView_cardBackgroundColor:I
invoke-virtual {p2, p3}, Landroid/content/res/TypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
move-result-object p3
:goto_0
move-object v4, p3
goto :goto_3
:cond_0
invoke-virtual {p0}, Landroidx/cardview/widget/CardView;->getContext()Landroid/content/Context;
move-result-object p3
sget-object v1, Landroidx/cardview/widget/CardView;->COLOR_BACKGROUND_ATTR:[I
invoke-virtual {p3, v1}, Landroid/content/Context;->obtainStyledAttributes([I)Landroid/content/res/TypedArray;
move-result-object p3
invoke-virtual {p3, v0, v0}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v1
invoke-virtual {p3}, Landroid/content/res/TypedArray;->recycle()V
const/4 p3, 0x3
new-array p3, p3, [F
invoke-static {v1, p3}, Landroid/graphics/Color;->colorToHSV(I[F)V
const/4 v1, 0x2
aget p3, p3, v1
const/high16 v1, 0x3f000000 # 0.5f
cmpl-float p3, p3, v1
if-lez p3, :cond_1
invoke-virtual {p0}, Landroidx/cardview/widget/CardView;->getResources()Landroid/content/res/Resources;
move-result-object p3
sget v1, Landroidx/cardview/R$color;->cardview_light_background:I
:goto_1
invoke-virtual {p3, v1}, Landroid/content/res/Resources;->getColor(I)I
move-result p3
goto :goto_2
:cond_1
invoke-virtual {p0}, Landroidx/cardview/widget/CardView;->getResources()Landroid/content/res/Resources;
move-result-object p3
sget v1, Landroidx/cardview/R$color;->cardview_dark_background:I
goto :goto_1
:goto_2
invoke-static {p3}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
move-result-object p3
goto :goto_0
:goto_3
sget p3, Landroidx/cardview/R$styleable;->CardView_cardCornerRadius:I
const/4 v1, 0x0
invoke-virtual {p2, p3, v1}, Landroid/content/res/TypedArray;->getDimension(IF)F
move-result v5
sget p3, Landroidx/cardview/R$styleable;->CardView_cardElevation:I
invoke-virtual {p2, p3, v1}, Landroid/content/res/TypedArray;->getDimension(IF)F
move-result v6
sget p3, Landroidx/cardview/R$styleable;->CardView_cardMaxElevation:I
invoke-virtual {p2, p3, v1}, Landroid/content/res/TypedArray;->getDimension(IF)F
move-result p3
sget v1, Landroidx/cardview/R$styleable;->CardView_cardUseCompatPadding:I
invoke-virtual {p2, v1, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v1
iput-boolean v1, p0, Landroidx/cardview/widget/CardView;->mCompatPadding:Z
sget v1, Landroidx/cardview/R$styleable;->CardView_cardPreventCornerOverlap:I
const/4 v2, 0x1
invoke-virtual {p2, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v1
iput-boolean v1, p0, Landroidx/cardview/widget/CardView;->mPreventCornerOverlap:Z
sget v1, Landroidx/cardview/R$styleable;->CardView_contentPadding:I
invoke-virtual {p2, v1, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v1
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
sget v3, Landroidx/cardview/R$styleable;->CardView_contentPaddingLeft:I
invoke-virtual {p2, v3, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v3
iput v3, v2, Landroid/graphics/Rect;->left:I
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
sget v3, Landroidx/cardview/R$styleable;->CardView_contentPaddingTop:I
invoke-virtual {p2, v3, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v3
iput v3, v2, Landroid/graphics/Rect;->top:I
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
sget v3, Landroidx/cardview/R$styleable;->CardView_contentPaddingRight:I
invoke-virtual {p2, v3, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v3
iput v3, v2, Landroid/graphics/Rect;->right:I
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
sget v3, Landroidx/cardview/R$styleable;->CardView_contentPaddingBottom:I
invoke-virtual {p2, v3, v1}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v1
iput v1, v2, Landroid/graphics/Rect;->bottom:I
cmpl-float v1, v6, p3
if-lez v1, :cond_2
move v7, v6
goto :goto_4
:cond_2
move v7, p3
:goto_4
sget p3, Landroidx/cardview/R$styleable;->CardView_android_minWidth:I
invoke-virtual {p2, p3, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result p3
iput p3, p0, Landroidx/cardview/widget/CardView;->mUserSetMinWidth:I
sget p3, Landroidx/cardview/R$styleable;->CardView_android_minHeight:I
invoke-virtual {p2, p3, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result p3
iput p3, p0, Landroidx/cardview/widget/CardView;->mUserSetMinHeight:I
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
sget-object v1, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
move-object v3, p1
invoke-interface/range {v1 .. v7}, Landroidx/cardview/widget/CardViewImpl;->initialize(Landroidx/cardview/widget/CardViewDelegate;Landroid/content/Context;Landroid/content/res/ColorStateList;FFF)V
return-void
.end method
.method static synthetic access$001(Landroidx/cardview/widget/CardView;IIII)V
.locals 0
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/FrameLayout;->setPadding(IIII)V
return-void
.end method
.method static synthetic access$101(Landroidx/cardview/widget/CardView;I)V
.locals 0
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumWidth(I)V
return-void
.end method
.method static synthetic access$201(Landroidx/cardview/widget/CardView;I)V
.locals 0
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumHeight(I)V
return-void
.end method
# virtual methods
.method public getCardBackgroundColor()Landroid/content/res/ColorStateList;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1}, Landroidx/cardview/widget/CardViewImpl;->getBackgroundColor(Landroidx/cardview/widget/CardViewDelegate;)Landroid/content/res/ColorStateList;
move-result-object v0
return-object v0
.end method
.method public getCardElevation()F
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1}, Landroidx/cardview/widget/CardViewImpl;->getElevation(Landroidx/cardview/widget/CardViewDelegate;)F
move-result v0
return v0
.end method
.method public getContentPaddingBottom()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
iget v0, v0, Landroid/graphics/Rect;->bottom:I
return v0
.end method
.method public getContentPaddingLeft()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
iget v0, v0, Landroid/graphics/Rect;->left:I
return v0
.end method
.method public getContentPaddingRight()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
iget v0, v0, Landroid/graphics/Rect;->right:I
return v0
.end method
.method public getContentPaddingTop()I
.locals 1
.annotation build Landroidx/annotation/Px;
.end annotation
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
iget v0, v0, Landroid/graphics/Rect;->top:I
return v0
.end method
.method public getMaxCardElevation()F
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1}, Landroidx/cardview/widget/CardViewImpl;->getMaxElevation(Landroidx/cardview/widget/CardViewDelegate;)F
move-result v0
return v0
.end method
.method public getPreventCornerOverlap()Z
.locals 1
iget-boolean v0, p0, Landroidx/cardview/widget/CardView;->mPreventCornerOverlap:Z
return v0
.end method
.method public getRadius()F
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1}, Landroidx/cardview/widget/CardViewImpl;->getRadius(Landroidx/cardview/widget/CardViewDelegate;)F
move-result v0
return v0
.end method
.method public getUseCompatPadding()Z
.locals 1
iget-boolean v0, p0, Landroidx/cardview/widget/CardView;->mCompatPadding:Z
return v0
.end method
.method protected onMeasure(II)V
.locals 5
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
instance-of v0, v0, Landroidx/cardview/widget/CardViewApi21Impl;
if-nez v0, :cond_2
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
const/high16 v1, 0x40000000 # 2.0f
const/high16 v2, -0x80000000
if-eq v0, v2, :cond_0
if-eq v0, v1, :cond_0
goto :goto_0
:cond_0
sget-object v3, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v4, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v3, v4}, Landroidx/cardview/widget/CardViewImpl;->getMinWidth(Landroidx/cardview/widget/CardViewDelegate;)F
move-result v3
float-to-double v3, v3
invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D
move-result-wide v3
double-to-int v3, v3
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p1
invoke-static {v3, p1}, Ljava/lang/Math;->max(II)I
move-result p1
invoke-static {p1, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p1
:goto_0
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
move-result v0
if-eq v0, v2, :cond_1
if-eq v0, v1, :cond_1
goto :goto_1
:cond_1
sget-object v1, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v2, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v1, v2}, Landroidx/cardview/widget/CardViewImpl;->getMinHeight(Landroidx/cardview/widget/CardViewDelegate;)F
move-result v1
float-to-double v1, v1
invoke-static {v1, v2}, Ljava/lang/Math;->ceil(D)D
move-result-wide v1
double-to-int v1, v1
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
move-result p2
invoke-static {v1, p2}, Ljava/lang/Math;->max(II)I
move-result p2
invoke-static {p2, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result p2
:goto_1
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
return-void
:cond_2
invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V
return-void
.end method
.method public setCardBackgroundColor(I)V
.locals 2
.param p1 # I
.annotation build Landroidx/annotation/ColorInt;
.end annotation
.end param
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-static {p1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
move-result-object p1
invoke-interface {v0, v1, p1}, Landroidx/cardview/widget/CardViewImpl;->setBackgroundColor(Landroidx/cardview/widget/CardViewDelegate;Landroid/content/res/ColorStateList;)V
return-void
.end method
.method public setCardBackgroundColor(Landroid/content/res/ColorStateList;)V
.locals 2
.param p1 # Landroid/content/res/ColorStateList;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1, p1}, Landroidx/cardview/widget/CardViewImpl;->setBackgroundColor(Landroidx/cardview/widget/CardViewDelegate;Landroid/content/res/ColorStateList;)V
return-void
.end method
.method public setCardElevation(F)V
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1, p1}, Landroidx/cardview/widget/CardViewImpl;->setElevation(Landroidx/cardview/widget/CardViewDelegate;F)V
return-void
.end method
.method public setContentPadding(IIII)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.param p2 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.param p3 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
.param p4 # I
.annotation build Landroidx/annotation/Px;
.end annotation
.end param
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mContentPadding:Landroid/graphics/Rect;
invoke-virtual {v0, p1, p2, p3, p4}, Landroid/graphics/Rect;->set(IIII)V
sget-object p1, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object p2, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {p1, p2}, Landroidx/cardview/widget/CardViewImpl;->updatePadding(Landroidx/cardview/widget/CardViewDelegate;)V
return-void
.end method
.method public setMaxCardElevation(F)V
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1, p1}, Landroidx/cardview/widget/CardViewImpl;->setMaxElevation(Landroidx/cardview/widget/CardViewDelegate;F)V
return-void
.end method
.method public setMinimumHeight(I)V
.locals 0
iput p1, p0, Landroidx/cardview/widget/CardView;->mUserSetMinHeight:I
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumHeight(I)V
return-void
.end method
.method public setMinimumWidth(I)V
.locals 0
iput p1, p0, Landroidx/cardview/widget/CardView;->mUserSetMinWidth:I
invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumWidth(I)V
return-void
.end method
.method public setPadding(IIII)V
.locals 0
return-void
.end method
.method public setPaddingRelative(IIII)V
.locals 0
return-void
.end method
.method public setPreventCornerOverlap(Z)V
.locals 1
iget-boolean v0, p0, Landroidx/cardview/widget/CardView;->mPreventCornerOverlap:Z
if-eq p1, v0, :cond_0
iput-boolean p1, p0, Landroidx/cardview/widget/CardView;->mPreventCornerOverlap:Z
sget-object p1, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {p1, v0}, Landroidx/cardview/widget/CardViewImpl;->onPreventCornerOverlapChanged(Landroidx/cardview/widget/CardViewDelegate;)V
:cond_0
return-void
.end method
.method public setRadius(F)V
.locals 2
sget-object v0, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v1, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {v0, v1, p1}, Landroidx/cardview/widget/CardViewImpl;->setRadius(Landroidx/cardview/widget/CardViewDelegate;F)V
return-void
.end method
.method public setUseCompatPadding(Z)V
.locals 1
iget-boolean v0, p0, Landroidx/cardview/widget/CardView;->mCompatPadding:Z
if-eq v0, p1, :cond_0
iput-boolean p1, p0, Landroidx/cardview/widget/CardView;->mCompatPadding:Z
sget-object p1, Landroidx/cardview/widget/CardView;->IMPL:Landroidx/cardview/widget/CardViewImpl;
iget-object v0, p0, Landroidx/cardview/widget/CardView;->mCardViewDelegate:Landroidx/cardview/widget/CardViewDelegate;
invoke-interface {p1, v0}, Landroidx/cardview/widget/CardViewImpl;->onCompatPaddingChanged(Landroidx/cardview/widget/CardViewDelegate;)V
:cond_0
return-void
.end method