AudioPlayerAlert$6.smali

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/AudioPlayerAlert;-><init>(Landroid/content/Context;)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/AudioPlayerAlert;


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

    return-void
.end method

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

    .line 501
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$6;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

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

    return-void
.end method


# virtual methods
.method protected onLayout(ZIIII)V
    .registers 13
    .param p1, "changed"    # Z
    .param p2, "left"    # I
    .param p3, "top"    # I
    .param p4, "right"    # I
    .param p5, "bottom"    # I

    .line 504
    sub-int v0, p4, p2

    const/high16 v1, 0x43780000    # 248.0f

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

    move-result v1

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x4

    .line 505
    .local v0, "dist":I
    const/4 v1, 0x0

    .local v1, "a":I
    :goto_c
    const/4 v2, 0x5

    if-ge v1, v2, :cond_49

    .line 506
    mul-int/lit8 v2, v1, 0x30

    add-int/lit8 v2, v2, 0x4

    int-to-float v2, v2

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

    move-result v2

    mul-int v3, v0, v1

    add-int/2addr v2, v3

    .line 507
    .local v2, "l":I
    const/high16 v3, 0x41100000    # 9.0f

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

    move-result v3

    .line 508
    .local v3, "t":I
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$6;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$3100(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)[Landroid/view/View;

    move-result-object v4

    aget-object v4, v4, v1

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

    invoke-static {v5}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$3100(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)[Landroid/view/View;

    move-result-object v5

    aget-object v5, v5, v1

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

    move-result v5

    add-int/2addr v5, v2

    iget-object v6, p0, Lim/tpelyyftgw/ui/components/AudioPlayerAlert$6;->this$0:Lim/tpelyyftgw/ui/components/AudioPlayerAlert;

    invoke-static {v6}, Lim/tpelyyftgw/ui/components/AudioPlayerAlert;->access$3100(Lim/tpelyyftgw/ui/components/AudioPlayerAlert;)[Landroid/view/View;

    move-result-object v6

    aget-object v6, v6, v1

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

    move-result v6

    add-int/2addr v6, v3

    invoke-virtual {v4, v2, v3, v5, v6}, Landroid/view/View;->layout(IIII)V

    .line 505
    .end local v2    # "l":I
    .end local v3    # "t":I
    add-int/lit8 v1, v1, 0x1

    goto :goto_c

    .line 510
    .end local v1    # "a":I
    :cond_49
    return-void
.end method