g.smali

.class final Lcom/opensource/svgaplayer/g;
.super Ljava/lang/Object;
.source "SVGAImageView.kt"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opensource/svgaplayer/SVGAImageView;->loadAttrs(Landroid/util/AttributeSet;)V
.end annotation

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


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/opensource/svgaplayer/SVGAParser;

.field final synthetic c:Lcom/opensource/svgaplayer/SVGAImageView;

.field final synthetic d:Z

.field final synthetic e:Z


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

    iput-object p1, p0, Lcom/opensource/svgaplayer/g;->a:Ljava/lang/String;

    iput-object p2, p0, Lcom/opensource/svgaplayer/g;->b:Lcom/opensource/svgaplayer/SVGAParser;

    iput-object p3, p0, Lcom/opensource/svgaplayer/g;->c:Lcom/opensource/svgaplayer/SVGAImageView;

    iput-boolean p4, p0, Lcom/opensource/svgaplayer/g;->d:Z

    iput-boolean p5, p0, Lcom/opensource/svgaplayer/g;->e:Z

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 7

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

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

    .line 2
    iget-object v1, p0, Lcom/opensource/svgaplayer/g;->a:Ljava/lang/String;

    const/4 v2, 0x0

    const/4 v3, 0x2

    const/4 v4, 0x0

    const-string v5, "http://"

    invoke-static {v1, v5, v4, v3, v2}, Lkotlin/text/f;->b(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_25

    iget-object v1, p0, Lcom/opensource/svgaplayer/g;->a:Ljava/lang/String;

    const-string v5, "https://"

    invoke-static {v1, v5, v4, v3, v2}, Lkotlin/text/f;->b(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1d

    goto :goto_25

    .line 3
    :cond_1d
    iget-object v1, p0, Lcom/opensource/svgaplayer/g;->b:Lcom/opensource/svgaplayer/SVGAParser;

    iget-object v2, p0, Lcom/opensource/svgaplayer/g;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/opensource/svgaplayer/SVGAParser;->b(Ljava/lang/String;Lcom/opensource/svgaplayer/SVGAParser$c;)V

    goto :goto_31

    .line 4
    :cond_25
    :goto_25
    iget-object v1, p0, Lcom/opensource/svgaplayer/g;->b:Lcom/opensource/svgaplayer/SVGAParser;

    new-instance v2, Ljava/net/URL;

    iget-object v3, p0, Lcom/opensource/svgaplayer/g;->a:Ljava/lang/String;

    invoke-direct {v2, v3}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v2, v0}, Lcom/opensource/svgaplayer/SVGAParser;->b(Ljava/net/URL;Lcom/opensource/svgaplayer/SVGAParser$c;)V

    :goto_31
    return-void
.end method