InstantCameraView$1.smali

.class Lim/tpelyyftgw/ui/components/InstantCameraView$1;
.super Ljava/lang/Object;
.source "InstantCameraView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/ui/components/InstantCameraView;
.end annotation

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


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


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/InstantCameraView;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/InstantCameraView;

    .line 141
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 10

    .line 144
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

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

    move-result v0

    if-nez v0, :cond_9

    .line 145
    return-void

    .line 147
    :cond_9
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

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

    move-result v0

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

    move-result-object v0

    sget v1, Lim/tpelyyftgw/messenger/NotificationCenter;->recordProgressChanged:I

    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

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

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x1

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    iget-object v7, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/InstantCameraView;->access$300(Lim/tpelyyftgw/ui/components/InstantCameraView;)J

    move-result-wide v7

    sub-long/2addr v5, v7

    invoke-static {v4, v5, v6}, Lim/tpelyyftgw/ui/components/InstantCameraView;->access$202(Lim/tpelyyftgw/ui/components/InstantCameraView;J)J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x2

    const-wide/16 v4, 0x0

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Lim/tpelyyftgw/messenger/NotificationCenter;->postNotificationName(I[Ljava/lang/Object;)V

    .line 148
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/InstantCameraView$1;->this$0:Lim/tpelyyftgw/ui/components/InstantCameraView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/InstantCameraView;->access$500(Lim/tpelyyftgw/ui/components/InstantCameraView;)Ljava/lang/Runnable;

    move-result-object v0

    const-wide/16 v1, 0x32

    invoke-static {v0, v1, v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;J)V

    .line 149
    return-void
.end method