AvatarUtils$1.smali

.class final Lcom/sandboxol/center/utils/AvatarUtils$1;
.super Ljava/lang/Object;
.source "AvatarUtils.java"

# interfaces
.implements Lcom/opensource/svgaplayer/SVGAParser$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/center/utils/AvatarUtils;->a(Ljava/io/File;Lcom/opensource/svgaplayer/SVGAParser;Ljava/lang/String;Lcom/opensource/svgaplayer/SVGAImageView;)V
.end annotation

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


# instance fields
.field final synthetic val$asset:Ljava/lang/String;

.field final synthetic val$svgaImageView:Lcom/opensource/svgaplayer/SVGAImageView;


# direct methods
.method constructor <init>(Lcom/opensource/svgaplayer/SVGAImageView;Ljava/lang/String;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/sandboxol/center/utils/AvatarUtils$1;->val$svgaImageView:Lcom/opensource/svgaplayer/SVGAImageView;

    iput-object p2, p0, Lcom/sandboxol/center/utils/AvatarUtils$1;->val$asset:Ljava/lang/String;

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

    return-void
.end method

.method static synthetic a(Lcom/opensource/svgaplayer/q;Lcom/opensource/svgaplayer/SVGAImageView;Ljava/lang/String;)V
    .registers 4

    .line 1
    new-instance v0, Lcom/opensource/svgaplayer/c;

    invoke-direct {v0, p0}, Lcom/opensource/svgaplayer/c;-><init>(Lcom/opensource/svgaplayer/q;)V

    .line 2
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 3
    invoke-virtual {p1}, Lcom/opensource/svgaplayer/SVGAImageView;->startAnimation()V

    .line 4
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    return-void
.end method


# virtual methods
.method public onComplete(Lcom/opensource/svgaplayer/q;)V
    .registers 6

    .line 1
    # getter for: Lcom/sandboxol/center/utils/AvatarUtils;->mainHandler:Landroid/os/Handler;
    invoke-static {}, Lcom/sandboxol/center/utils/AvatarUtils;->access$000()Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/sandboxol/center/utils/AvatarUtils$1;->val$svgaImageView:Lcom/opensource/svgaplayer/SVGAImageView;

    iget-object v2, p0, Lcom/sandboxol/center/utils/AvatarUtils$1;->val$asset:Ljava/lang/String;

    new-instance v3, Lcom/sandboxol/center/utils/b;

    invoke-direct {v3, p1, v1, v2}, Lcom/sandboxol/center/utils/b;-><init>(Lcom/opensource/svgaplayer/q;Lcom/opensource/svgaplayer/SVGAImageView;Ljava/lang/String;)V

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

    return-void
.end method

.method public onError()V
    .registers 1

    return-void
.end method