a.smali

.class public Le/d/a/a;
.super Landroid/widget/FrameLayout;
.source ""


# static fields
.field private static final i:Le/d/a/f;


# instance fields
.field private e:Z

.field private f:Z

.field final g:Landroid/graphics/Rect;

.field private final h:Le/d/a/e;


# direct methods
.method static constructor <clinit>()V
    .registers 2

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-lt v0, v1, :cond_e

    new-instance v0, Le/d/a/c;

    invoke-direct {v0}, Le/d/a/c;-><init>()V

    :goto_b
    sput-object v0, Le/d/a/a;->i:Le/d/a/f;

    goto :goto_1e

    :cond_e
    const/16 v1, 0x11

    if-lt v0, v1, :cond_18

    new-instance v0, Le/d/a/b;

    invoke-direct {v0}, Le/d/a/b;-><init>()V

    goto :goto_b

    :cond_18
    new-instance v0, Le/d/a/d;

    invoke-direct {v0}, Le/d/a/d;-><init>()V

    goto :goto_b

    :goto_1e
    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    invoke-interface {v0}, Le/d/a/f;->h()V

    return-void
.end method


# virtual methods
.method public getCardBackgroundColor()Landroid/content/res/ColorStateList;
    .registers 3

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1}, Le/d/a/f;->g(Le/d/a/e;)Landroid/content/res/ColorStateList;

    move-result-object v0

    return-object v0
.end method

.method public getCardElevation()F
    .registers 3

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1}, Le/d/a/f;->b(Le/d/a/e;)F

    move-result v0

    return v0
.end method

.method public getContentPaddingBottom()I
    .registers 2

    iget-object v0, p0, Le/d/a/a;->g:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    return v0
.end method

.method public getContentPaddingLeft()I
    .registers 2

    iget-object v0, p0, Le/d/a/a;->g:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->left:I

    return v0
.end method

.method public getContentPaddingRight()I
    .registers 2

    iget-object v0, p0, Le/d/a/a;->g:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->right:I

    return v0
.end method

.method public getContentPaddingTop()I
    .registers 2

    iget-object v0, p0, Le/d/a/a;->g:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->top:I

    return v0
.end method

.method public getMaxCardElevation()F
    .registers 3

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1}, Le/d/a/f;->f(Le/d/a/e;)F

    move-result v0

    return v0
.end method

.method public getPreventCornerOverlap()Z
    .registers 2

    iget-boolean v0, p0, Le/d/a/a;->f:Z

    return v0
.end method

.method public getRadius()F
    .registers 3

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1}, Le/d/a/f;->c(Le/d/a/e;)F

    move-result v0

    return v0
.end method

.method public getUseCompatPadding()Z
    .registers 2

    iget-boolean v0, p0, Le/d/a/a;->e:Z

    return v0
.end method

.method protected onMeasure(II)V
    .registers 9

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    instance-of v1, v0, Le/d/a/c;

    if-nez v1, :cond_4c

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    const/high16 v2, 0x40000000    # 2.0f

    const/high16 v3, -0x80000000

    if-eq v1, v3, :cond_13

    if-eq v1, v2, :cond_13

    goto :goto_2b

    :cond_13
    iget-object v4, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v4}, Le/d/a/f;->j(Le/d/a/e;)F

    move-result v4

    float-to-double v4, v4

    invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v4

    double-to-int v4, v4

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result p1

    invoke-static {v4, p1}, Ljava/lang/Math;->max(II)I

    move-result p1

    invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p1

    :goto_2b
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    if-eq v1, v3, :cond_34

    if-eq v1, v2, :cond_34

    goto :goto_4c

    :cond_34
    iget-object v2, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v2}, Le/d/a/f;->i(Le/d/a/e;)F

    move-result v0

    float-to-double v2, v0

    invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v2

    double-to-int v0, v2

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result p2

    invoke-static {v0, p2}, Ljava/lang/Math;->max(II)I

    move-result p2

    invoke-static {p2, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    :cond_4c
    :goto_4c
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onMeasure(II)V

    return-void
.end method

.method public setCardBackgroundColor(I)V
    .registers 4

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-static {p1}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;

    move-result-object p1

    invoke-interface {v0, v1, p1}, Le/d/a/f;->l(Le/d/a/e;Landroid/content/res/ColorStateList;)V

    return-void
.end method

.method public setCardBackgroundColor(Landroid/content/res/ColorStateList;)V
    .registers 4

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1, p1}, Le/d/a/f;->l(Le/d/a/e;Landroid/content/res/ColorStateList;)V

    return-void
.end method

.method public setCardElevation(F)V
    .registers 4

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1, p1}, Le/d/a/f;->e(Le/d/a/e;F)V

    return-void
.end method

.method public setMaxCardElevation(F)V
    .registers 4

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1, p1}, Le/d/a/f;->m(Le/d/a/e;F)V

    return-void
.end method

.method public setMinimumHeight(I)V
    .registers 2

    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumHeight(I)V

    return-void
.end method

.method public setMinimumWidth(I)V
    .registers 2

    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setMinimumWidth(I)V

    return-void
.end method

.method public setPadding(IIII)V
    .registers 5

    return-void
.end method

.method public setPaddingRelative(IIII)V
    .registers 5

    return-void
.end method

.method public setPreventCornerOverlap(Z)V
    .registers 3

    iget-boolean v0, p0, Le/d/a/a;->f:Z

    if-eq p1, v0, :cond_d

    iput-boolean p1, p0, Le/d/a/a;->f:Z

    sget-object p1, Le/d/a/a;->i:Le/d/a/f;

    iget-object v0, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {p1, v0}, Le/d/a/f;->k(Le/d/a/e;)V

    :cond_d
    return-void
.end method

.method public setRadius(F)V
    .registers 4

    sget-object v0, Le/d/a/a;->i:Le/d/a/f;

    iget-object v1, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {v0, v1, p1}, Le/d/a/f;->a(Le/d/a/e;F)V

    return-void
.end method

.method public setUseCompatPadding(Z)V
    .registers 3

    iget-boolean v0, p0, Le/d/a/a;->e:Z

    if-eq v0, p1, :cond_d

    iput-boolean p1, p0, Le/d/a/a;->e:Z

    sget-object p1, Le/d/a/a;->i:Le/d/a/f;

    iget-object v0, p0, Le/d/a/a;->h:Le/d/a/e;

    invoke-interface {p1, v0}, Le/d/a/f;->d(Le/d/a/e;)V

    :cond_d
    return-void
.end method