PasscodeView$AnimatingTextView$1.smali

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

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->appendCharacter(Ljava/lang/String;)V
.end annotation

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


# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

.field final synthetic val$newPos:I


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;I)V
    .registers 3
    .param p1, "this$1"    # Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    .line 161
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    iput p2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->val$newPos:I

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

    return-void
.end method


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

    .line 164
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->dotRunnable:Ljava/lang/Runnable;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$000(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Ljava/lang/Runnable;

    move-result-object v0

    if-eq v0, p0, :cond_9

    .line 165
    return-void

    .line 167
    :cond_9
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 169
    .local v0, "animators":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/animation/Animator;>;"
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->characterTextViews:Ljava/util/ArrayList;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$100(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Ljava/util/ArrayList;

    move-result-object v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->val$newPos:I

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 170
    .local v1, "textView":Landroid/widget/TextView;
    const/4 v2, 0x1

    new-array v3, v2, [F

    const/4 v4, 0x0

    const/4 v5, 0x0

    aput v4, v3, v5

    const-string v6, "scaleX"

    invoke-static {v1, v6, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 171
    new-array v3, v2, [F

    aput v4, v3, v5

    const-string v7, "scaleY"

    invoke-static {v1, v7, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 172
    new-array v3, v2, [F

    aput v4, v3, v5

    const-string v4, "alpha"

    invoke-static {v1, v4, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 173
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->dotTextViews:Ljava/util/ArrayList;
    invoke-static {v3}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$200(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Ljava/util/ArrayList;

    move-result-object v3

    iget v8, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->val$newPos:I

    invoke-virtual {v3, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    move-object v1, v3

    check-cast v1, Landroid/widget/TextView;

    .line 174
    new-array v3, v2, [F

    const/high16 v8, 0x3f800000    # 1.0f

    aput v8, v3, v5

    invoke-static {v1, v6, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 175
    new-array v3, v2, [F

    aput v8, v3, v5

    invoke-static {v1, v7, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 176
    new-array v2, v2, [F

    aput v8, v2, v5

    invoke-static {v1, v4, v2}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 178
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    new-instance v3, Landroid/animation/AnimatorSet;

    invoke-direct {v3}, Landroid/animation/AnimatorSet;-><init>()V

    # setter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->currentAnimation:Landroid/animation/AnimatorSet;
    invoke-static {v2, v3}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$302(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;

    .line 179
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->currentAnimation:Landroid/animation/AnimatorSet;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$300(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Landroid/animation/AnimatorSet;

    move-result-object v2

    const-wide/16 v3, 0x96

    invoke-virtual {v2, v3, v4}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 180
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->currentAnimation:Landroid/animation/AnimatorSet;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$300(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Landroid/animation/AnimatorSet;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/animation/AnimatorSet;->playTogether(Ljava/util/Collection;)V

    .line 181
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->currentAnimation:Landroid/animation/AnimatorSet;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$300(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Landroid/animation/AnimatorSet;

    move-result-object v2

    new-instance v3, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1$1;

    invoke-direct {v3, p0}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1$1;-><init>(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;)V

    invoke-virtual {v2, v3}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 189
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView$1;->this$1:Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;

    # getter for: Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->currentAnimation:Landroid/animation/AnimatorSet;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;->access$300(Lim/tpelyyftgw/ui/components/PasscodeView$AnimatingTextView;)Landroid/animation/AnimatorSet;

    move-result-object v2

    invoke-virtual {v2}, Landroid/animation/AnimatorSet;->start()V

    .line 190
    return-void
.end method