RLottieDrawable$5.smali

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

# interfaces
.implements Ljava/lang/Runnable;


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

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


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


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

    return-void
.end method

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

    .line 123
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

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

    return-void
.end method


# virtual methods
.method public synthetic lambda$run$0$RLottieDrawable$5()V
    .registers 8

    .line 128
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->cacheGenerateTask:Ljava/lang/Runnable;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$200(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Ljava/lang/Runnable;

    move-result-object v0

    if-nez v0, :cond_9

    .line 129
    return-void

    .line 131
    :cond_9
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->nativePtr:J
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$800(Lim/tpelyyftgw/ui/components/RLottieDrawable;)J

    move-result-wide v1

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->backgroundBitmap:Landroid/graphics/Bitmap;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1000(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Landroid/graphics/Bitmap;

    move-result-object v3

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->width:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1100(Lim/tpelyyftgw/ui/components/RLottieDrawable;)I

    move-result v4

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->height:I
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1200(Lim/tpelyyftgw/ui/components/RLottieDrawable;)I

    move-result v5

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->backgroundBitmap:Landroid/graphics/Bitmap;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1000(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getRowBytes()I

    move-result v6

    # invokes: Lim/tpelyyftgw/ui/components/RLottieDrawable;->createCache(JLandroid/graphics/Bitmap;III)V
    invoke-static/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1300(JLandroid/graphics/Bitmap;III)V

    .line 132
    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->uiHandler:Landroid/os/Handler;
    invoke-static {}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1500()Landroid/os/Handler;

    move-result-object v0

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->uiRunnableCacheFinished:Ljava/lang/Runnable;
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$1400(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 133
    return-void
.end method

.method public run()V
    .registers 6

    .line 126
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->isRecycled:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$600(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Z

    move-result v0

    if-nez v0, :cond_2e

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->destroyWhenDone:Z
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$700(Lim/tpelyyftgw/ui/components/RLottieDrawable;)Z

    move-result v0

    if-nez v0, :cond_2e

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

    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->nativePtr:J
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$800(Lim/tpelyyftgw/ui/components/RLottieDrawable;)J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_2e

    .line 127
    # getter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->lottieCacheGenerateQueue:Ljava/util/concurrent/ThreadPoolExecutor;
    invoke-static {}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$900()Ljava/util/concurrent/ThreadPoolExecutor;

    move-result-object v0

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

    new-instance v2, Lim/tpelyyftgw/ui/components/-$$Lambda$RLottieDrawable$5$r5k1SI9rs_NqyYINSh4NDILXANo;

    invoke-direct {v2, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$RLottieDrawable$5$r5k1SI9rs_NqyYINSh4NDILXANo;-><init>(Lim/tpelyyftgw/ui/components/RLottieDrawable$5;)V

    # setter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->cacheGenerateTask:Ljava/lang/Runnable;
    invoke-static {v1, v2}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$202(Lim/tpelyyftgw/ui/components/RLottieDrawable;Ljava/lang/Runnable;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/concurrent/ThreadPoolExecutor;->execute(Ljava/lang/Runnable;)V

    .line 135
    :cond_2e
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

    const/4 v1, 0x0

    # setter for: Lim/tpelyyftgw/ui/components/RLottieDrawable;->loadFrameTask:Ljava/lang/Runnable;
    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$002(Lim/tpelyyftgw/ui/components/RLottieDrawable;Ljava/lang/Runnable;)Ljava/lang/Runnable;

    .line 136
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/RLottieDrawable$5;->this$0:Lim/tpelyyftgw/ui/components/RLottieDrawable;

    # invokes: Lim/tpelyyftgw/ui/components/RLottieDrawable;->decodeFrameFinishedInternal()V
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/RLottieDrawable;->access$100(Lim/tpelyyftgw/ui/components/RLottieDrawable;)V

    .line 137
    return-void
.end method