i.smali
.class public Lcom/bumptech/glide/i;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/i$b;,
Lcom/bumptech/glide/i$a;,
Lcom/bumptech/glide/i$e;,
Lcom/bumptech/glide/i$d;,
Lcom/bumptech/glide/i$c;
}
.end annotation
# instance fields
.field private final a:Lcom/bumptech/glide/load/o/p;
.field private final b:Lcom/bumptech/glide/q/a;
.field private final c:Lcom/bumptech/glide/q/e;
.field private final d:Lcom/bumptech/glide/q/f;
.field private final e:Lcom/bumptech/glide/load/data/f;
.field private final f:Lcom/bumptech/glide/load/p/i/f;
.field private final g:Lcom/bumptech/glide/q/b;
.field private final h:Lcom/bumptech/glide/q/d;
.field private final i:Lcom/bumptech/glide/q/c;
.field private final j:Le/h/n/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Le/h/n/e<",
"Ljava/util/List<",
"Ljava/lang/Throwable;",
">;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/bumptech/glide/q/d;
invoke-direct {v0}, Lcom/bumptech/glide/q/d;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->h:Lcom/bumptech/glide/q/d;
new-instance v0, Lcom/bumptech/glide/q/c;
invoke-direct {v0}, Lcom/bumptech/glide/q/c;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->i:Lcom/bumptech/glide/q/c;
invoke-static {}, Lcom/bumptech/glide/t/l/a;->e()Le/h/n/e;
move-result-object v0
iput-object v0, p0, Lcom/bumptech/glide/i;->j:Le/h/n/e;
new-instance v1, Lcom/bumptech/glide/load/o/p;
invoke-direct {v1, v0}, Lcom/bumptech/glide/load/o/p;-><init>(Le/h/n/e;)V
iput-object v1, p0, Lcom/bumptech/glide/i;->a:Lcom/bumptech/glide/load/o/p;
new-instance v0, Lcom/bumptech/glide/q/a;
invoke-direct {v0}, Lcom/bumptech/glide/q/a;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->b:Lcom/bumptech/glide/q/a;
new-instance v0, Lcom/bumptech/glide/q/e;
invoke-direct {v0}, Lcom/bumptech/glide/q/e;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->c:Lcom/bumptech/glide/q/e;
new-instance v0, Lcom/bumptech/glide/q/f;
invoke-direct {v0}, Lcom/bumptech/glide/q/f;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->d:Lcom/bumptech/glide/q/f;
new-instance v0, Lcom/bumptech/glide/load/data/f;
invoke-direct {v0}, Lcom/bumptech/glide/load/data/f;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->e:Lcom/bumptech/glide/load/data/f;
new-instance v0, Lcom/bumptech/glide/load/p/i/f;
invoke-direct {v0}, Lcom/bumptech/glide/load/p/i/f;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->f:Lcom/bumptech/glide/load/p/i/f;
new-instance v0, Lcom/bumptech/glide/q/b;
invoke-direct {v0}, Lcom/bumptech/glide/q/b;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/i;->g:Lcom/bumptech/glide/q/b;
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "Gif"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "Bitmap"
aput-object v2, v0, v1
const/4 v1, 0x2
const-string v2, "BitmapDrawable"
aput-object v2, v0, v1
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/bumptech/glide/i;->r(Ljava/util/List;)Lcom/bumptech/glide/i;
return-void
.end method
.method private f(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
.registers 15
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
"Transcode:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TData;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Ljava/lang/Class<",
"TTranscode;>;)",
"Ljava/util/List<",
"Lcom/bumptech/glide/load/n/i<",
"TData;TTResource;TTranscode;>;>;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iget-object v1, p0, Lcom/bumptech/glide/i;->c:Lcom/bumptech/glide/q/e;
invoke-virtual {v1, p1, p2}, Lcom/bumptech/glide/q/e;->d(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object p2
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:cond_f
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4c
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Class;
iget-object v2, p0, Lcom/bumptech/glide/i;->f:Lcom/bumptech/glide/load/p/i/f;
invoke-virtual {v2, v1, p3}, Lcom/bumptech/glide/load/p/i/f;->b(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object v2
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v9
:goto_25
invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_f
invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
move-object v5, v2
check-cast v5, Ljava/lang/Class;
iget-object v2, p0, Lcom/bumptech/glide/i;->c:Lcom/bumptech/glide/q/e;
invoke-virtual {v2, p1, v1}, Lcom/bumptech/glide/q/e;->b(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object v6
iget-object v2, p0, Lcom/bumptech/glide/i;->f:Lcom/bumptech/glide/load/p/i/f;
invoke-virtual {v2, v1, v5}, Lcom/bumptech/glide/load/p/i/f;->a(Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/load/p/i/e;
move-result-object v7
new-instance v10, Lcom/bumptech/glide/load/n/i;
iget-object v8, p0, Lcom/bumptech/glide/i;->j:Le/h/n/e;
move-object v2, v10
move-object v3, p1
move-object v4, v1
invoke-direct/range {v2 .. v8}, Lcom/bumptech/glide/load/n/i;-><init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;Lcom/bumptech/glide/load/p/i/e;Le/h/n/e;)V
invoke-interface {v0, v10}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_25
:cond_4c
return-object v0
.end method
# virtual methods
.method public a(Ljava/lang/Class;Lcom/bumptech/glide/load/d;)Lcom/bumptech/glide/i;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TData;>;",
"Lcom/bumptech/glide/load/d<",
"TData;>;)",
"Lcom/bumptech/glide/i;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->b:Lcom/bumptech/glide/q/a;
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/q/a;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/d;)V
return-object p0
.end method
.method public b(Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/i;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<TResource:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TTResource;>;",
"Lcom/bumptech/glide/load/l<",
"TTResource;>;)",
"Lcom/bumptech/glide/i;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->d:Lcom/bumptech/glide/q/f;
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/q/f;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/l;)V
return-object p0
.end method
.method public c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TData;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Lcom/bumptech/glide/load/k<",
"TData;TTResource;>;)",
"Lcom/bumptech/glide/i;"
}
.end annotation
const-string v0, "legacy_append"
invoke-virtual {p0, v0, p1, p2, p3}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
return-object p0
.end method
.method public d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<Model:",
"Ljava/lang/Object;",
"Data:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TModel;>;",
"Ljava/lang/Class<",
"TData;>;",
"Lcom/bumptech/glide/load/o/o<",
"TModel;TData;>;)",
"Lcom/bumptech/glide/i;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->a:Lcom/bumptech/glide/load/o/p;
invoke-virtual {v0, p1, p2, p3}, Lcom/bumptech/glide/load/o/p;->a(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)V
return-object p0
.end method
.method public e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TData;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Lcom/bumptech/glide/load/k<",
"TData;TTResource;>;)",
"Lcom/bumptech/glide/i;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->c:Lcom/bumptech/glide/q/e;
invoke-virtual {v0, p1, p4, p2, p3}, Lcom/bumptech/glide/q/e;->a(Ljava/lang/String;Lcom/bumptech/glide/load/k;Ljava/lang/Class;Ljava/lang/Class;)V
return-object p0
.end method
.method public g()Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/bumptech/glide/load/ImageHeaderParser;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->g:Lcom/bumptech/glide/q/b;
invoke-virtual {v0}, Lcom/bumptech/glide/q/b;->b()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
move-result v1
if-nez v1, :cond_d
return-object v0
:cond_d
new-instance v0, Lcom/bumptech/glide/i$b;
invoke-direct {v0}, Lcom/bumptech/glide/i$b;-><init>()V
throw v0
.end method
.method public h(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/load/n/t;
.registers 13
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
"Transcode:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TData;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Ljava/lang/Class<",
"TTranscode;>;)",
"Lcom/bumptech/glide/load/n/t<",
"TData;TTResource;TTranscode;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->i:Lcom/bumptech/glide/q/c;
invoke-virtual {v0, p1, p2, p3}, Lcom/bumptech/glide/q/c;->a(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/load/n/t;
move-result-object v0
iget-object v1, p0, Lcom/bumptech/glide/i;->i:Lcom/bumptech/glide/q/c;
invoke-virtual {v1, v0}, Lcom/bumptech/glide/q/c;->c(Lcom/bumptech/glide/load/n/t;)Z
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_10
return-object v2
:cond_10
if-nez v0, :cond_2e
invoke-direct {p0, p1, p2, p3}, Lcom/bumptech/glide/i;->f(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object v7
invoke-interface {v7}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_1e
move-object v0, v2
goto :goto_29
:cond_1e
new-instance v0, Lcom/bumptech/glide/load/n/t;
iget-object v8, p0, Lcom/bumptech/glide/i;->j:Le/h/n/e;
move-object v3, v0
move-object v4, p1
move-object v5, p2
move-object v6, p3
invoke-direct/range {v3 .. v8}, Lcom/bumptech/glide/load/n/t;-><init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;Le/h/n/e;)V
:goto_29
iget-object v1, p0, Lcom/bumptech/glide/i;->i:Lcom/bumptech/glide/q/c;
invoke-virtual {v1, p1, p2, p3, v0}, Lcom/bumptech/glide/q/c;->d(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/n/t;)V
:cond_2e
return-object v0
.end method
.method public i(Ljava/lang/Object;)Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<Model:",
"Ljava/lang/Object;",
">(TModel;)",
"Ljava/util/List<",
"Lcom/bumptech/glide/load/o/n<",
"TModel;*>;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->a:Lcom/bumptech/glide/load/o/p;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/load/o/p;->d(Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public j(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
.registers 9
.annotation system Ldalvik/annotation/Signature;
value = {
"<Model:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
"Transcode:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TModel;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Ljava/lang/Class<",
"TTranscode;>;)",
"Ljava/util/List<",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/i;->h:Lcom/bumptech/glide/q/d;
invoke-virtual {v0, p1, p2, p3}, Lcom/bumptech/glide/q/d;->a(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object v0
if-nez v0, :cond_58
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iget-object v1, p0, Lcom/bumptech/glide/i;->a:Lcom/bumptech/glide/load/o/p;
invoke-virtual {v1, p1}, Lcom/bumptech/glide/load/o/p;->c(Ljava/lang/Class;)Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_17
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_4f
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Class;
iget-object v3, p0, Lcom/bumptech/glide/i;->c:Lcom/bumptech/glide/q/e;
invoke-virtual {v3, v2, p2}, Lcom/bumptech/glide/q/e;->d(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
move-result-object v2
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_2d
:goto_2d
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_17
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Class;
iget-object v4, p0, Lcom/bumptech/glide/i;->f:Lcom/bumptech/glide/load/p/i/f;
invoke-virtual {v4, v3, p3},