d.smali
.class public Lcom/bumptech/glide/d;
.super Landroid/content/ContextWrapper;
.source ""
# static fields
.field static final k:Lcom/bumptech/glide/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/l<",
"**>;"
}
.end annotation
.end field
# instance fields
.field private final a:Lcom/bumptech/glide/load/n/a0/b;
.field private final b:Lcom/bumptech/glide/i;
.field private final c:Lcom/bumptech/glide/r/j/f;
.field private final d:Lcom/bumptech/glide/b$a;
.field private final e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/bumptech/glide/r/e<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.end field
.field private final f:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/l<",
"**>;>;"
}
.end annotation
.end field
.field private final g:Lcom/bumptech/glide/load/n/k;
.field private final h:Lcom/bumptech/glide/e;
.field private final i:I
.field private j:Lcom/bumptech/glide/r/f;
# direct methods
.method static constructor <clinit>()V
.registers 1
new-instance v0, Lcom/bumptech/glide/a;
invoke-direct {v0}, Lcom/bumptech/glide/a;-><init>()V
sput-object v0, Lcom/bumptech/glide/d;->k:Lcom/bumptech/glide/l;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lcom/bumptech/glide/load/n/a0/b;Lcom/bumptech/glide/i;Lcom/bumptech/glide/r/j/f;Lcom/bumptech/glide/b$a;Ljava/util/Map;Ljava/util/List;Lcom/bumptech/glide/load/n/k;Lcom/bumptech/glide/e;I)V
.registers 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/bumptech/glide/load/n/a0/b;",
"Lcom/bumptech/glide/i;",
"Lcom/bumptech/glide/r/j/f;",
"Lcom/bumptech/glide/b$a;",
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/l<",
"**>;>;",
"Ljava/util/List<",
"Lcom/bumptech/glide/r/e<",
"Ljava/lang/Object;",
">;>;",
"Lcom/bumptech/glide/load/n/k;",
"Lcom/bumptech/glide/e;",
"I)V"
}
.end annotation
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p1
invoke-direct {p0, p1}, Landroid/content/ContextWrapper;-><init>(Landroid/content/Context;)V
iput-object p2, p0, Lcom/bumptech/glide/d;->a:Lcom/bumptech/glide/load/n/a0/b;
iput-object p3, p0, Lcom/bumptech/glide/d;->b:Lcom/bumptech/glide/i;
iput-object p4, p0, Lcom/bumptech/glide/d;->c:Lcom/bumptech/glide/r/j/f;
iput-object p5, p0, Lcom/bumptech/glide/d;->d:Lcom/bumptech/glide/b$a;
iput-object p7, p0, Lcom/bumptech/glide/d;->e:Ljava/util/List;
iput-object p6, p0, Lcom/bumptech/glide/d;->f:Ljava/util/Map;
iput-object p8, p0, Lcom/bumptech/glide/d;->g:Lcom/bumptech/glide/load/n/k;
iput-object p9, p0, Lcom/bumptech/glide/d;->h:Lcom/bumptech/glide/e;
iput p10, p0, Lcom/bumptech/glide/d;->i:I
return-void
.end method
# virtual methods
.method public a(Landroid/widget/ImageView;Ljava/lang/Class;)Lcom/bumptech/glide/r/j/i;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<X:",
"Ljava/lang/Object;",
">(",
"Landroid/widget/ImageView;",
"Ljava/lang/Class<",
"TX;>;)",
"Lcom/bumptech/glide/r/j/i<",
"Landroid/widget/ImageView;",
"TX;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/d;->c:Lcom/bumptech/glide/r/j/f;
invoke-virtual {v0, p1, p2}, Lcom/bumptech/glide/r/j/f;->a(Landroid/widget/ImageView;Ljava/lang/Class;)Lcom/bumptech/glide/r/j/i;
move-result-object p1
return-object p1
.end method
.method public b()Lcom/bumptech/glide/load/n/a0/b;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/d;->a:Lcom/bumptech/glide/load/n/a0/b;
return-object v0
.end method
.method public c()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/bumptech/glide/r/e<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/d;->e:Ljava/util/List;
return-object v0
.end method
.method public declared-synchronized d()Lcom/bumptech/glide/r/f;
.registers 2
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/d;->j:Lcom/bumptech/glide/r/f;
if-nez v0, :cond_12
iget-object v0, p0, Lcom/bumptech/glide/d;->d:Lcom/bumptech/glide/b$a;
invoke-interface {v0}, Lcom/bumptech/glide/b$a;->a()Lcom/bumptech/glide/r/f;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/r/a;->M()Lcom/bumptech/glide/r/a;
check-cast v0, Lcom/bumptech/glide/r/f;
iput-object v0, p0, Lcom/bumptech/glide/d;->j:Lcom/bumptech/glide/r/f;
:cond_12
iget-object v0, p0, Lcom/bumptech/glide/d;->j:Lcom/bumptech/glide/r/f;
:try_end_14
.catchall {:try_start_1 .. :try_end_14} :catchall_16
monitor-exit p0
return-object v0
:catchall_16
move-exception v0
monitor-exit p0
throw v0
.end method
.method public e(Ljava/lang/Class;)Lcom/bumptech/glide/l;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)",
"Lcom/bumptech/glide/l<",
"*TT;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/d;->f:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/l;
if-nez v0, :cond_33
iget-object v1, p0, Lcom/bumptech/glide/d;->f:Ljava/util/Map;
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_14
:goto_14
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_33
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map$Entry;
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Class;
invoke-virtual {v3, p1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result v3
if-eqz v3, :cond_14
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/l;
goto :goto_14
:cond_33
if-nez v0, :cond_37
sget-object v0, Lcom/bumptech/glide/d;->k:Lcom/bumptech/glide/l;
:cond_37
return-object v0
.end method
.method public f()Lcom/bumptech/glide/load/n/k;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/d;->g:Lcom/bumptech/glide/load/n/k;
return-object v0
.end method
.method public g()Lcom/bumptech/glide/e;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/d;->h:Lcom/bumptech/glide/e;
return-object v0
.end method
.method public h()I
.registers 2
iget v0, p0, Lcom/bumptech/glide/d;->i:I
return v0
.end method
.method public i()Lcom/bumptech/glide/i;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/d;->b:Lcom/bumptech/glide/i;
return-object v0
.end method