ShadowLayout.smali

.class public Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;
.super Landroid/widget/FrameLayout;
.source "ShadowLayout.java"


# instance fields
.field private angle:I

.field private bottomPadding:I

.field private bottomShow:Z

.field private centerColor:I

.field private clickAbleFalseColor:I

.field private clickAbleFalseDrawable:Landroid/graphics/drawable/Drawable;

.field private endColor:I

.field private firstView:Landroid/view/View;

.field private isClickable:Z

.field private isShowShadow:Z

.field private isSym:Z

.field private layoutBackground:Landroid/graphics/drawable/Drawable;

.field private layoutBackground_true:Landroid/graphics/drawable/Drawable;

.field private leftPadding:I

.field private leftShow:Z

.field private mBackGroundColor:I

.field private mBackGroundColor_true:I

.field private mCornerRadius:F

.field private mCornerRadius_leftBottom:F

.field private mCornerRadius_leftTop:F

.field private mCornerRadius_rightBottom:F

.field private mCornerRadius_rightTop:F

.field private mDx:F

.field private mDy:F

.field private mShadowColor:I

.field private mShadowLimit:F

.field private mTextView:Landroid/widget/TextView;

.field private mTextViewResId:I

.field private onClickListener:Landroid/view/View$OnClickListener;

.field private paint:Landroid/graphics/Paint;

.field private paint_stroke:Landroid/graphics/Paint;

.field private rectf:Landroid/graphics/RectF;

.field private rightPadding:I

.field private rightShow:Z

.field private selectorType:I

.field private shadowPaint:Landroid/graphics/Paint;

.field private startColor:I

.field private stroke_color:I

.field private stroke_color_true:I

.field private stroke_with:F

.field private text:Ljava/lang/String;

.field private textColor:I

.field private textColor_true:I

.field private text_true:Ljava/lang/String;

.field private topPadding:I

.field private topShow:Z


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

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 3
    .param p1, "context"    # Landroid/content/Context;

    .line 105
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 106
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 4
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;

    .line 109
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 110
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 5
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;
    .param p3, "defStyleAttr"    # I

    .line 114
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 41
    const/16 v0, -0x65

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseColor:I

    .line 48
    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    .line 66
    new-instance v0, Landroid/graphics/RectF;

    invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    .line 69
    const/4 v0, 0x1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    .line 70
    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    .line 96
    const/4 v0, -0x1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextViewResId:I

    .line 115
    invoke-direct {p0, p1, p2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->initView(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 116
    return-void
.end method

.method public static convertToColorInt(Ljava/lang/String;)I
    .registers 3
    .param p0, "argb"    # Ljava/lang/String;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .line 1346
    const-string v0, "#"

    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_17

    .line 1347
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    .line 1350
    :cond_17
    invoke-static {p0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method private createShadowBitmap(IIFFFFII)Landroid/graphics/Bitmap;
    .registers 28
    .param p1, "shadowWidth"    # I
    .param p2, "shadowHeight"    # I
    .param p3, "cornerRadius"    # F
    .param p4, "shadowRadius"    # F
    .param p5, "dx"    # F
    .param p6, "dy"    # F
    .param p7, "shadowColor"    # I
    .param p8, "fillColor"    # I

    .line 864
    move-object/from16 v0, p0

    const/high16 v1, 0x40800000    # 4.0f

    div-float v2, p5, v1

    .line 865
    .end local p5    # "dx":F
    .local v2, "dx":F
    div-float v3, p6, v1

    .line 866
    .end local p6    # "dy":F
    .local v3, "dy":F
    div-int/lit8 v4, p1, 0x4

    if-nez v4, :cond_e

    const/4 v4, 0x1

    goto :goto_10

    :cond_e
    div-int/lit8 v4, p1, 0x4

    .line 867
    .end local p1    # "shadowWidth":I
    .local v4, "shadowWidth":I
    :goto_10
    div-int/lit8 v6, p2, 0x4

    if-nez v6, :cond_16

    const/4 v6, 0x1

    goto :goto_18

    :cond_16
    div-int/lit8 v6, p2, 0x4

    .line 868
    .end local p2    # "shadowHeight":I
    .local v6, "shadowHeight":I
    :goto_18
    div-float v7, p3, v1

    .line 869
    .end local p3    # "cornerRadius":F
    .local v7, "cornerRadius":F
    div-float v1, p4, v1

    .line 871
    .end local p4    # "shadowRadius":F
    .local v1, "shadowRadius":F
    sget-object v8, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v4, v6, v8}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v8

    .line 872
    .local v8, "output":Landroid/graphics/Bitmap;
    new-instance v9, Landroid/graphics/Canvas;

    invoke-direct {v9, v8}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    .line 877
    .local v9, "canvas":Landroid/graphics/Canvas;
    const/4 v10, 0x0

    .line 878
    .local v10, "rect_left":F
    const/4 v11, 0x0

    .line 879
    .local v11, "rect_right":F
    const/4 v12, 0x0

    .line 880
    .local v12, "rect_top":F
    const/4 v13, 0x0

    .line 881
    .local v13, "rect_bottom":F
    iget-boolean v14, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftShow:Z

    if-eqz v14, :cond_31

    .line 882
    move v10, v1

    goto :goto_49

    .line 885
    :cond_31
    iget v14, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    invoke-static {v7, v14}, Ljava/lang/Math;->max(FF)F

    move-result v14

    .line 886
    .local v14, "maxLeftTop":F
    iget v5, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    invoke-static {v7, v5}, Ljava/lang/Math;->max(FF)F

    move-result v5

    .line 887
    .local v5, "maxLeftBottom":F
    invoke-static {v14, v5}, Ljava/lang/Math;->max(FF)F

    move-result v15

    .line 889
    .local v15, "maxLeft":F
    invoke-static {v15, v1}, Ljava/lang/Math;->max(FF)F

    move-result v16

    .line 890
    .local v16, "trueMaxLeft":F
    const/high16 v17, 0x40000000    # 2.0f

    div-float v10, v16, v17

    .line 894
    .end local v5    # "maxLeftBottom":F
    .end local v14    # "maxLeftTop":F
    .end local v15    # "maxLeft":F
    .end local v16    # "trueMaxLeft":F
    :goto_49
    iget-boolean v5, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topShow:Z

    if-eqz v5, :cond_4f

    .line 895
    move v5, v1

    .end local v12    # "rect_top":F
    .local v5, "rect_top":F
    goto :goto_68

    .line 898
    .end local v5    # "rect_top":F
    .restart local v12    # "rect_top":F
    :cond_4f
    iget v5, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    invoke-static {v7, v5}, Ljava/lang/Math;->max(FF)F

    move-result v5

    .line 899
    .local v5, "maxLeftTop":F
    iget v14, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    invoke-static {v7, v14}, Ljava/lang/Math;->max(FF)F

    move-result v14

    .line 900
    .local v14, "maxRightTop":F
    invoke-static {v5, v14}, Ljava/lang/Math;->max(FF)F

    move-result v15

    .line 902
    .local v15, "maxTop":F
    invoke-static {v15, v1}, Ljava/lang/Math;->max(FF)F

    move-result v16

    .line 903
    .local v16, "trueMaxTop":F
    const/high16 v17, 0x40000000    # 2.0f

    div-float v12, v16, v17

    move v5, v12

    .line 907
    .end local v12    # "rect_top":F
    .end local v14    # "maxRightTop":F
    .end local v15    # "maxTop":F
    .end local v16    # "trueMaxTop":F
    .local v5, "rect_top":F
    :goto_68
    iget-boolean v12, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightShow:Z

    if-eqz v12, :cond_6f

    .line 908
    int-to-float v12, v4

    sub-float/2addr v12, v1

    .end local v11    # "rect_right":F
    .local v12, "rect_right":F
    goto :goto_8d

    .line 911
    .end local v12    # "rect_right":F
    .restart local v11    # "rect_right":F
    :cond_6f
    iget v12, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    invoke-static {v7, v12}, Ljava/lang/Math;->max(FF)F

    move-result v12

    .line 912
    .local v12, "maxRightTop":F
    iget v14, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    invoke-static {v7, v14}, Ljava/lang/Math;->max(FF)F

    move-result v14

    .line 913
    .local v14, "maxRightBottom":F
    invoke-static {v12, v14}, Ljava/lang/Math;->max(FF)F

    move-result v15

    .line 915
    .local v15, "maxRight":F
    invoke-static {v15, v1}, Ljava/lang/Math;->max(FF)F

    move-result v16

    .line 916
    .local v16, "trueMaxRight":F
    move/from16 p2, v11

    .end local v11    # "rect_right":F
    .local p2, "rect_right":F
    int-to-float v11, v4

    const/high16 v17, 0x40000000    # 2.0f

    div-float v18, v16, v17

    sub-float v11, v11, v18

    move v12, v11

    .line 920
    .end local v14    # "maxRightBottom":F
    .end local v15    # "maxRight":F
    .end local v16    # "trueMaxRight":F
    .end local p2    # "rect_right":F
    .local v12, "rect_right":F
    :goto_8d
    iget-boolean v11, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomShow:Z

    if-eqz v11, :cond_96

    .line 921
    int-to-float v11, v6

    sub-float/2addr v11, v1

    move/from16 p6, v4

    .end local v13    # "rect_bottom":F
    .local v11, "rect_bottom":F
    goto :goto_b4

    .line 924
    .end local v11    # "rect_bottom":F
    .restart local v13    # "rect_bottom":F
    :cond_96
    iget v11, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    invoke-static {v7, v11}, Ljava/lang/Math;->max(FF)F

    move-result v11

    .line 925
    .local v11, "maxLeftBottom":F
    iget v14, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    invoke-static {v7, v14}, Ljava/lang/Math;->max(FF)F

    move-result v14

    .line 926
    .restart local v14    # "maxRightBottom":F
    invoke-static {v11, v14}, Ljava/lang/Math;->max(FF)F

    move-result v15

    .line 928
    .local v15, "maxBottom":F
    invoke-static {v15, v1}, Ljava/lang/Math;->max(FF)F

    move-result v16

    .line 929
    .local v16, "trueMaxBottom":F
    move/from16 p6, v4

    .end local v4    # "shadowWidth":I
    .local p6, "shadowWidth":I
    int-to-float v4, v6

    const/high16 v17, 0x40000000    # 2.0f

    div-float v18, v16, v17

    sub-float v4, v4, v18

    move v11, v4

    .line 933
    .end local v13    # "rect_bottom":F
    .end local v14    # "maxRightBottom":F
    .end local v15    # "maxBottom":F
    .end local v16    # "trueMaxBottom":F
    .local v11, "rect_bottom":F
    :goto_b4
    new-instance v4, Landroid/graphics/RectF;

    invoke-direct {v4, v10, v5, v12, v11}, Landroid/graphics/RectF;-><init>(FFFF)V

    .line 939
    .local v4, "shadowRect":Landroid/graphics/RectF;
    iget-boolean v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSym:Z

    if-eqz v13, :cond_109

    .line 940
    const/4 v13, 0x0

    cmpl-float v14, v3, v13

    if-lez v14, :cond_cd

    .line 941
    iget v14, v4, Landroid/graphics/RectF;->top:F

    add-float/2addr v14, v3

    iput v14, v4, Landroid/graphics/RectF;->top:F

    .line 942
    iget v14, v4, Landroid/graphics/RectF;->bottom:F

    sub-float/2addr v14, v3

    iput v14, v4, Landroid/graphics/RectF;->bottom:F

    goto :goto_e3

    .line 943
    :cond_cd
    cmpg-float v14, v3, v13

    if-gez v14, :cond_e3

    .line 944
    iget v14, v4, Landroid/graphics/RectF;->top:F

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v15

    add-float/2addr v14, v15

    iput v14, v4, Landroid/graphics/RectF;->top:F

    .line 945
    iget v14, v4, Landroid/graphics/RectF;->bottom:F

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v15

    sub-float/2addr v14, v15

    iput v14, v4, Landroid/graphics/RectF;->bottom:F

    .line 948
    :cond_e3
    :goto_e3
    cmpl-float v14, v2, v13

    if-lez v14, :cond_f2

    .line 949
    iget v13, v4, Landroid/graphics/RectF;->left:F

    add-float/2addr v13, v2

    iput v13, v4, Landroid/graphics/RectF;->left:F

    .line 950
    iget v13, v4, Landroid/graphics/RectF;->right:F

    sub-float/2addr v13, v2

    iput v13, v4, Landroid/graphics/RectF;->right:F

    goto :goto_11d

    .line 951
    :cond_f2
    cmpg-float v13, v2, v13

    if-gez v13, :cond_11d

    .line 953
    iget v13, v4, Landroid/graphics/RectF;->left:F

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v14

    add-float/2addr v13, v14

    iput v13, v4, Landroid/graphics/RectF;->left:F

    .line 954
    iget v13, v4, Landroid/graphics/RectF;->right:F

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v14

    sub-float/2addr v13, v14

    iput v13, v4, Landroid/graphics/RectF;->right:F

    goto :goto_11d

    .line 957
    :cond_109
    iget v13, v4, Landroid/graphics/RectF;->top:F

    sub-float/2addr v13, v3

    iput v13, v4, Landroid/graphics/RectF;->top:F

    .line 958
    iget v13, v4, Landroid/graphics/RectF;->bottom:F

    sub-float/2addr v13, v3

    iput v13, v4, Landroid/graphics/RectF;->bottom:F

    .line 959
    iget v13, v4, Landroid/graphics/RectF;->right:F

    sub-float/2addr v13, v2

    iput v13, v4, Landroid/graphics/RectF;->right:F

    .line 960
    iget v13, v4, Landroid/graphics/RectF;->left:F

    sub-float/2addr v13, v2

    iput v13, v4, Landroid/graphics/RectF;->left:F

    .line 964
    :cond_11d
    :goto_11d
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    move/from16 v14, p8

    invoke-virtual {v13, v14}, Landroid/graphics/Paint;->setColor(I)V

    .line 965
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isInEditMode()Z

    move-result v13

    if-nez v13, :cond_138

    .line 966
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    const/high16 v15, 0x40000000    # 2.0f

    div-float v15, v1, v15

    move/from16 p1, v1

    move/from16 v1, p7

    .end local v1    # "shadowRadius":F
    .local p1, "shadowRadius":F
    invoke-virtual {v13, v15, v2, v3, v1}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V

    goto :goto_13c

    .line 965
    .end local p1    # "shadowRadius":F
    .restart local v1    # "shadowRadius":F
    :cond_138
    move/from16 p1, v1

    move/from16 v1, p7

    .line 969
    .end local v1    # "shadowRadius":F
    .restart local p1    # "shadowRadius":F
    :goto_13c
    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    const/high16 v15, -0x40800000    # -1.0f

    cmpl-float v13, v13, v15

    if-nez v13, :cond_163

    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    cmpl-float v13, v13, v15

    if-nez v13, :cond_163

    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v13, v13, v15

    if-nez v13, :cond_163

    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v13, v13, v15

    if-nez v13, :cond_163

    .line 971
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    invoke-virtual {v9, v4, v7, v7, v13}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    move/from16 v17, v2

    move/from16 v16, v3

    move/from16 p2, v5

    goto/16 :goto_212

    .line 974
    :cond_163
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v15, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v15, v15

    iput v15, v13, Landroid/graphics/RectF;->left:F

    .line 975
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v15, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v15, v15

    iput v15, v13, Landroid/graphics/RectF;->top:F

    .line 976
    iget-object v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v15

    iget v1, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v15, v1

    int-to-float v1, v15

    iput v1, v13, Landroid/graphics/RectF;->right:F

    .line 977
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v13

    iget v15, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v13, v15

    int-to-float v13, v13

    iput v13, v1, Landroid/graphics/RectF;->bottom:F

    .line 980
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    const/4 v13, 0x1

    invoke-virtual {v1, v13}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 982
    iget v1, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/4 v13, 0x4

    const/high16 v15, -0x40800000    # -1.0f

    cmpl-float v16, v1, v15

    if-nez v16, :cond_19d

    .line 983
    iget v1, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v1, v1

    div-int/2addr v1, v13

    .local v1, "leftTop":I
    goto :goto_19f

    .line 985
    .end local v1    # "leftTop":I
    :cond_19d
    float-to-int v1, v1

    div-int/2addr v1, v13

    .line 988
    .restart local v1    # "leftTop":I
    :goto_19f
    iget v15, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    const/high16 v16, -0x40800000    # -1.0f

    cmpl-float v17, v15, v16

    if-nez v17, :cond_1ac

    .line 989
    iget v15, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v15, v15

    div-int/2addr v15, v13

    .local v15, "leftBottom":I
    goto :goto_1ae

    .line 991
    .end local v15    # "leftBottom":I
    :cond_1ac
    float-to-int v15, v15

    div-int/2addr v15, v13

    .line 995
    .restart local v15    # "leftBottom":I
    :goto_1ae
    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    const/high16 v16, -0x40800000    # -1.0f

    cmpl-float v17, v13, v16

    if-nez v17, :cond_1be

    .line 996
    iget v13, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v13, v13

    const/16 v16, 0x4

    div-int/lit8 v13, v13, 0x4

    .local v13, "rightTop":I
    goto :goto_1c3

    .line 998
    .end local v13    # "rightTop":I
    :cond_1be
    const/16 v16, 0x4

    float-to-int v13, v13

    div-int/lit8 v13, v13, 0x4

    .line 1002
    .restart local v13    # "rightTop":I
    :goto_1c3
    move/from16 v17, v2

    .end local v2    # "dx":F
    .local v17, "dx":F
    iget v2, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    const/high16 v18, -0x40800000    # -1.0f

    cmpl-float v18, v2, v18

    if-nez v18, :cond_1d3

    .line 1003
    iget v2, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v2, v2

    div-int/lit8 v2, v2, 0x4

    .local v2, "rightBottom":I
    goto :goto_1d6

    .line 1005
    .end local v2    # "rightBottom":I
    :cond_1d3
    float-to-int v2, v2

    div-int/lit8 v2, v2, 0x4

    .line 1008
    .restart local v2    # "rightBottom":I
    :goto_1d6
    move/from16 v16, v3

    .end local v3    # "dy":F
    .local v16, "dy":F
    const/16 v3, 0x8

    new-array v3, v3, [F

    const/16 v18, 0x0

    move/from16 p2, v5

    .end local v5    # "rect_top":F
    .local p2, "rect_top":F
    int-to-float v5, v1

    aput v5, v3, v18

    int-to-float v5, v1

    const/16 v18, 0x1

    aput v5, v3, v18

    const/4 v5, 0x2

    move/from16 v18, v1

    .end local v1    # "leftTop":I
    .local v18, "leftTop":I
    int-to-float v1, v13

    aput v1, v3, v5

    const/4 v1, 0x3

    int-to-float v5, v13

    aput v5, v3, v1

    int-to-float v1, v2

    const/4 v5, 0x4

    aput v1, v3, v5

    const/4 v1, 0x5

    int-to-float v5, v2

    aput v5, v3, v1

    const/4 v1, 0x6

    int-to-float v5, v15

    aput v5, v3, v1

    const/4 v1, 0x7

    int-to-float v5, v15

    aput v5, v3, v1

    move-object v1, v3

    .line 1009
    .local v1, "outerR":[F
    new-instance v3, Landroid/graphics/Path;

    invoke-direct {v3}, Landroid/graphics/Path;-><init>()V

    .line 1010
    .local v3, "path":Landroid/graphics/Path;
    sget-object v5, Landroid/graphics/Path$Direction;->CW:Landroid/graphics/Path$Direction;

    invoke-virtual {v3, v4, v1, v5}, Landroid/graphics/Path;->addRoundRect(Landroid/graphics/RectF;[FLandroid/graphics/Path$Direction;)V

    .line 1011
    iget-object v5, v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    invoke-virtual {v9, v3, v5}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    .line 1014
    .end local v1    # "outerR":[F
    .end local v2    # "rightBottom":I
    .end local v3    # "path":Landroid/graphics/Path;
    .end local v13    # "rightTop":I
    .end local v15    # "leftBottom":I
    .end local v18    # "leftTop":I
    :goto_212
    return-object v8
.end method

.method private initAttributes(Landroid/util/AttributeSet;)V
    .registers 12
    .param p1, "attrs"    # Landroid/util/AttributeSet;

    .line 718
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    sget-object v1, Lim/tpelyyftgw/messenger/R$styleable;->ShadowLayout:[I

    invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;

    move-result-object v0

    .line 719
    .local v0, "attr":Landroid/content/res/TypedArray;
    if-nez v0, :cond_d

    .line 720
    return-void

    .line 725
    :cond_d
    const/16 v1, 0xe

    const/4 v2, 0x0

    :try_start_10
    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    const/4 v3, 0x1

    if-nez v1, :cond_19

    const/4 v1, 0x1

    goto :goto_1a

    :cond_19
    const/4 v1, 0x0

    :goto_1a
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    .line 726
    const/16 v1, 0x10

    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    if-nez v1, :cond_26

    const/4 v1, 0x1

    goto :goto_27

    :cond_26
    const/4 v1, 0x0

    :goto_27
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftShow:Z

    .line 727
    const/16 v1, 0x11

    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    if-nez v1, :cond_33

    const/4 v1, 0x1

    goto :goto_34

    :cond_33
    const/4 v1, 0x0

    :goto_34
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightShow:Z

    .line 728
    const/16 v1, 0xf

    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    if-nez v1, :cond_40

    const/4 v1, 0x1

    goto :goto_41

    :cond_40
    const/4 v1, 0x0

    :goto_41
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomShow:Z

    .line 729
    const/16 v1, 0x12

    invoke-virtual {v0, v1, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    if-nez v1, :cond_4d

    const/4 v1, 0x1

    goto :goto_4e

    :cond_4d
    const/4 v1, 0x0

    :goto_4e
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topShow:Z

    .line 730
    const/4 v1, 0x4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07008d

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDimension(I)F

    move-result v4

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    .line 731
    const/4 v1, 0x6

    const/high16 v4, -0x40800000    # -1.0f

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    .line 732
    const/4 v1, 0x5

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    .line 733
    const/16 v1, 0x8

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    .line 734
    const/4 v1, 0x7

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    .line 737
    const/16 v1, 0x13

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    .line 738
    cmpl-float v1, v1, v4

    if-nez v1, :cond_90

    .line 740
    iput-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    .line 744
    :cond_90
    const/16 v1, 0x14

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    .line 746
    const/16 v1, 0x15

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    .line 747
    const/16 v1, 0xd

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0615c5

    invoke-static {v5}, Lnp/NPFog;->d(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v0, v1, v4}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowColor:I

    .line 749
    const/16 v1, 0x17

    invoke-virtual {v0, v1, v3}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    .line 750
    const/16 v1, 0x16

    invoke-virtual {v0, v1, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v1

    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSym:Z

    .line 755
    iput v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    .line 757
    const/16 v1, 0xa

    invoke-virtual {v0, v1}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 758
    .local v1, "background":Landroid/graphics/drawable/Drawable;
    if-eqz v1, :cond_e1

    .line 759
    instance-of v4, v1, Landroid/graphics/drawable/ColorDrawable;

    if-eqz v4, :cond_df

    .line 760
    move-object v4, v1

    check-cast v4, Landroid/graphics/drawable/ColorDrawable;

    .line 761
    .local v4, "colorDrawable":Landroid/graphics/drawable/ColorDrawable;
    invoke-virtual {v4}, Landroid/graphics/drawable/ColorDrawable;->getColor()I

    move-result v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    .line 763
    .end local v4    # "colorDrawable":Landroid/graphics/drawable/ColorDrawable;
    goto :goto_e1

    .line 764
    :cond_df
    iput-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    .line 768
    :cond_e1
    :goto_e1
    const/16 v4, 0xc

    invoke-virtual {v0, v4}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 769
    .local v4, "trueBackground":Landroid/graphics/drawable/Drawable;
    if-eqz v4, :cond_f9

    .line 770
    instance-of v5, v4, Landroid/graphics/drawable/ColorDrawable;

    if-eqz v5, :cond_f7

    .line 771
    move-object v5, v4

    check-cast v5, Landroid/graphics/drawable/ColorDrawable;

    .line 772
    .local v5, "colorDrawableTrue":Landroid/graphics/drawable/ColorDrawable;
    invoke-virtual {v5}, Landroid/graphics/drawable/ColorDrawable;->getColor()I

    move-result v6

    iput v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    .line 774
    .end local v5    # "colorDrawableTrue":Landroid/graphics/drawable/ColorDrawable;
    goto :goto_f9

    .line 775
    :cond_f7
    iput-object v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    .line 779
    :cond_f9
    :goto_f9
    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    const/16 v6, -0x65

    if-eq v5, v6, :cond_10c

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v5, :cond_104

    goto :goto_10c

    .line 780
    :cond_104
    new-instance v2, Ljava/lang/UnsupportedOperationException;

    const-string v3, "\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground_true\u5c5e\u6027\uff0c\u5fc5\u987b\u5148\u8bbe\u7f6eShadowLayout_hl_layoutBackground\u5c5e\u6027\u3002\u4e14\u8bbe\u7f6e\u989c\u8272\u65f6\uff0c\u5fc5\u987b\u4fdd\u6301\u90fd\u4e3a\u989c\u8272"

    invoke-direct {v2, v3}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2

    .line 783
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :cond_10c
    :goto_10c
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v5, :cond_11d

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-nez v5, :cond_115

    goto :goto_11d

    .line 784
    :cond_115
    new-instance v2, Ljava/lang/UnsupportedOperationException;

    const-string v3, "\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground_true\u5c5e\u6027\uff0c\u5fc5\u987b\u5148\u8bbe\u7f6eShadowLayout_hl_layoutBackground\u5c5e\u6027\u3002\u4e14\u8bbe\u7f6e\u56fe\u7247\u65f6\uff0c\u5fc5\u987b\u4fdd\u6301\u90fd\u4e3a\u56fe\u7247"

    invoke-direct {v2, v3}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2

    .line 790
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :cond_11d
    :goto_11d
    const/16 v5, 0x19

    invoke-virtual {v0, v5, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    .line 791
    const/16 v5, 0x1a

    invoke-virtual {v0, v5, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    .line 793
    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    if-ne v7, v6, :cond_13c

    if-ne v5, v6, :cond_134

    goto :goto_13c

    .line 794
    :cond_134
    new-instance v2, Ljava/lang/UnsupportedOperationException;

    const-string v3, "\u4f7f\u7528\u4e86ShadowLayout_hl_strokeColor_true\u5c5e\u6027\uff0c\u5fc5\u987b\u5148\u8bbe\u7f6eShadowLayout_hl_strokeColor\u5c5e\u6027"

    invoke-direct {v2, v3}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2

    .line 797
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :cond_13c
    :goto_13c
    const/16 v5, 0x1b

    const/high16 v7, 0x3f800000    # 1.0f

    invoke-virtual {p0, v7}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->dip2px(F)I

    move-result v7

    int-to-float v7, v7

    invoke-virtual {v0, v5, v7}, Landroid/content/res/TypedArray;->getDimension(IF)F

    move-result v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    .line 799
    const/high16 v7, 0x40e00000    # 7.0f

    invoke-virtual {p0, v7}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->dip2px(F)I

    move-result v7

    int-to-float v7, v7

    cmpl-float v5, v5, v7

    if-lez v5, :cond_15f

    .line 800
    const/high16 v5, 0x40a00000    # 5.0f

    invoke-virtual {p0, v5}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->dip2px(F)I

    move-result v5

    int-to-float v5, v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    .line 804
    :cond_15f
    const/16 v5, 0xb

    invoke-virtual {v0, v5}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    .line 805
    .local v5, "clickAbleFalseBackground":Landroid/graphics/drawable/Drawable;
    if-eqz v5, :cond_177

    .line 806
    instance-of v7, v5, Landroid/graphics/drawable/ColorDrawable;

    if-eqz v7, :cond_175

    .line 807
    move-object v7, v5

    check-cast v7, Landroid/graphics/drawable/ColorDrawable;

    .line 808
    .local v7, "colorDrawableClickableFalse":Landroid/graphics/drawable/ColorDrawable;
    invoke-virtual {v7}, Landroid/graphics/drawable/ColorDrawable;->getColor()I

    move-result v8

    iput v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseColor:I

    .line 809
    .end local v7    # "colorDrawableClickableFalse":Landroid/graphics/drawable/ColorDrawable;
    goto :goto_177

    .line 810
    :cond_175
    iput-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseDrawable:Landroid/graphics/drawable/Drawable;

    .line 815
    :cond_177
    :goto_177
    const/16 v7, 0x18

    invoke-virtual {v0, v7, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v7

    iput v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    .line 816
    const/4 v7, 0x3

    invoke-virtual {v0, v7, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v8

    iput v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->centerColor:I

    .line 817
    const/16 v8, 0x9

    invoke-virtual {v0, v8, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v8

    iput v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->endColor:I

    .line 818
    iget v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    if-eq v9, v6, :cond_19d

    .line 820
    if-eq v8, v6, :cond_195

    goto :goto_19d

    .line 821
    :cond_195
    new-instance v2, Ljava/lang/UnsupportedOperationException;

    const-string v3, "\u4f7f\u7528\u4e86ShadowLayout_hl_startColor\u6e10\u53d8\u8d77\u59cb\u8272\uff0c\u5fc5\u987b\u642d\u914d\u7ec8\u6b62\u8272ShadowLayout_hl_endColor"

    invoke-direct {v2, v3}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2

    .line 826
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :cond_19d
    :goto_19d
    invoke-virtual {v0, v3, v2}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result v8

    iput v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->angle:I

    .line 827
    rem-int/lit8 v8, v8, 0x2d

    if-nez v8, :cond_1f8

    .line 832
    iget v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-ne v8, v7, :cond_1c2

    .line 834
    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    if-eq v7, v6, :cond_1ba

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    if-eq v7, v6, :cond_1ba

    .line 839
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v7, :cond_1c2

    .line 840
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    goto :goto_1c2

    .line 835
    :cond_1ba
    new-instance v2, Ljava/lang/NullPointerException;

    const-string v3, "\u4f7f\u7528\u4e86ShadowLayout\u7684\u6c34\u6ce2\u7eb9\uff0c\u5fc5\u987b\u8bbe\u7f6e\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground\u548c\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground_true\u5c5e\u6027\uff0c\u4e14\u4e3a\u989c\u8272\u503c"

    invoke-direct {v2, v3}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2

    .line 845
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :cond_1c2
    :goto_1c2
    const/4 v7, 0x2

    const/4 v8, -0x1

    invoke-virtual {v0, v7, v8}, Landroid/content/res/TypedArray;->getResourceId(II)I

    move-result v7

    iput v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextViewResId:I

    .line 846
    const/16 v7, 0x1d

    invoke-virtual {v0, v7, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v7

    iput v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    .line 847
    const/16 v7, 0x1e

    invoke-virtual {v0, v7, v6}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v6

    iput v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    .line 848
    const/16 v6, 0x1c

    invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    .line 849
    const/16 v6, 0x1f

    invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    .line 851
    invoke-virtual {v0, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v2

    iput-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    .line 852
    invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setClickable(Z)V
    :try_end_1f3
    .catchall {:try_start_10 .. :try_end_1f3} :catchall_200

    .line 856
    .end local v1    # "background":Landroid/graphics/drawable/Drawable;
    .end local v4    # "trueBackground":Landroid/graphics/drawable/Drawable;
    .end local v5    # "clickAbleFalseBackground":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V

    .line 857
    nop

    .line 858
    return-void

    .line 828
    .restart local v1    # "background":Landroid/graphics/drawable/Drawable;
    .restart local v4    # "trueBackground":Landroid/graphics/drawable/Drawable;
    .restart local v5    # "clickAbleFalseBackground":Landroid/graphics/drawable/Drawable;
    :cond_1f8
    :try_start_1f8
    new-instance v2, Ljava/lang/IllegalArgumentException;

    const-string v3, "Linear gradient requires \'angle\' attribute to be a multiple of 45"

    invoke-direct {v2, v3}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    .end local v0    # "attr":Landroid/content/res/TypedArray;
    .end local p1    # "attrs":Landroid/util/AttributeSet;
    throw v2
    :try_end_200
    .catchall {:try_start_1f8 .. :try_end_200} :catchall_200

    .line 856
    .end local v1    # "background":Landroid/graphics/drawable/Drawable;
    .end local v4    # "trueBackground":Landroid/graphics/drawable/Drawable;
    .end local v5    # "clickAbleFalseBackground":Landroid/graphics/drawable/Drawable;
    .restart local v0    # "attr":Landroid/content/res/TypedArray;
    .restart local p1    # "attrs":Landroid/util/AttributeSet;
    :catchall_200
    move-exception v1

    invoke-virtual {v0}, Landroid/content/res/TypedArray;->recycle()V

    .line 857
    throw v1
.end method

.method private initView(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 6
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;

    .line 496
    invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->initAttributes(Landroid/util/AttributeSet;)V

    .line 497
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    .line 498
    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 499
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->shadowPaint:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 502
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    .line 503
    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 504
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 505
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 506
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    const/16 v2, -0x65

    if-eq v0, v2, :cond_38

    .line 507
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v2, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 512
    :cond_38
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    .line 513
    sget-object v1, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 515
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 517
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 518
    return-void
.end method

.method private ripple([F)V
    .registers 13
    .param p1, "outRadius"    # [F

    .line 1272
    const/4 v0, 0x4

    new-array v1, v0, [[I

    const/4 v2, 0x1

    new-array v3, v2, [I

    const v4, 0x10100a7

    const/4 v5, 0x0

    aput v4, v3, v5

    aput-object v3, v1, v5

    new-array v3, v2, [I

    const v4, 0x101009c

    aput v4, v3, v5

    aput-object v3, v1, v2

    new-array v3, v2, [I

    const v4, 0x10102fe

    aput v4, v3, v5

    const/4 v4, 0x2

    aput-object v3, v1, v4

    new-array v3, v5, [I

    const/4 v6, 0x3

    aput-object v3, v1, v6

    .line 1280
    .local v1, "stateList":[[I
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    .line 1282
    .local v3, "normalColor":I
    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    .line 1283
    .local v7, "pressedColor":I
    new-array v0, v0, [I

    aput v7, v0, v5

    aput v7, v0, v2

    aput v7, v0, v4

    aput v3, v0, v6

    .line 1289
    .local v0, "stateColorList":[I
    new-instance v2, Landroid/content/res/ColorStateList;

    invoke-direct {v2, v1, v0}, Landroid/content/res/ColorStateList;-><init>([[I[I)V

    .line 1291
    .local v2, "colorStateList":Landroid/content/res/ColorStateList;
    new-instance v4, Landroid/graphics/drawable/shapes/RoundRectShape;

    const/4 v5, 0x0

    invoke-direct {v4, p1, v5, v5}, Landroid/graphics/drawable/shapes/RoundRectShape;-><init>([FLandroid/graphics/RectF;[F)V

    .line 1292
    .local v4, "roundRectShape":Landroid/graphics/drawable/shapes/RoundRectShape;
    new-instance v5, Landroid/graphics/drawable/ShapeDrawable;

    invoke-direct {v5}, Landroid/graphics/drawable/ShapeDrawable;-><init>()V

    .line 1293
    .local v5, "maskDrawable":Landroid/graphics/drawable/ShapeDrawable;
    invoke-virtual {v5, v4}, Landroid/graphics/drawable/ShapeDrawable;->setShape(Landroid/graphics/drawable/shapes/Shape;)V

    .line 1294
    invoke-virtual {v5}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v6

    sget-object v8, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v6, v8}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 1295
    iget v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    const/16 v8, -0x65

    if-eq v6, v8, :cond_5e

    .line 1297
    invoke-virtual {v5}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v6

    invoke-virtual {p0, v6}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    goto :goto_65

    .line 1299
    :cond_5e
    invoke-virtual {v5}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v6

    invoke-virtual {v6, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 1302
    :goto_65
    new-instance v6, Landroid/graphics/drawable/ShapeDrawable;

    invoke-direct {v6}, Landroid/graphics/drawable/ShapeDrawable;-><init>()V

    .line 1303
    .local v6, "contentDrawable":Landroid/graphics/drawable/ShapeDrawable;
    invoke-virtual {v6, v4}, Landroid/graphics/drawable/ShapeDrawable;->setShape(Landroid/graphics/drawable/shapes/Shape;)V

    .line 1304
    invoke-virtual {v6}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v9

    sget-object v10, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v9, v10}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 1306
    iget v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    if-eq v9, v8, :cond_82

    .line 1308
    invoke-virtual {v6}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v8

    invoke-virtual {p0, v8}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    goto :goto_89

    .line 1310
    :cond_82
    invoke-virtual {v6}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v8

    invoke-virtual {v8, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 1314
    :goto_89
    new-instance v8, Landroid/graphics/drawable/RippleDrawable;

    invoke-direct {v8, v2, v6, v5}, Landroid/graphics/drawable/RippleDrawable;-><init>(Landroid/content/res/ColorStateList;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 1315
    .local v8, "rippleDrawable":Landroid/graphics/drawable/RippleDrawable;
    iget-object v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    invoke-virtual {v9, v8}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 1316
    return-void
.end method

.method private setBackgroundCompat(II)V
    .registers 13
    .param p1, "w"    # I
    .param p2, "h"    # I

    .line 684
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    if-eqz v0, :cond_2e

    .line 686
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowColor:I

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isAddAlpha(I)V

    .line 687
    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    iget v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowColor:I

    const/4 v9, 0x0

    move-object v1, p0

    move v2, p1

    move v3, p2

    invoke-direct/range {v1 .. v9}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->createShadowBitmap(IIFFFFII)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 688
    .local v0, "bitmap":Landroid/graphics/Bitmap;
    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    .line 689
    .local v1, "drawable":Landroid/graphics/drawable/BitmapDrawable;
    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-gt v2, v3, :cond_2a

    .line 690
    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_2d

    .line 692
    :cond_2a
    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 694
    .end local v0    # "bitmap":Landroid/graphics/Bitmap;
    .end local v1    # "drawable":Landroid/graphics/drawable/BitmapDrawable;
    :goto_2d
    goto :goto_5a

    .line 695
    :cond_2e
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "#00000000"

    if-nez v0, :cond_53

    .line 696
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_4b

    .line 697
    iput-object p0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    .line 698
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v1, :cond_47

    .line 699
    const-string v1, "setBackgroundCompat"

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    goto :goto_5a

    .line 701
    :cond_47
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->changeSwitchClickable()V

    goto :goto_5a

    .line 705
    :cond_4b
    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundColor(I)V

    goto :goto_5a

    .line 708
    :cond_53
    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundColor(I)V

    .line 714
    :goto_5a
    return-void
.end method

.method private setSpaceCorner(Landroid/graphics/Canvas;I)V
    .registers 13
    .param p1, "canvas"    # Landroid/graphics/Canvas;
    .param p2, "trueHeight"    # I

    .line 1221
    invoke-virtual {p0, p2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getCornerValue(I)[F

    move-result-object v0

    .line 1223
    .local v0, "outerR":[F
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    const/16 v2, 0x15

    const/4 v3, 0x3

    const/4 v4, 0x0

    const/16 v5, -0x65

    if-eq v1, v5, :cond_c1

    .line 1224
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-eq v1, v3, :cond_b9

    .line 1225
    new-instance v1, Landroid/graphics/drawable/ShapeDrawable;

    new-instance v2, Landroid/graphics/drawable/shapes/RoundRectShape;

    invoke-direct {v2, v0, v4, v4}, Landroid/graphics/drawable/shapes/RoundRectShape;-><init>([FLandroid/graphics/RectF;[F)V

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V

    .line 1226
    .local v1, "mDrawables":Landroid/graphics/drawable/ShapeDrawable;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v2}, Landroid/graphics/Paint;->getShader()Landroid/graphics/Shader;

    move-result-object v2

    if-eqz v2, :cond_32

    .line 1227
    invoke-virtual {v1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v3}, Landroid/graphics/Paint;->getShader()Landroid/graphics/Shader;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    goto :goto_3f

    .line 1229
    :cond_32
    invoke-virtual {v1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v3}, Landroid/graphics/Paint;->getColor()I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 1231
    :goto_3f
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v5

    iget v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v5, v6

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v6

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v6, v7

    invoke-virtual {v1, v2, v3, v5, v6}, Landroid/graphics/drawable/ShapeDrawable;->setBounds(IIII)V

    .line 1232
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/ShapeDrawable;->draw(Landroid/graphics/Canvas;)V

    .line 1234
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    float-to-int v2, v2

    invoke-virtual {p0, p2, v2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getCornerValueOther(II)[F

    move-result-object v2

    .line 1235
    .local v2, "outerR_stroke":[F
    new-instance v3, Landroid/graphics/drawable/ShapeDrawable;

    new-instance v5, Landroid/graphics/drawable/shapes/RoundRectShape;

    invoke-direct {v5, v2, v4, v4}, Landroid/graphics/drawable/shapes/RoundRectShape;-><init>([FLandroid/graphics/RectF;[F)V

    invoke-direct {v3, v5}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V

    .line 1236
    .local v3, "mDrawablesStroke":Landroid/graphics/drawable/ShapeDrawable;
    invoke-virtual {v3}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v5}, Landroid/graphics/Paint;->getColor()I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setColor(I)V

    .line 1237
    invoke-virtual {v3}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v4

    sget-object v5, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 1238
    invoke-virtual {v3}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 1239
    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v4, v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    const/high16 v6, 0x40000000    # 2.0f

    div-float v7, v5, v6

    add-float/2addr v4, v7

    float-to-int v4, v4

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v7

    div-float/2addr v5, v6

    add-float/2addr v7, v5

    float-to-int v5, v7

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v7

    iget v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v7, v8

    int-to-float v7, v7

    iget v8, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v8, v6

    sub-float/2addr v7, v8

    float-to-int v7, v7

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v8

    iget v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v8, v9

    int-to-float v8, v8

    iget v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v9, v6

    sub-float/2addr v8, v9

    float-to-int v6, v8

    invoke-virtual {v3, v4, v5, v7, v6}, Landroid/graphics/drawable/ShapeDrawable;->setBounds(IIII)V

    .line 1242
    invoke-virtual {v3, p1}, Landroid/graphics/drawable/ShapeDrawable;->draw(Landroid/graphics/Canvas;)V

    .line 1243
    .end local v1    # "mDrawables":Landroid/graphics/drawable/ShapeDrawable;
    .end local v2    # "outerR_stroke":[F
    .end local v3    # "mDrawablesStroke":Landroid/graphics/drawable/ShapeDrawable;
    goto :goto_112

    .line 1244
    :cond_b9
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v2, :cond_112

    .line 1245
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->ripple([F)V

    goto :goto_112

    .line 1250
    :cond_c1
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-eq v1, v3, :cond_10b

    .line 1251
    new-instance v1, Landroid/graphics/drawable/ShapeDrawable;

    new-instance v2, Landroid/graphics/drawable/shapes/RoundRectShape;

    invoke-direct {v2, v0, v4, v4}, Landroid/graphics/drawable/shapes/RoundRectShape;-><init>([FLandroid/graphics/RectF;[F)V

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ShapeDrawable;-><init>(Landroid/graphics/drawable/shapes/Shape;)V

    .line 1252
    .restart local v1    # "mDrawables":Landroid/graphics/drawable/ShapeDrawable;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v2}, Landroid/graphics/Paint;->getShader()Landroid/graphics/Shader;

    move-result-object v2

    if-eqz v2, :cond_e5

    .line 1253
    invoke-virtual {v1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v3}, Landroid/graphics/Paint;->getShader()Landroid/graphics/Shader;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    goto :goto_f2

    .line 1255
    :cond_e5
    invoke-virtual {v1}, Landroid/graphics/drawable/ShapeDrawable;->getPaint()Landroid/graphics/Paint;

    move-result-object v2

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v3}, Landroid/graphics/Paint;->getColor()I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 1257
    :goto_f2
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v5

    iget v6, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v5, v6

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/graphics/drawable/ShapeDrawable;->setBounds(IIII)V

    .line 1258
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/ShapeDrawable;->draw(Landroid/graphics/Canvas;)V

    .line 1259
    .end local v1    # "mDrawables":Landroid/graphics/drawable/ShapeDrawable;
    goto :goto_112

    .line 1260
    :cond_10b
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v2, :cond_112

    .line 1261
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->ripple([F)V

    .line 1266
    :cond_112
    :goto_112
    return-void
.end method


# virtual methods
.method public changeSwitchClickable()V
    .registers 6

    .line 148
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_63

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    if-eqz v0, :cond_63

    .line 151
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    const/4 v2, 0x0

    const-string v3, "changeSwitchClickable"

    if-nez v1, :cond_42

    .line 153
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseColor:I

    const/16 v4, -0x65

    if-eq v1, v4, :cond_2c

    .line 155
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_21

    .line 157
    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    .line 159
    :cond_21
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseColor:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 160
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    goto :goto_63

    .line 163
    :cond_2c
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseDrawable:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_63

    .line 165
    invoke-virtual {p0, v0, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 166
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    const-string v1, "#00000000"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 167
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    goto :goto_63

    .line 171
    :cond_42
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_4a

    .line 172
    invoke-virtual {p0, v1, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    goto :goto_59

    .line 174
    :cond_4a
    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    if-eqz v0, :cond_59

    .line 175
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    .line 178
    :cond_59
    :goto_59
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 179
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 182
    :cond_63
    :goto_63
    return-void
.end method

.method public dip2px(F)I
    .registers 5
    .param p1, "dipValue"    # F

    .line 597
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    .line 598
    .local v0, "scale":F
    mul-float v1, p1, v0

    const/high16 v2, 0x3f000000    # 0.5f

    add-float/2addr v1, v2

    float-to-int v1, v1

    return v1
.end method

.method protected dispatchDraw(Landroid/graphics/Canvas;)V
    .registers 14
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .line 1022
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v0, v0, Landroid/graphics/RectF;->bottom:F

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v1, v1, Landroid/graphics/RectF;->top:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    .line 1023
    .local v0, "trueHeight":I
    const/4 v1, 0x0

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_85

    .line 1024
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/high16 v2, -0x40800000    # -1.0f

    cmpl-float v1, v1, v2

    if-nez v1, :cond_5c

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_5c

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_5c

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_5c

    .line 1026
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    div-int/lit8 v2, v0, 0x2

    int-to-float v2, v2

    cmpl-float v1, v1, v2

    if-lez v1, :cond_4a

    .line 1027
    new-instance v1, Landroid/graphics/Path;

    invoke-direct {v1}, Landroid/graphics/Path;-><init>()V

    .line 1028
    .local v1, "path":Landroid/graphics/Path;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    div-int/lit8 v3, v0, 0x2

    int-to-float v3, v3

    div-int/lit8 v4, v0, 0x2

    int-to-float v4, v4

    sget-object v5, Landroid/graphics/Path$Direction;->CW:Landroid/graphics/Path$Direction;

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/graphics/Path;->addRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Path$Direction;)V

    .line 1029
    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;)Z

    .line 1030
    .end local v1    # "path":Landroid/graphics/Path;
    goto :goto_85

    .line 1031
    :cond_4a
    new-instance v1, Landroid/graphics/Path;

    invoke-direct {v1}, Landroid/graphics/Path;-><init>()V

    .line 1032
    .restart local v1    # "path":Landroid/graphics/Path;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    sget-object v4, Landroid/graphics/Path$Direction;->CW:Landroid/graphics/Path$Direction;

    invoke-virtual {v1, v2, v3, v3, v4}, Landroid/graphics/Path;->addRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Path$Direction;)V

    .line 1033
    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;)Z

    .line 1034
    .end local v1    # "path":Landroid/graphics/Path;
    goto :goto_85

    .line 1036
    :cond_5c
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getCornerValue(I)[F

    move-result-object v1

    .line 1037
    .local v1, "outerR":[F
    new-instance v2, Landroid/graphics/Path;

    invoke-direct {v2}, Landroid/graphics/Path;-><init>()V

    .line 1038
    .local v2, "path":Landroid/graphics/Path;
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v6, v3

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v3

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v3, v4

    int-to-float v8, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v3

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v3, v4

    int-to-float v9, v3

    sget-object v11, Landroid/graphics/Path$Direction;->CW:Landroid/graphics/Path$Direction;

    move-object v5, v2

    move-object v10, v1

    invoke-virtual/range {v5 .. v11}, Landroid/graphics/Path;->addRoundRect(FFFF[FLandroid/graphics/Path$Direction;)V

    .line 1039
    invoke-virtual {p1, v2}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;)Z

    .line 1043
    .end local v1    # "outerR":[F
    .end local v2    # "path":Landroid/graphics/Path;
    :cond_85
    :goto_85
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchDraw(Landroid/graphics/Canvas;)V

    .line 1044
    return-void
.end method

.method public getCornerRadius()F
    .registers 2

    .line 288
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    return v0
.end method

.method public getCornerValue(I)[F
    .registers 9
    .param p1, "trueHeight"    # I

    .line 1116
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/high16 v1, -0x40800000    # -1.0f

    cmpl-float v2, v0, v1

    if-nez v2, :cond_c

    .line 1117
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v0, v0

    .local v0, "leftTop":I
    goto :goto_d

    .line 1119
    .end local v0    # "leftTop":I
    :cond_c
    float-to-int v0, v0

    .line 1122
    .restart local v0    # "leftTop":I
    :goto_d
    div-int/lit8 v2, p1, 0x2

    if-le v0, v2, :cond_13

    .line 1123
    div-int/lit8 v0, p1, 0x2

    .line 1126
    :cond_13
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v3, v2, v1

    if-nez v3, :cond_1d

    .line 1127
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v2, v2

    .local v2, "rightTop":I
    goto :goto_1e

    .line 1129
    .end local v2    # "rightTop":I
    :cond_1d
    float-to-int v2, v2

    .line 1132
    .restart local v2    # "rightTop":I
    :goto_1e
    div-int/lit8 v3, p1, 0x2

    if-le v2, v3, :cond_24

    .line 1133
    div-int/lit8 v2, p1, 0x2

    .line 1136
    :cond_24
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v4, v3, v1

    if-nez v4, :cond_2e

    .line 1137
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v3, v3

    .local v3, "rightBottom":I
    goto :goto_2f

    .line 1139
    .end local v3    # "rightBottom":I
    :cond_2e
    float-to-int v3, v3

    .line 1142
    .restart local v3    # "rightBottom":I
    :goto_2f
    div-int/lit8 v4, p1, 0x2

    if-le v3, v4, :cond_35

    .line 1143
    div-int/lit8 v3, p1, 0x2

    .line 1147
    :cond_35
    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v1, v4, v1

    if-nez v1, :cond_3f

    .line 1148
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v1, v1

    .local v1, "leftBottom":I
    goto :goto_40

    .line 1150
    .end local v1    # "leftBottom":I
    :cond_3f
    float-to-int v1, v4

    .line 1153
    .restart local v1    # "leftBottom":I
    :goto_40
    div-int/lit8 v4, p1, 0x2

    if-le v1, v4, :cond_46

    .line 1154
    div-int/lit8 v1, p1, 0x2

    .line 1157
    :cond_46
    const/16 v4, 0x8

    new-array v4, v4, [F

    const/4 v5, 0x0

    int-to-float v6, v0

    aput v6, v4, v5

    const/4 v5, 0x1

    int-to-float v6, v0

    aput v6, v4, v5

    int-to-float v5, v2

    const/4 v6, 0x2

    aput v5, v4, v6

    const/4 v5, 0x3

    int-to-float v6, v2

    aput v6, v4, v5

    const/4 v5, 0x4

    int-to-float v6, v3

    aput v6, v4, v5

    const/4 v5, 0x5

    int-to-float v6, v3

    aput v6, v4, v5

    const/4 v5, 0x6

    int-to-float v6, v1

    aput v6, v4, v5

    const/4 v5, 0x7

    int-to-float v6, v1

    aput v6, v4, v5

    .line 1158
    .local v4, "outerR":[F
    return-object v4
.end method

.method public getCornerValueOther(II)[F
    .registers 10
    .param p1, "trueHeight"    # I
    .param p2, "stokeWith"    # I

    .line 1163
    sub-int/2addr p1, p2

    .line 1168
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/high16 v1, -0x40800000    # -1.0f

    cmpl-float v2, v0, v1

    if-nez v2, :cond_d

    .line 1169
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v0, v0

    .local v0, "leftTop":I
    goto :goto_e

    .line 1171
    .end local v0    # "leftTop":I
    :cond_d
    float-to-int v0, v0

    .line 1174
    .restart local v0    # "leftTop":I
    :goto_e
    div-int/lit8 v2, p1, 0x2

    if-le v0, v2, :cond_14

    .line 1175
    div-int/lit8 v0, p1, 0x2

    .line 1178
    :cond_14
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v3, v2, v1

    if-nez v3, :cond_1e

    .line 1179
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v2, v2

    .local v2, "rightTop":I
    goto :goto_1f

    .line 1181
    .end local v2    # "rightTop":I
    :cond_1e
    float-to-int v2, v2

    .line 1184
    .restart local v2    # "rightTop":I
    :goto_1f
    div-int/lit8 v3, p1, 0x2

    if-le v2, v3, :cond_25

    .line 1185
    div-int/lit8 v2, p1, 0x2

    .line 1188
    :cond_25
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v4, v3, v1

    if-nez v4, :cond_2f

    .line 1189
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v3, v3

    .local v3, "rightBottom":I
    goto :goto_30

    .line 1191
    .end local v3    # "rightBottom":I
    :cond_2f
    float-to-int v3, v3

    .line 1194
    .restart local v3    # "rightBottom":I
    :goto_30
    div-int/lit8 v4, p1, 0x2

    if-le v3, v4, :cond_36

    .line 1195
    div-int/lit8 v3, p1, 0x2

    .line 1199
    :cond_36
    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v1, v4, v1

    if-nez v1, :cond_40

    .line 1200
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v1, v1

    .local v1, "leftBottom":I
    goto :goto_41

    .line 1202
    .end local v1    # "leftBottom":I
    :cond_40
    float-to-int v1, v4

    .line 1205
    .restart local v1    # "leftBottom":I
    :goto_41
    div-int/lit8 v4, p1, 0x2

    if-le v1, v4, :cond_47

    .line 1206
    div-int/lit8 v1, p1, 0x2

    .line 1208
    :cond_47
    div-int/lit8 v4, p2, 0x2

    sub-int/2addr v0, v4

    .line 1209
    div-int/lit8 v4, p2, 0x2

    sub-int/2addr v2, v4

    .line 1210
    div-int/lit8 v4, p2, 0x2

    sub-int/2addr v1, v4

    .line 1211
    div-int/lit8 v4, p2, 0x2

    sub-int/2addr v3, v4

    .line 1213
    const/16 v4, 0x8

    new-array v4, v4, [F

    const/4 v5, 0x0

    int-to-float v6, v0

    aput v6, v4, v5

    const/4 v5, 0x1

    int-to-float v6, v0

    aput v6, v4, v5

    int-to-float v5, v2

    const/4 v6, 0x2

    aput v5, v4, v6

    const/4 v5, 0x3

    int-to-float v6, v2

    aput v6, v4, v5

    const/4 v5, 0x4

    int-to-float v6, v3

    aput v6, v4, v5

    const/4 v5, 0x5

    int-to-float v6, v3

    aput v6, v4, v5

    const/4 v5, 0x6

    int-to-float v6, v1

    aput v6, v4, v5

    const/4 v5, 0x7

    int-to-float v6, v1

    aput v6, v4, v5

    .line 1214
    .local v4, "outerR":[F
    return-object v4
.end method

.method public getShadowLimit()F
    .registers 2

    .line 300
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    return v0
.end method

.method public gradient(Landroid/graphics/Paint;)V
    .registers 15
    .param p1, "paint"    # Landroid/graphics/Paint;

    .line 524
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-nez v0, :cond_9

    .line 525
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 526
    return-void

    .line 532
    :cond_9
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->centerColor:I

    const/16 v1, -0x65

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v4, 0x2

    if-ne v0, v1, :cond_1d

    .line 533
    new-array v0, v4, [I

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    aput v1, v0, v3

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->endColor:I

    aput v1, v0, v2

    .local v0, "colors":[I
    goto :goto_2b

    .line 535
    .end local v0    # "colors":[I
    :cond_1d
    const/4 v1, 0x3

    new-array v1, v1, [I

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    aput v5, v1, v3

    aput v0, v1, v2

    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->endColor:I

    aput v0, v1, v4

    move-object v0, v1

    .line 538
    .restart local v0    # "colors":[I
    :goto_2b
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->angle:I

    if-gez v1, :cond_35

    .line 539
    rem-int/lit16 v1, v1, 0x168

    .line 540
    .local v1, "trueAngle":I
    add-int/lit16 v2, v1, 0x168

    iput v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->angle:I

    .line 545
    .end local v1    # "trueAngle":I
    :cond_35
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->angle:I

    rem-int/lit16 v1, v1, 0x168

    .line 546
    .restart local v1    # "trueAngle":I
    div-int/lit8 v2, v1, 0x2d

    .line 548
    .local v2, "angleFlag":I
    packed-switch v2, :pswitch_data_160

    goto/16 :goto_15e

    .line 586
    :pswitch_40
    new-instance v3, Landroid/graphics/LinearGradient;

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v6, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v8, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v4, v5

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 587
    .local v3, "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    goto/16 :goto_15e

    .line 580
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_65
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v3

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v3, v5

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    sub-int/2addr v3, v5

    div-int/2addr v3, v4

    add-int/2addr v3, v5

    .line 581
    .local v3, "x":I
    new-instance v4, Landroid/graphics/LinearGradient;

    int-to-float v6, v3

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v5

    int-to-float v8, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v5

    iget v9, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v5, v9

    int-to-float v9, v5

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v4

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 582
    .local v4, "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v4}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 583
    goto/16 :goto_15e

    .line 575
    .end local v3    # "x":I
    .end local v4    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_8d
    new-instance v3, Landroid/graphics/LinearGradient;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v6, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v8, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v4, v5

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 576
    .local v3, "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 577
    goto/16 :goto_15e

    .line 570
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_b2
    new-instance v3, Landroid/graphics/LinearGradient;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v6, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v8, v5

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 571
    .restart local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 572
    goto/16 :goto_15e

    .line 566
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_d0
    new-instance v3, Landroid/graphics/LinearGradient;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v6, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v4, v5

    int-to-float v7, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v8, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 567
    .restart local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 568
    goto :goto_15e

    .line 560
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_f4
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v3

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v3, v5

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    sub-int/2addr v3, v5

    div-int/2addr v3, v4

    add-int/2addr v3, v5

    .line 561
    .local v3, "x_":I
    new-instance v4, Landroid/graphics/LinearGradient;

    int-to-float v6, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v5

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v5, v7

    int-to-float v7, v5

    int-to-float v8, v3

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v9, v5

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v4

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 562
    .restart local v4    # "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v4}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 563
    goto :goto_15e

    .line 555
    .end local v3    # "x_":I
    .end local v4    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_11b
    new-instance v3, Landroid/graphics/LinearGradient;

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v6, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v4, v5

    int-to-float v7, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v8, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 556
    .local v3, "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 557
    goto :goto_15e

    .line 550
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :pswitch_13f
    new-instance v3, Landroid/graphics/LinearGradient;

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v6, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v7, v4

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v4

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v4, v5

    int-to-float v8, v4

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v9, v4

    const/4 v11, 0x0

    sget-object v12, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;

    move-object v5, v3

    move-object v10, v0

    invoke-direct/range {v5 .. v12}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 551
    .restart local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    invoke-virtual {p1, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 552
    nop

    .line 593
    .end local v3    # "linearGradient":Landroid/graphics/LinearGradient;
    :goto_15e
    return-void

    nop

    :pswitch_data_160
    .packed-switch 0x0
        :pswitch_13f
        :pswitch_11b
        :pswitch_f4
        :pswitch_d0
        :pswitch_b2
        :pswitch_8d
        :pswitch_65
        :pswitch_40
    .end packed-switch
.end method

.method public isAddAlpha(I)V
    .registers 8
    .param p1, "color"    # I

    .line 1321
    invoke-static {p1}, Landroid/graphics/Color;->alpha(I)I

    move-result v0

    const/16 v1, 0xff

    if-ne v0, v1, :cond_7f

    .line 1322
    invoke-static {p1}, Landroid/graphics/Color;->red(I)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v0

    .line 1323
    .local v0, "red":Ljava/lang/String;
    invoke-static {p1}, Landroid/graphics/Color;->green(I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v1

    .line 1324
    .local v1, "green":Ljava/lang/String;
    invoke-static {p1}, Landroid/graphics/Color;->blue(I)I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v2

    .line 1326
    .local v2, "blue":Ljava/lang/String;
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    const-string v4, "0"

    const/4 v5, 0x1

    if-ne v3, v5, :cond_38

    .line 1327
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1330
    :cond_38
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    if-ne v3, v5, :cond_4d

    .line 1331
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1334
    :cond_4d
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    if-ne v3, v5, :cond_62

    .line 1335
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 1337
    :cond_62
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "#2a"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 1338
    .local v3, "endColor":Ljava/lang/String;
    invoke-static {v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->convertToColorInt(Ljava/lang/String;)I

    move-result v4

    iput v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowColor:I

    .line 1340
    .end local v0    # "red":Ljava/lang/String;
    .end local v1    # "green":Ljava/lang/String;
    .end local v2    # "blue":Ljava/lang/String;
    .end local v3    # "endColor":Ljava/lang/String;
    :cond_7f
    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .registers 10
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .line 1055
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onDraw(Landroid/graphics/Canvas;)V

    .line 1056
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    int-to-float v1, v1

    iput v1, v0, Landroid/graphics/RectF;->left:F

    .line 1057
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    int-to-float v1, v1

    iput v1, v0, Landroid/graphics/RectF;->top:F

    .line 1058
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    iput v1, v0, Landroid/graphics/RectF;->right:F

    .line 1059
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    iput v1, v0, Landroid/graphics/RectF;->bottom:F

    .line 1060
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v0, v0, Landroid/graphics/RectF;->bottom:F

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v1, v1, Landroid/graphics/RectF;->top:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    .line 1063
    .local v0, "trueHeight":I
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/high16 v2, -0x40800000    # -1.0f

    cmpl-float v1, v1, v2

    if-nez v1, :cond_117

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_117

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_117

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_117

    .line 1064
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    div-int/lit8 v2, v0, 0x2

    int-to-float v2, v2

    const/16 v3, -0x65

    const/16 v4, 0x15

    const/4 v5, 0x3

    const/high16 v6, 0x40000000    # 2.0f

    cmpl-float v2, v1, v2

    if-lez v2, :cond_bf

    .line 1065
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-eq v1, v5, :cond_b3

    .line 1066
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v1, :cond_122

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-nez v1, :cond_122

    .line 1068
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    div-int/lit8 v2, v0, 0x2

    int-to-float v2, v2

    div-int/lit8 v4, v0, 0x2

    int-to-float v4, v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v4, v5}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 1070
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    if-eq v1, v3, :cond_122

    .line 1071
    new-instance v1, Landroid/graphics/RectF;

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v2, v2, Landroid/graphics/RectF;->left:F

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v3, v6

    add-float/2addr v2, v3

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v3, v3, Landroid/graphics/RectF;->top:F

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v4, v6

    add-float/2addr v3, v4

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v4, v4, Landroid/graphics/RectF;->right:F

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v5, v6

    sub-float/2addr v4, v5

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v5, v5, Landroid/graphics/RectF;->bottom:F

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v7, v6

    sub-float/2addr v5, v7

    invoke-direct {v1, v2, v3, v4, v5}, Landroid/graphics/RectF;-><init>(FFFF)V

    .line 1072
    .local v1, "rectFStroke":Landroid/graphics/RectF;
    div-int/lit8 v2, v0, 0x2

    int-to-float v2, v2

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float v4, v3, v6

    sub-float/2addr v2, v4

    div-int/lit8 v4, v0, 0x2

    int-to-float v4, v4

    div-float/2addr v3, v6

    sub-float/2addr v4, v3

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v4, v3}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 1073
    .end local v1    # "rectFStroke":Landroid/graphics/RectF;
    goto/16 :goto_122

    .line 1076
    :cond_b3
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v4, :cond_122

    .line 1077
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getCornerValue(I)[F

    move-result-object v1

    .line 1078
    .local v1, "outerR":[F
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->ripple([F)V

    .line 1079
    .end local v1    # "outerR":[F
    goto :goto_122

    .line 1084
    :cond_bf
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-eq v2, v5, :cond_10b

    .line 1085
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v2, :cond_122

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-nez v2, :cond_122

    .line 1086
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {p1, v2, v1, v1, v4}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 1087
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    if-eq v1, v3, :cond_122

    .line 1088
    new-instance v1, Landroid/graphics/RectF;

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v2, v2, Landroid/graphics/RectF;->left:F

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v3, v6

    add-float/2addr v2, v3

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v3, v3, Landroid/graphics/RectF;->top:F

    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v4, v6

    add-float/2addr v3, v4

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v4, v4, Landroid/graphics/RectF;->right:F

    iget v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v5, v6

    sub-float/2addr v4, v5

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rectf:Landroid/graphics/RectF;

    iget v5, v5, Landroid/graphics/RectF;->bottom:F

    iget v7, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float/2addr v7, v6

    sub-float/2addr v5, v7

    invoke-direct {v1, v2, v3, v4, v5}, Landroid/graphics/RectF;-><init>(FFFF)V

    .line 1089
    .local v1, "rectFStroke":Landroid/graphics/RectF;
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    div-float v4, v3, v6

    sub-float v4, v2, v4

    div-float/2addr v3, v6

    sub-float/2addr v2, v3

    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v4, v2, v3}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 1090
    .end local v1    # "rectFStroke":Landroid/graphics/RectF;
    goto :goto_122

    .line 1093
    :cond_10b
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v4, :cond_122

    .line 1094
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getCornerValue(I)[F

    move-result-object v1

    .line 1095
    .local v1, "outerR":[F
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->ripple([F)V

    .line 1096
    .end local v1    # "outerR":[F
    goto :goto_122

    .line 1102
    :cond_117
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v1, :cond_122

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-nez v1, :cond_122

    .line 1103
    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setSpaceCorner(Landroid/graphics/Canvas;I)V

    .line 1108
    :cond_122
    :goto_122
    return-void
.end method

.method protected onFinishInflate()V
    .registers 5

    .line 426
    invoke-super {p0}, Landroid/widget/FrameLayout;->onFinishInflate()V

    .line 427
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextViewResId:I

    const/16 v1, -0x65

    const/4 v2, -0x1

    if-eq v0, v2, :cond_49

    .line 428
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    .line 429
    if-eqz v0, :cond_41

    .line 432
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    if-ne v2, v1, :cond_1e

    .line 433
    invoke-virtual {v0}, Landroid/widget/TextView;->getCurrentTextColor()I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    .line 437
    :cond_1e
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    if-ne v0, v1, :cond_2a

    .line 438
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getCurrentTextColor()I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    .line 441
    :cond_2a
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 442
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_49

    .line 443
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_49

    .line 430
    :cond_41
    new-instance v0, Ljava/lang/NullPointerException;

    const-string v1, "ShadowLayout\u627e\u4e0d\u5230hl_bindTextView\uff0c\u8bf7\u786e\u4fdd\u7ed1\u5b9a\u7684\u8d44\u6e90id\u5728ShadowLayout\u5185"

    invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 448
    :cond_49
    :goto_49
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    .line 450
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v2, :cond_6f

    .line 451
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    const/4 v3, 0x1

    if-ne v2, v3, :cond_6f

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    const/4 v3, 0x0

    cmpl-float v2, v2, v3

    if-lez v2, :cond_6f

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    if-eqz v2, :cond_67

    goto :goto_6f

    .line 452
    :cond_67
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "\u4f7f\u7528\u4e86\u56fe\u7247\u53c8\u52a0\u4e0a\u9634\u5f71\u7684\u60c5\u51b5\u4e0b\uff0c\u5fc5\u987b\u52a0\u4e0a\u5b50view\u624d\u4f1a\u751f\u6548!~"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 456
    :cond_6f
    :goto_6f
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    if-nez v2, :cond_77

    .line 457
    iput-object p0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    .line 459
    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    .line 462
    :cond_77
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    if-eqz v0, :cond_a0

    .line 466
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v2, 0x2

    const-string v3, "onFinishInflate"

    if-ne v0, v2, :cond_88

    .line 467
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0, v0, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    goto :goto_a0

    .line 469
    :cond_88
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v0, :cond_92

    .line 470
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0, v0, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    goto :goto_a0

    .line 472
    :cond_92
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseDrawable:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0, v0, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 473
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->clickAbleFalseColor:I

    if-eq v0, v1, :cond_a0

    .line 474
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 481
    :cond_a0
    :goto_a0
    return-void
.end method

.method protected onSizeChanged(IIII)V
    .registers 7
    .param p1, "w"    # I
    .param p2, "h"    # I
    .param p3, "oldw"    # I
    .param p4, "oldh"    # I

    .line 486
    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/FrameLayout;->onSizeChanged(IIII)V

    .line 487
    if-lez p1, :cond_15

    if-lez p2, :cond_15

    .line 488
    invoke-direct {p0, p1, p2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundCompat(II)V

    .line 489
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    const/16 v1, -0x65

    if-eq v0, v1, :cond_15

    .line 490
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    .line 493
    :cond_15
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 7
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 1356
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x1

    const/4 v2, 0x3

    if-ne v0, v2, :cond_53

    .line 1358
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v0, :cond_4e

    .line 1359
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-eqz v0, :cond_32

    if-eq v0, v1, :cond_15

    if-eq v0, v2, :cond_15

    goto :goto_4e

    .line 1373
    :cond_15
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-ne v0, v2, :cond_4e

    .line 1374
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_4e

    .line 1375
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1376
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4e

    .line 1377
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_4e

    .line 1361
    :cond_32
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-ne v0, v2, :cond_4e

    .line 1362
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_4e

    .line 1363
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1364
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4e

    .line 1365
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1386
    :cond_4e
    :goto_4e
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0

    .line 1389
    :cond_53
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    const/16 v3, -0x65

    if-ne v0, v3, :cond_61

    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    if-ne v0, v3, :cond_61

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_f1

    .line 1390
    :cond_61
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v0, :cond_f1

    .line 1391
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const-string v4, "onTouchEvent"

    if-eqz v0, :cond_b3

    if-eq v0, v1, :cond_73

    if-eq v0, v2, :cond_73

    goto/16 :goto_f1

    .line 1419
    :cond_73
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-ne v0, v1, :cond_f1

    .line 1421
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 1422
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    if-eq v0, v3, :cond_87

    .line 1423
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    .line 1425
    :cond_87
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    if-eq v0, v3, :cond_90

    .line 1426
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 1429
    :cond_90
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_97

    .line 1430
    invoke-virtual {p0, v0, v4}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 1432
    :cond_97
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 1434
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_f1

    .line 1435
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1436
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_f1

    .line 1437
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_f1

    .line 1393
    :cond_b3
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    if-ne v0, v1, :cond_f1

    .line 1394
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    if-eq v0, v3, :cond_c6

    .line 1395
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 1397
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 1399
    :cond_c6
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    if-eq v0, v3, :cond_cf

    .line 1400
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v1, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 1403
    :cond_cf
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_d6

    .line 1404
    invoke-virtual {p0, v0, v4}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 1406
    :cond_d6
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 1408
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_f1

    .line 1409
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1410
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_f1

    .line 1411
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1445
    :cond_f1
    :goto_f1
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public setClickable(Z)V
    .registers 5
    .param p1, "clickable"    # Z

    .line 120
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setClickable(Z)V

    .line 121
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    .line 122
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->changeSwitchClickable()V

    .line 123
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v0, :cond_11

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->onClickListener:Landroid/view/View$OnClickListener;

    invoke-super {p0, v0}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 127
    :cond_11
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    if-eqz v0, :cond_22

    .line 128
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    const/16 v2, -0x65

    if-eq v1, v2, :cond_22

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->endColor:I

    if-eq v1, v2, :cond_22

    .line 129
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    .line 132
    :cond_22
    return-void
.end method

.method public setCornerRadius(I)V
    .registers 4
    .param p1, "mCornerRadius"    # I

    .line 293
    int-to-float v0, p1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    .line 294
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    if-eqz v0, :cond_1a

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v0

    if-eqz v0, :cond_1a

    .line 295
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v1

    invoke-direct {p0, v0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundCompat(II)V

    .line 297
    :cond_1a
    return-void
.end method

.method public setLayoutBackground(I)V
    .registers 4
    .param p1, "color"    # I

    .line 356
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_22

    .line 359
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    .line 360
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_19

    .line 362
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSelected()Z

    move-result v0

    if-nez v0, :cond_1e

    .line 363
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_1e

    .line 366
    :cond_19
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V

    .line 368
    :cond_1e
    :goto_1e
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 369
    return-void

    .line 357
    :cond_22
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground_true\u5c5e\u6027\uff0c\u8981\u4e0eShadowLayout_hl_layoutBackground\u5c5e\u6027\u7edf\u4e00\u4e3a\u989c\u8272"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setLayoutBackgroundTrue(I)V
    .registers 4
    .param p1, "color"    # I

    .line 373
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_1c

    .line 376
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    .line 377
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_18

    .line 379
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_18

    .line 380
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 383
    :cond_18
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 384
    return-void

    .line 374
    :cond_1c
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "\u4f7f\u7528\u4e86ShadowLayout_hl_layoutBackground\u5c5e\u6027\uff0c\u8981\u4e0eShadowLayout_hl_layoutBackground_true\u5c5e\u6027\u7edf\u4e00\u4e3a\u989c\u8272"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setOnClickListener(Landroid/view/View$OnClickListener;)V
    .registers 3
    .param p1, "l"    # Landroid/view/View$OnClickListener;

    .line 140
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->onClickListener:Landroid/view/View$OnClickListener;

    .line 141
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isClickable:Z

    if-eqz v0, :cond_9

    .line 142
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 144
    :cond_9
    return-void
.end method

.method public setPadding()V
    .registers 5

    .line 602
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    if-eqz v0, :cond_c0

    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    const/4 v1, 0x0

    cmpl-float v2, v0, v1

    if-lez v2, :cond_c0

    .line 604
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSym:Z

    const/4 v3, 0x0

    if-eqz v2, :cond_48

    .line 605
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    add-float/2addr v0, v1

    float-to-int v0, v0

    .line 606
    .local v0, "xPadding":I
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    add-float/2addr v1, v2

    float-to-int v1, v1

    .line 608
    .local v1, "yPadding":I
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftShow:Z

    if-eqz v2, :cond_29

    .line 609
    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    goto :goto_2b

    .line 611
    :cond_29
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    .line 614
    :goto_2b
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topShow:Z

    if-eqz v2, :cond_32

    .line 615
    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    goto :goto_34

    .line 617
    :cond_32
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    .line 621
    :goto_34
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightShow:Z

    if-eqz v2, :cond_3b

    .line 622
    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    goto :goto_3d

    .line 624
    :cond_3b
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    .line 627
    :goto_3d
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomShow:Z

    if-eqz v2, :cond_44

    .line 628
    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    goto :goto_46

    .line 630
    :cond_44
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    .line 634
    .end local v0    # "xPadding":I
    .end local v1    # "yPadding":I
    :goto_46
    goto/16 :goto_b5

    .line 635
    :cond_48
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    cmpl-float v0, v0, v2

    if-lez v0, :cond_61

    .line 636
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_5d

    .line 637
    iput v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    goto :goto_61

    .line 639
    :cond_5d
    sub-float v0, v1, v2

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    .line 644
    :cond_61
    :goto_61
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    cmpl-float v0, v0, v2

    if-lez v0, :cond_79

    .line 645
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_76

    .line 646
    iput v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    goto :goto_79

    .line 648
    :cond_76
    sub-float/2addr v1, v2

    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    .line 652
    :cond_79
    :goto_79
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topShow:Z

    if-eqz v0, :cond_86

    .line 653
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    goto :goto_88

    .line 655
    :cond_86
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    .line 658
    :goto_88
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomShow:Z

    if-eqz v0, :cond_95

    .line 659
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    add-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    goto :goto_97

    .line 661
    :cond_95
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    .line 665
    :goto_97
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightShow:Z

    if-eqz v0, :cond_a4

    .line 666
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    goto :goto_a6

    .line 668
    :cond_a4
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    .line 672
    :goto_a6
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftShow:Z

    if-eqz v0, :cond_b3

    .line 673
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    add-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    goto :goto_b5

    .line 675
    :cond_b3
    iput v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    .line 678
    :goto_b5
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftPadding:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topPadding:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightPadding:I

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomPadding:I

    invoke-virtual {p0, v0, v1, v2, v3}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding(IIII)V

    .line 680
    :cond_c0
    return-void
.end method

.method public setSelected(Z)V
    .registers 6
    .param p1, "selected"    # Z

    .line 187
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setSelected(Z)V

    .line 188
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    if-eqz v0, :cond_88

    .line 189
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_90

    .line 190
    const-string v0, "setSelected"

    const/16 v1, -0x65

    if-eqz p1, :cond_4c

    .line 191
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor_true:I

    if-eq v2, v1, :cond_1d

    .line 192
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {v3, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 195
    :cond_1d
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 196
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    if-eq v2, v1, :cond_2c

    .line 197
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 199
    :cond_2c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground_true:Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_33

    .line 200
    invoke-virtual {p0, v1, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 203
    :cond_33
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_84

    .line 204
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor_true:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 205
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_84

    .line 206
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text_true:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_84

    .line 211
    :cond_4c
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mBackGroundColor:I

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 212
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->startColor:I

    if-eq v2, v1, :cond_5c

    .line 213
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint:Landroid/graphics/Paint;

    invoke-virtual {p0, v2}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->gradient(Landroid/graphics/Paint;)V

    .line 216
    :cond_5c
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    if-eq v2, v1, :cond_65

    .line 217
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 220
    :cond_65
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->layoutBackground:Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_6c

    .line 221
    invoke-virtual {p0, v1, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V

    .line 224
    :cond_6c
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    if-eqz v0, :cond_84

    .line 225
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->textColor:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 226
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_84

    .line 227
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mTextView:Landroid/widget/TextView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->text:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 232
    :cond_84
    :goto_84
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    goto :goto_90

    .line 235
    :cond_88
    new-instance v0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout$1;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout$1;-><init>(Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;)V

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V

    .line 243
    :cond_90
    :goto_90
    return-void
.end method

.method public setShadowColor(I)V
    .registers 4
    .param p1, "mShadowColor"    # I

    .line 313
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowColor:I

    .line 314
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    if-eqz v0, :cond_19

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v0

    if-eqz v0, :cond_19

    .line 315
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v1

    invoke-direct {p0, v0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundCompat(II)V

    .line 317
    :cond_19
    return-void
.end method

.method public setShadowHidden(Z)V
    .registers 4
    .param p1, "isShowShadow"    # Z

    .line 248
    xor-int/lit8 v0, p1, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    .line 249
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    if-eqz v0, :cond_1b

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v0

    if-eqz v0, :cond_1b

    .line 250
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v1

    invoke-direct {p0, v0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundCompat(II)V

    .line 252
    :cond_1b
    return-void
.end method

.method public setShadowHiddenBottom(Z)V
    .registers 3
    .param p1, "bottomShow"    # Z

    .line 338
    xor-int/lit8 v0, p1, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->bottomShow:Z

    .line 339
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 340
    return-void
.end method

.method public setShadowHiddenLeft(Z)V
    .registers 3
    .param p1, "leftShow"    # Z

    .line 350
    xor-int/lit8 v0, p1, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->leftShow:Z

    .line 351
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 352
    return-void
.end method

.method public setShadowHiddenRight(Z)V
    .registers 3
    .param p1, "rightShow"    # Z

    .line 344
    xor-int/lit8 v0, p1, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->rightShow:Z

    .line 345
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 346
    return-void
.end method

.method public setShadowHiddenTop(Z)V
    .registers 3
    .param p1, "topShow"    # Z

    .line 333
    xor-int/lit8 v0, p1, 0x1

    iput-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->topShow:Z

    .line 334
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 335
    return-void
.end method

.method public setShadowLimit(I)V
    .registers 3
    .param p1, "mShadowLimit"    # I

    .line 305
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    if-eqz v0, :cond_a

    .line 306
    int-to-float v0, p1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    .line 307
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 309
    :cond_a
    return-void
.end method

.method public setShadowOffsetX(F)V
    .registers 4
    .param p1, "mDx"    # F

    .line 256
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    if-eqz v0, :cond_1f

    .line 257
    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_1a

    .line 258
    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-lez v0, :cond_16

    .line 259
    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    goto :goto_1c

    .line 261
    :cond_16
    neg-float v0, v1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    goto :goto_1c

    .line 264
    :cond_1a
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDx:F

    .line 266
    :goto_1c
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 268
    :cond_1f
    return-void
.end method

.method public setShadowOffsetY(F)V
    .registers 4
    .param p1, "mDy"    # F

    .line 272
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isShowShadow:Z

    if-eqz v0, :cond_1f

    .line 273
    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mShadowLimit:F

    cmpl-float v0, v0, v1

    if-lez v0, :cond_1a

    .line 274
    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-lez v0, :cond_16

    .line 275
    iput v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    goto :goto_1c

    .line 277
    :cond_16
    neg-float v0, v1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    goto :goto_1c

    .line 280
    :cond_1a
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mDy:F

    .line 282
    :goto_1c
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setPadding()V

    .line 284
    :cond_1f
    return-void
.end method

.method public setSpecialCorner(IIII)V
    .registers 7
    .param p1, "leftTop"    # I
    .param p2, "rightTop"    # I
    .param p3, "leftBottom"    # I
    .param p4, "rightBottom"    # I

    .line 321
    int-to-float v0, p1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    .line 322
    int-to-float v0, p2

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    .line 323
    int-to-float v0, p3

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    .line 324
    int-to-float v0, p4

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    .line 325
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    if-eqz v0, :cond_23

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v0

    if-eqz v0, :cond_23

    .line 326
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getWidth()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->getHeight()I

    move-result v1

    invoke-direct {p0, v0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->setBackgroundCompat(II)V

    .line 328
    :cond_23
    return-void
.end method

.method public setStrokeColor(I)V
    .registers 4
    .param p1, "color"    # I

    .line 388
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    .line 389
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_15

    .line 391
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSelected()Z

    move-result v0

    if-nez v0, :cond_1a

    .line 392
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_1a

    .line 395
    :cond_15
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V

    .line 397
    :cond_1a
    :goto_1a
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 398
    return-void
.end method

.method public setStrokeColorTrue(I)V
    .registers 4
    .param p1, "color"    # I

    .line 403
    iput p1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    .line 404
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->selectorType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_14

    .line 406
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_14

    .line 407
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_color_true:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 410
    :cond_14
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 411
    return-void
.end method

.method public setStrokeWidth(I)V
    .registers 4
    .param p1, "stokeWidth"    # I

    .line 414
    int-to-float v0, p1

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    .line 415
    const/high16 v1, 0x40e00000    # 7.0f

    invoke-virtual {p0, v1}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->dip2px(F)I

    move-result v1

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_17

    .line 416
    const/high16 v0, 0x40a00000    # 5.0f

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->dip2px(F)I

    move-result v0

    int-to-float v0, v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    .line 418
    :cond_17
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->paint_stroke:Landroid/graphics/Paint;

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->stroke_with:F

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 419
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->postInvalidate()V

    .line 420
    return-void
.end method

.method public setmBackGround(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)V
    .registers 14
    .param p1, "drawable"    # Landroid/graphics/drawable/Drawable;
    .param p2, "currentTag"    # Ljava/lang/String;

    .line 1450
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    const v1, 0x7f09005c

    invoke-virtual {v0, v1, p2}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 1451
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    if-eqz v0, :cond_65

    if-eqz p1, :cond_65

    .line 1452
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    const/high16 v2, -0x40800000    # -1.0f

    cmpl-float v1, v1, v2

    if-nez v1, :cond_2e

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_2e

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_2e

    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v1, v1, v2

    if-nez v1, :cond_2e

    .line 1453
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    invoke-static {v0, p1, v1, p2}, Lim/tpelyyftgw/ui/components/shadow/GlideRoundUtils;->setRoundCorner(Landroid/view/View;Landroid/graphics/drawable/Drawable;FLjava/lang/String;)V

    goto :goto_65

    .line 1456
    :cond_2e
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftTop:F

    cmpl-float v1, v0, v2

    if-nez v1, :cond_38

    .line 1457
    iget v0, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v0, v0

    .local v0, "leftTop":I
    goto :goto_39

    .line 1459
    .end local v0    # "leftTop":I
    :cond_38
    float-to-int v0, v0

    .line 1462
    .restart local v0    # "leftTop":I
    :goto_39
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_leftBottom:F

    cmpl-float v3, v1, v2

    if-nez v3, :cond_43

    .line 1463
    iget v1, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v1, v1

    .local v1, "leftBottom":I
    goto :goto_44

    .line 1465
    .end local v1    # "leftBottom":I
    :cond_43
    float-to-int v1, v1

    .line 1469
    .restart local v1    # "leftBottom":I
    :goto_44
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightTop:F

    cmpl-float v4, v3, v2

    if-nez v4, :cond_4e

    .line 1470
    iget v3, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v3, v3

    .local v3, "rightTop":I
    goto :goto_4f

    .line 1472
    .end local v3    # "rightTop":I
    :cond_4e
    float-to-int v3, v3

    .line 1476
    .restart local v3    # "rightTop":I
    :goto_4f
    iget v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius_rightBottom:F

    cmpl-float v2, v4, v2

    if-nez v2, :cond_59

    .line 1477
    iget v2, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->mCornerRadius:F

    float-to-int v2, v2

    .local v2, "rightBottom":I
    goto :goto_5a

    .line 1479
    .end local v2    # "rightBottom":I
    :cond_59
    float-to-int v2, v4

    .line 1482
    .restart local v2    # "rightBottom":I
    :goto_5a
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/shadow/ShadowLayout;->firstView:Landroid/view/View;

    int-to-float v6, v0

    int-to-float v7, v1

    int-to-float v8, v3

    int-to-float v9, v2

    move-object v5, p1

    move-object v10, p2

    invoke-static/range {v4 .. v10}, Lim/tpelyyftgw/ui/components/shadow/GlideRoundUtils;->setCorners(Landroid/view/View;Landroid/graphics/drawable/Drawable;FFFFLjava/lang/String;)V

    .line 1485
    .end local v0    # "leftTop":I
    .end local v1    # "leftBottom":I
    .end local v2    # "rightBottom":I
    .end local v3    # "rightTop":I
    :cond_65
    :goto_65
    return-void
.end method