ChatAttachAlert$30.smali

.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;
.super Landroid/widget/FrameLayout;
.source "ChatAttachAlert.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ChatAttachAlert;->showCamera()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/ChatAttachAlert;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ChatAttachAlert;
    .param p2, "arg0"    # Landroid/content/Context;

    .line 3156
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-direct {p0, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    return-void
.end method


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

    .line 3159
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

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

    move-result v0

    .line 3160
    .local v0, "w":I
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v1

    .line 3161
    .local v1, "h":I
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v2

    sub-int/2addr v2, v0

    div-int/lit8 v2, v2, 0x2

    .line 3162
    .local v2, "x":I
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v3}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$2700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v3

    sub-int/2addr v3, v1

    div-int/lit8 v3, v3, 0x2

    .line 3163
    .local v3, "y":I
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v4

    if-eqz v4, :cond_35

    .line 3164
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11700(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)I

    move-result v4

    sub-int/2addr v3, v4

    .line 3166
    :cond_35
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    add-int v5, v2, v0

    add-int v6, v3, v1

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

    .line 3167
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$30;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11600(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v4, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 3168
    return-void
.end method