.class public Lcom/airbnb/lottie/f; .super Landroid/graphics/drawable/Drawable; .source "LottieDrawable.java" # interfaces .implements Landroid/graphics/drawable/Animatable; .implements Landroid/graphics/drawable/Drawable$Callback; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/airbnb/lottie/f$a; } .end annotation # static fields .field private static final TAG:Ljava/lang/String; = "f" # instance fields .field private alpha:I .field fC:Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field final fW:Lcom/airbnb/lottie/f/c; .field private final fX:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Ljava/lang/Object;", ">;" } .end annotation .end field .field final fY:Ljava/util/ArrayList; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/ArrayList<", "Lcom/airbnb/lottie/f$a;", ">;" } .end annotation .end field .field fZ:Lcom/airbnb/lottie/b/b; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public fz:Lcom/airbnb/lottie/d; .field ga:Lcom/airbnb/lottie/b; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public gb:Lcom/airbnb/lottie/b/a; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public gc:Lcom/airbnb/lottie/a; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public gd:Lcom/airbnb/lottie/n; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public ge:Z .field private gf:Lcom/airbnb/lottie/c/c/b; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field gg:Z .field private final matrix:Landroid/graphics/Matrix; .field scale:F # direct methods .method static constructor ()V .locals 0 return-void .end method .method public constructor ()V .locals 2 invoke-direct {p0}, Landroid/graphics/drawable/Drawable;->()V new-instance v0, Landroid/graphics/Matrix; invoke-direct {v0}, Landroid/graphics/Matrix;->()V iput-object v0, p0, Lcom/airbnb/lottie/f;->matrix:Landroid/graphics/Matrix; new-instance v0, Lcom/airbnb/lottie/f/c; invoke-direct {v0}, Lcom/airbnb/lottie/f/c;->()V iput-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; const/high16 v0, 0x3f800000 # 1.0f iput v0, p0, Lcom/airbnb/lottie/f;->scale:F new-instance v0, Ljava/util/HashSet; invoke-direct {v0}, Ljava/util/HashSet;->()V iput-object v0, p0, Lcom/airbnb/lottie/f;->fX:Ljava/util/Set; new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V iput-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; const/16 v0, 0xff iput v0, p0, Lcom/airbnb/lottie/f;->alpha:I iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; new-instance v1, Lcom/airbnb/lottie/f$1; invoke-direct {v1, p0}, Lcom/airbnb/lottie/f$1;->(Lcom/airbnb/lottie/f;)V invoke-virtual {v0, v1}, Lcom/airbnb/lottie/f/c;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V return-void .end method .method static synthetic a(Lcom/airbnb/lottie/f;)Lcom/airbnb/lottie/c/c/b; .locals 0 iget-object p0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; return-object p0 .end method .method private a(Lcom/airbnb/lottie/c/e;)Ljava/util/List; .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/airbnb/lottie/c/e;", ")", "Ljava/util/List<", "Lcom/airbnb/lottie/c/e;", ">;" } .end annotation iget-object v0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; if-nez v0, :cond_0 const-string p1, "LOTTIE" const-string v0, "Cannot resolve KeyPath. Composition is not set yet." invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List; move-result-object p1 return-object p1 :cond_0 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V iget-object v1, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; new-instance v2, Lcom/airbnb/lottie/c/e; const/4 v3, 0x0 new-array v4, v3, [Ljava/lang/String; invoke-direct {v2, v4}, Lcom/airbnb/lottie/c/e;->([Ljava/lang/String;)V invoke-virtual {v1, p1, v3, v0, v2}, Lcom/airbnb/lottie/c/c/b;->a(Lcom/airbnb/lottie/c/e;ILjava/util/List;Lcom/airbnb/lottie/c/e;)V return-object v0 .end method .method private aS()V .locals 4 new-instance v0, Lcom/airbnb/lottie/c/c/b; iget-object v1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; invoke-static {v1}, Lcom/airbnb/lottie/e/q;->b(Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d; move-result-object v1 iget-object v2, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v2, v2, Lcom/airbnb/lottie/d;->fK:Ljava/util/List; iget-object v3, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; invoke-direct {v0, p0, v1, v2, v3}, Lcom/airbnb/lottie/c/c/b;->(Lcom/airbnb/lottie/f;Lcom/airbnb/lottie/c/c/d;Ljava/util/List;Lcom/airbnb/lottie/d;)V iput-object v0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; return-void .end method .method private aV()V .locals 3 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 return-void :cond_0 iget v1, p0, Lcom/airbnb/lottie/f;->scale:F iget-object v0, v0, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v0}, Landroid/graphics/Rect;->width()I move-result v0 int-to-float v0, v0 mul-float v0, v0, v1 float-to-int v0, v0 iget-object v2, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v2, v2, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v2}, Landroid/graphics/Rect;->height()I move-result v2 int-to-float v2, v2 mul-float v2, v2, v1 float-to-int v1, v2 const/4 v2, 0x0 invoke-virtual {p0, v2, v2, v0, v1}, Lcom/airbnb/lottie/f;->setBounds(IIII)V return-void .end method .method static synthetic b(Lcom/airbnb/lottie/f;)Lcom/airbnb/lottie/f/c; .locals 0 iget-object p0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; return-object p0 .end method # virtual methods .method public final a(Lcom/airbnb/lottie/c/e;Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/airbnb/lottie/c/e;", "TT;", "Lcom/airbnb/lottie/g/c<", "TT;>;)V" } .end annotation iget-object v0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$4; invoke-direct {v1, p0, p1, p2, p3}, Lcom/airbnb/lottie/f$4;->(Lcom/airbnb/lottie/f;Lcom/airbnb/lottie/c/e;Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget-object v0, p1, Lcom/airbnb/lottie/c/e;->jg:Lcom/airbnb/lottie/c/f; const/4 v1, 0x0 const/4 v2, 0x1 if-eqz v0, :cond_1 iget-object p1, p1, Lcom/airbnb/lottie/c/e;->jg:Lcom/airbnb/lottie/c/f; invoke-interface {p1, p2, p3}, Lcom/airbnb/lottie/c/f;->a(Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V goto :goto_1 :cond_1 invoke-direct {p0, p1}, Lcom/airbnb/lottie/f;->a(Lcom/airbnb/lottie/c/e;)Ljava/util/List; move-result-object p1 const/4 v0, 0x0 :goto_0 invoke-interface {p1}, Ljava/util/List;->size()I move-result v3 if-ge v0, v3, :cond_2 invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Lcom/airbnb/lottie/c/e; iget-object v3, v3, Lcom/airbnb/lottie/c/e;->jg:Lcom/airbnb/lottie/c/f; invoke-interface {v3, p2, p3}, Lcom/airbnb/lottie/c/f;->a(Ljava/lang/Object;Lcom/airbnb/lottie/g/c;)V add-int/lit8 v0, v0, 0x1 goto :goto_0 :cond_2 invoke-interface {p1}, Ljava/util/List;->isEmpty()Z move-result p1 if-nez p1, :cond_3 goto :goto_1 :cond_3 const/4 v2, 0x0 :goto_1 if-eqz v2, :cond_4 invoke-virtual {p0}, Lcom/airbnb/lottie/f;->invalidateSelf()V sget-object p1, Lcom/airbnb/lottie/i;->gQ:Ljava/lang/Float; if-ne p2, p1, :cond_4 iget-object p1, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {p1}, Lcom/airbnb/lottie/f/c;->by()F move-result p1 invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f;->setProgress(F)V :cond_4 return-void .end method .method public final a(Lcom/airbnb/lottie/d;)Z .locals 5 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; const/4 v1, 0x0 if-ne v0, p1, :cond_0 return v1 :cond_0 invoke-virtual {p0}, Lcom/airbnb/lottie/f;->aT()V iput-object p1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; invoke-direct {p0}, Lcom/airbnb/lottie/f;->aS()V iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; iget-object v2, v0, Lcom/airbnb/lottie/f/c;->fz:Lcom/airbnb/lottie/d; const/4 v3, 0x1 if-nez v2, :cond_1 const/4 v1, 0x1 :cond_1 iput-object p1, v0, Lcom/airbnb/lottie/f/c;->fz:Lcom/airbnb/lottie/d; if-eqz v1, :cond_2 iget v1, v0, Lcom/airbnb/lottie/f/c;->mp:F iget v2, p1, Lcom/airbnb/lottie/d;->fM:F invoke-static {v1, v2}, Ljava/lang/Math;->max(FF)F move-result v1 float-to-int v1, v1 iget v2, v0, Lcom/airbnb/lottie/f/c;->mq:F iget v4, p1, Lcom/airbnb/lottie/d;->fN:F invoke-static {v2, v4}, Ljava/lang/Math;->min(FF)F move-result v2 float-to-int v2, v2 invoke-virtual {v0, v1, v2}, Lcom/airbnb/lottie/f/c;->a(II)V goto :goto_0 :cond_2 iget v1, p1, Lcom/airbnb/lottie/d;->fM:F float-to-int v1, v1 iget v2, p1, Lcom/airbnb/lottie/d;->fN:F float-to-int v2, v2 invoke-virtual {v0, v1, v2}, Lcom/airbnb/lottie/f/c;->a(II)V :goto_0 iget v1, v0, Lcom/airbnb/lottie/f/c;->mo:F float-to-int v1, v1 invoke-virtual {v0, v1}, Lcom/airbnb/lottie/f/c;->setFrame(I)V invoke-static {}, Ljava/lang/System;->nanoTime()J move-result-wide v1 iput-wide v1, v0, Lcom/airbnb/lottie/f/c;->mn:J iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->getAnimatedFraction()F move-result v0 invoke-virtual {p0, v0}, Lcom/airbnb/lottie/f;->setProgress(F)V iget v0, p0, Lcom/airbnb/lottie/f;->scale:F invoke-virtual {p0, v0}, Lcom/airbnb/lottie/f;->setScale(F)V invoke-direct {p0}, Lcom/airbnb/lottie/f;->aV()V new-instance v0, Ljava/util/ArrayList; iget-object v1, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; invoke-direct {v0, v1}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; move-result-object v0 :goto_1 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_3 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/airbnb/lottie/f$a; invoke-interface {v1}, Lcom/airbnb/lottie/f$a;->aW()V invoke-interface {v0}, Ljava/util/Iterator;->remove()V goto :goto_1 :cond_3 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V iget-boolean v0, p0, Lcom/airbnb/lottie/f;->gg:Z invoke-virtual {p1, v0}, Lcom/airbnb/lottie/d;->setPerformanceTrackingEnabled(Z)V return v3 .end method .method public final aL()V .locals 2 .annotation build Landroidx/annotation/MainThread; .end annotation iget-object v0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$5; invoke-direct {v1, p0}, Lcom/airbnb/lottie/f$5;->(Lcom/airbnb/lottie/f;)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->aL()V return-void .end method .method public final aR()V .locals 1 iget-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; if-eqz v0, :cond_0 invoke-virtual {v0}, Lcom/airbnb/lottie/b/b;->aR()V :cond_0 return-void .end method .method public final aT()V .locals 1 invoke-virtual {p0}, Lcom/airbnb/lottie/f;->aR()V iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->isRunning()Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->cancel()V :cond_0 const/4 v0, 0x0 iput-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iput-object v0, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; iput-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->aT()V invoke-virtual {p0}, Lcom/airbnb/lottie/f;->invalidateSelf()V return-void .end method .method public final aU()Z .locals 1 iget-object v0, p0, Lcom/airbnb/lottie/f;->gd:Lcom/airbnb/lottie/n; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v0, v0, Lcom/airbnb/lottie/d;->fI:Landroidx/collection/SparseArrayCompat; invoke-virtual {v0}, Landroidx/collection/SparseArrayCompat;->size()I move-result v0 if-lez v0, :cond_0 const/4 v0, 0x1 return v0 :cond_0 const/4 v0, 0x0 return v0 .end method .method public draw(Landroid/graphics/Canvas;)V .locals 9 .param p1 # Landroid/graphics/Canvas; .annotation build Landroidx/annotation/NonNull; .end annotation .end param const-string v0, "Drawable#draw" invoke-static {v0}, Lcom/airbnb/lottie/c;->beginSection(Ljava/lang/String;)V iget-object v1, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; if-nez v1, :cond_0 return-void :cond_0 iget v1, p0, Lcom/airbnb/lottie/f;->scale:F invoke-virtual {p1}, Landroid/graphics/Canvas;->getWidth()I move-result v2 int-to-float v2, v2 iget-object v3, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v3, v3, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v3}, Landroid/graphics/Rect;->width()I move-result v3 int-to-float v3, v3 div-float/2addr v2, v3 invoke-virtual {p1}, Landroid/graphics/Canvas;->getHeight()I move-result v3 int-to-float v3, v3 iget-object v4, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v4, v4, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v4}, Landroid/graphics/Rect;->height()I move-result v4 int-to-float v4, v4 div-float/2addr v3, v4 invoke-static {v2, v3}, Ljava/lang/Math;->min(FF)F move-result v2 const/high16 v3, 0x3f800000 # 1.0f cmpl-float v4, v1, v2 if-lez v4, :cond_1 iget v1, p0, Lcom/airbnb/lottie/f;->scale:F div-float/2addr v1, v2 goto :goto_0 :cond_1 move v2, v1 const/high16 v1, 0x3f800000 # 1.0f :goto_0 cmpl-float v4, v1, v3 if-lez v4, :cond_2 invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I iget-object v4, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v4, v4, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v4}, Landroid/graphics/Rect;->width()I move-result v4 int-to-float v4, v4 const/high16 v5, 0x40000000 # 2.0f div-float/2addr v4, v5 iget-object v6, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v6, v6, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v6}, Landroid/graphics/Rect;->height()I move-result v6 int-to-float v6, v6 div-float/2addr v6, v5 mul-float v5, v4, v2 mul-float v7, v6, v2 iget v8, p0, Lcom/airbnb/lottie/f;->scale:F mul-float v4, v4, v8 sub-float/2addr v4, v5 mul-float v8, v8, v6 sub-float/2addr v8, v7 invoke-virtual {p1, v4, v8}, Landroid/graphics/Canvas;->translate(FF)V invoke-virtual {p1, v1, v1, v5, v7}, Landroid/graphics/Canvas;->scale(FFFF)V :cond_2 iget-object v4, p0, Lcom/airbnb/lottie/f;->matrix:Landroid/graphics/Matrix; invoke-virtual {v4}, Landroid/graphics/Matrix;->reset()V iget-object v4, p0, Lcom/airbnb/lottie/f;->matrix:Landroid/graphics/Matrix; invoke-virtual {v4, v2, v2}, Landroid/graphics/Matrix;->preScale(FF)Z iget-object v2, p0, Lcom/airbnb/lottie/f;->gf:Lcom/airbnb/lottie/c/c/b; iget-object v4, p0, Lcom/airbnb/lottie/f;->matrix:Landroid/graphics/Matrix; iget v5, p0, Lcom/airbnb/lottie/f;->alpha:I invoke-virtual {v2, p1, v4, v5}, Lcom/airbnb/lottie/c/c/b;->a(Landroid/graphics/Canvas;Landroid/graphics/Matrix;I)V invoke-static {v0}, Lcom/airbnb/lottie/c;->s(Ljava/lang/String;)F cmpl-float v0, v1, v3 if-lez v0, :cond_3 invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V :cond_3 return-void .end method .method public getAlpha()I .locals 1 iget v0, p0, Lcom/airbnb/lottie/f;->alpha:I return v0 .end method .method public getIntrinsicHeight()I .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 const/4 v0, -0x1 return v0 :cond_0 iget-object v0, v0, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v0}, Landroid/graphics/Rect;->height()I move-result v0 int-to-float v0, v0 iget v1, p0, Lcom/airbnb/lottie/f;->scale:F mul-float v0, v0, v1 float-to-int v0, v0 return v0 .end method .method public getIntrinsicWidth()I .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 const/4 v0, -0x1 return v0 :cond_0 iget-object v0, v0, Lcom/airbnb/lottie/d;->fL:Landroid/graphics/Rect; invoke-virtual {v0}, Landroid/graphics/Rect;->width()I move-result v0 int-to-float v0, v0 iget v1, p0, Lcom/airbnb/lottie/f;->scale:F mul-float v0, v0, v1 float-to-int v0, v0 return v0 .end method .method public getOpacity()I .locals 1 const/4 v0, -0x3 return v0 .end method .method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V .locals 0 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/NonNull; .end annotation .end param invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object p1 if-nez p1, :cond_0 return-void :cond_0 invoke-interface {p1, p0}, Landroid/graphics/drawable/Drawable$Callback;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V return-void .end method .method public invalidateSelf()V .locals 1 invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object v0 if-eqz v0, :cond_0 invoke-interface {v0, p0}, Landroid/graphics/drawable/Drawable$Callback;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V :cond_0 return-void .end method .method public isRunning()Z .locals 1 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->isRunning()Z move-result v0 return v0 .end method .method public final j(Z)V .locals 2 iget-boolean v0, p0, Lcom/airbnb/lottie/f;->ge:Z if-ne v0, p1, :cond_0 return-void :cond_0 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x13 if-ge v0, v1, :cond_1 sget-object p1, Lcom/airbnb/lottie/f;->TAG:Ljava/lang/String; const-string v0, "Merge paths are not supported pre-Kit Kat." invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I return-void :cond_1 iput-boolean p1, p0, Lcom/airbnb/lottie/f;->ge:Z iget-object p1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-eqz p1, :cond_2 invoke-direct {p0}, Lcom/airbnb/lottie/f;->aS()V :cond_2 return-void .end method .method public scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V .locals 0 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/Runnable; .annotation build Landroidx/annotation/NonNull; .end annotation .end param invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object p1 if-nez p1, :cond_0 return-void :cond_0 invoke-interface {p1, p0, p2, p3, p4}, Landroid/graphics/drawable/Drawable$Callback;->scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V return-void .end method .method public setAlpha(I)V .locals 0 .param p1 # I .annotation build Landroidx/annotation/IntRange; from = 0x0L to = 0xffL .end annotation .end param iput p1, p0, Lcom/airbnb/lottie/f;->alpha:I return-void .end method .method public setColorFilter(Landroid/graphics/ColorFilter;)V .locals 1 .param p1 # Landroid/graphics/ColorFilter; .annotation build Landroidx/annotation/Nullable; .end annotation .end param const-string p1, "LOTTIE" const-string v0, "Use addColorFilter instead." invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I return-void .end method .method public final setFrame(I)V .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$2; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$2;->(Lcom/airbnb/lottie/f;I)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f/c;->setFrame(I)V return-void .end method .method public final setMaxFrame(I)V .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$8; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$8;->(Lcom/airbnb/lottie/f;I)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f/c;->setMaxFrame(I)V return-void .end method .method public final setMaxProgress(F)V .locals 2 .param p1 # F .annotation build Landroidx/annotation/FloatRange; from = 0.0 to = 1.0 .end annotation .end param iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$9; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$9;->(Lcom/airbnb/lottie/f;F)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget v0, v0, Lcom/airbnb/lottie/d;->fM:F iget-object v1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget v1, v1, Lcom/airbnb/lottie/d;->fN:F sub-float/2addr v1, v0 mul-float p1, p1, v1 add-float/2addr v0, p1 float-to-int p1, v0 invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f;->setMaxFrame(I)V return-void .end method .method public final setMinFrame(I)V .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$6; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$6;->(Lcom/airbnb/lottie/f;I)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f/c;->setMinFrame(I)V return-void .end method .method public final setMinProgress(F)V .locals 2 iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$7; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$7;->(Lcom/airbnb/lottie/f;F)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget v0, v0, Lcom/airbnb/lottie/d;->fM:F iget-object v1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget v1, v1, Lcom/airbnb/lottie/d;->fN:F sub-float/2addr v1, v0 mul-float p1, p1, v1 add-float/2addr v0, p1 float-to-int p1, v0 invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f;->setMinFrame(I)V return-void .end method .method public final setProgress(F)V .locals 2 .param p1 # F .annotation build Landroidx/annotation/FloatRange; from = 0.0 to = 1.0 .end annotation .end param iget-object v0, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; if-nez v0, :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; new-instance v1, Lcom/airbnb/lottie/f$3; invoke-direct {v1, p0, p1}, Lcom/airbnb/lottie/f$3;->(Lcom/airbnb/lottie/f;F)V invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z return-void :cond_0 iget v0, v0, Lcom/airbnb/lottie/d;->fM:F iget-object v1, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget v1, v1, Lcom/airbnb/lottie/d;->fN:F sub-float/2addr v1, v0 mul-float p1, p1, v1 add-float/2addr v0, p1 float-to-int p1, v0 invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f;->setFrame(I)V return-void .end method .method public final setRepeatCount(I)V .locals 1 iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; invoke-virtual {v0, p1}, Lcom/airbnb/lottie/f/c;->setRepeatCount(I)V return-void .end method .method public final setScale(F)V .locals 0 iput p1, p0, Lcom/airbnb/lottie/f;->scale:F invoke-direct {p0}, Lcom/airbnb/lottie/f;->aV()V return-void .end method .method public start()V .locals 0 .annotation build Landroidx/annotation/MainThread; .end annotation invoke-virtual {p0}, Lcom/airbnb/lottie/f;->aL()V return-void .end method .method public stop()V .locals 2 .annotation build Landroidx/annotation/MainThread; .end annotation iget-object v0, p0, Lcom/airbnb/lottie/f;->fY:Ljava/util/ArrayList; invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V iget-object v0, p0, Lcom/airbnb/lottie/f;->fW:Lcom/airbnb/lottie/f/c; const/4 v1, 0x1 invoke-virtual {v0, v1}, Lcom/airbnb/lottie/f/c;->l(Z)V invoke-virtual {v0}, Lcom/airbnb/lottie/f/c;->bA()Z move-result v1 invoke-virtual {v0, v1}, Lcom/airbnb/lottie/f/c;->k(Z)V return-void .end method .method public final u(Ljava/lang/String;)Landroid/graphics/Bitmap; .locals 6 .annotation build Landroidx/annotation/Nullable; .end annotation invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 move-object v0, v1 goto :goto_2 :cond_0 iget-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; if-eqz v0, :cond_5 invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object v2 if-eqz v2, :cond_1 instance-of v3, v2, Landroid/view/View; if-eqz v3, :cond_1 check-cast v2, Landroid/view/View; invoke-virtual {v2}, Landroid/view/View;->getContext()Landroid/content/Context; move-result-object v2 goto :goto_0 :cond_1 move-object v2, v1 :goto_0 if-nez v2, :cond_2 iget-object v3, v0, Lcom/airbnb/lottie/b/b;->context:Landroid/content/Context; if-eqz v3, :cond_3 :cond_2 iget-object v0, v0, Lcom/airbnb/lottie/b/b;->context:Landroid/content/Context; invoke-virtual {v0, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_4 :cond_3 const/4 v0, 0x1 goto :goto_1 :cond_4 const/4 v0, 0x0 :goto_1 if-nez v0, :cond_5 iget-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; invoke-virtual {v0}, Lcom/airbnb/lottie/b/b;->aR()V iput-object v1, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; :cond_5 iget-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; if-nez v0, :cond_6 new-instance v0, Lcom/airbnb/lottie/b/b; invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object v2 iget-object v3, p0, Lcom/airbnb/lottie/f;->fC:Ljava/lang/String; iget-object v4, p0, Lcom/airbnb/lottie/f;->ga:Lcom/airbnb/lottie/b; iget-object v5, p0, Lcom/airbnb/lottie/f;->fz:Lcom/airbnb/lottie/d; iget-object v5, v5, Lcom/airbnb/lottie/d;->fG:Ljava/util/Map; invoke-direct {v0, v2, v3, v4, v5}, Lcom/airbnb/lottie/b/b;->(Landroid/graphics/drawable/Drawable$Callback;Ljava/lang/String;Lcom/airbnb/lottie/b;Ljava/util/Map;)V iput-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; :cond_6 iget-object v0, p0, Lcom/airbnb/lottie/f;->fZ:Lcom/airbnb/lottie/b/b; :goto_2 if-eqz v0, :cond_7 invoke-virtual {v0, p1}, Lcom/airbnb/lottie/b/b;->v(Ljava/lang/String;)Landroid/graphics/Bitmap; move-result-object p1 return-object p1 :cond_7 return-object v1 .end method .method public unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V .locals 0 .param p1 # Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/Runnable; .annotation build Landroidx/annotation/NonNull; .end annotation .end param invoke-virtual {p0}, Lcom/airbnb/lottie/f;->getCallback()Landroid/graphics/drawable/Drawable$Callback; move-result-object p1 if-nez p1, :cond_0 return-void :cond_0 invoke-interface {p1, p0, p2}, Landroid/graphics/drawable/Drawable$Callback;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V return-void .end method