ChatActivityEnterView$13.smali

.class Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;
.super Landroid/widget/ImageView;
.source "ChatActivityEnterView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ChatActivityEnterView;-><init>(Landroid/app/Activity;Lim/tpelyyftgw/ui/components/SizeNotifierFrameLayout;Lim/tpelyyftgw/ui/ChatActivity;Z)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/ChatActivityEnterView;


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

    return-void
.end method

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

    .line 1269
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

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

    return-void
.end method


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

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

    .line 1273
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_61

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$6000(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/widget/LinearLayout;

    move-result-object v0

    if-eqz v0, :cond_61

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$6100(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Z

    move-result v0

    if-nez v0, :cond_61

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$2600(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)I

    move-result v0

    invoke-static {v0}, Lim/tpelyyftgw/messenger/MediaDataController;->getInstance(I)Lim/tpelyyftgw/messenger/MediaDataController;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/messenger/MediaDataController;->getUnreadStickerSets()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_61

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$6200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/graphics/Paint;

    move-result-object v0

    if-eqz v0, :cond_61

    .line 1274
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->getWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    const/high16 v1, 0x41100000    # 9.0f

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    add-int/2addr v0, v1

    .line 1275
    .local v0, "x":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->getHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    const/high16 v2, 0x41000000    # 8.0f

    invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v2

    sub-int/2addr v1, v2

    .line 1276
    .local v1, "y":I
    int-to-float v2, v0

    int-to-float v3, v1

    const/high16 v4, 0x40a00000    # 5.0f

    invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v4

    int-to-float v4, v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/ChatActivityEnterView$13;->this$0:Lim/tpelyyftgw/ui/components/ChatActivityEnterView;

    invoke-static {v5}, Lim/tpelyyftgw/ui/components/ChatActivityEnterView;->access$6200(Lim/tpelyyftgw/ui/components/ChatActivityEnterView;)Landroid/graphics/Paint;

    move-result-object v5

    invoke-virtual {p1, v2, v3, v4, v5}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    .line 1278
    .end local v0    # "x":I
    .end local v1    # "y":I
    :cond_61
    return-void
.end method