ChatAttachAlert$28.smali

.class Lim/tpelyyftgw/ui/components/ChatAttachAlert$28;
.super Landroid/view/ViewOutlineProvider;
.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;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ChatAttachAlert;

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

    invoke-direct {p0}, Landroid/view/ViewOutlineProvider;-><init>()V

    return-void
.end method


# virtual methods
.method public getOutline(Landroid/view/View;Landroid/graphics/Outline;)V
    .registers 10
    .param p1, "view"    # Landroid/view/View;
    .param p2, "outline"    # Landroid/graphics/Outline;

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

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

    move-result v0

    const/high16 v1, 0x41000000    # 8.0f

    if-eqz v0, :cond_32

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)F

    move-result v0

    mul-float v0, v0, v1

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$28;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11200(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)F

    move-result v1

    mul-float v0, v0, v1

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

    move-result v0

    .line 3084
    .local v0, "rad":I
    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I

    move-result v1

    add-int v4, v1, v0

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    add-int v5, v1, v0

    int-to-float v6, v0

    move-object v1, p2

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Outline;->setRoundRect(IIIIF)V

    .line 3085
    .end local v0    # "rad":I
    goto :goto_6e

    :cond_32
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ChatAttachAlert$28;->this$0:Lim/tpelyyftgw/ui/components/ChatAttachAlert;

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

    move-result v0

    if-nez v0, :cond_62

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

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

    move-result v0

    if-nez v0, :cond_62

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ChatAttachAlert;->access$11100(Lim/tpelyyftgw/ui/components/ChatAttachAlert;)F

    move-result v0

    mul-float v0, v0, v1

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

    move-result v0

    .line 3087
    .restart local v0    # "rad":I
    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I

    move-result v1

    add-int v4, v1, v0

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    add-int v5, v1, v0

    int-to-float v6, v0

    move-object v1, p2

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Outline;->setRoundRect(IIIIF)V

    .line 3088
    .end local v0    # "rad":I
    goto :goto_6e

    .line 3089
    :cond_62
    invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    const/4 v2, 0x0

    invoke-virtual {p2, v2, v2, v0, v1}, Landroid/graphics/Outline;->setRect(IIII)V

    .line 3091
    :goto_6e
    return-void
.end method