n.smali
.class public final Lcom/bumptech/glide/n;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/content/ComponentCallbacks2;
.implements Lcom/bumptech/glide/manager/i;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/n$b;,
Lcom/bumptech/glide/n$c;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/content/ComponentCallbacks2;",
"Lcom/bumptech/glide/manager/i;"
}
.end annotation
# static fields
.field public static final k:Lcom/bumptech/glide/request/h;
.field public static final l:Lcom/bumptech/glide/request/h;
# instance fields
.field public final a:Lcom/bumptech/glide/b;
.field public final b:Landroid/content/Context;
.field public final c:Lcom/bumptech/glide/manager/h;
.field public final d:Lcom/bumptech/glide/manager/n;
.field public final e:Lcom/bumptech/glide/manager/m;
.field public final f:Lcom/bumptech/glide/manager/r;
.field public final g:Lcom/bumptech/glide/n$a;
.field public final h:Lcom/bumptech/glide/manager/b;
.field public final i:Ljava/util/concurrent/CopyOnWriteArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CopyOnWriteArrayList<",
"Lcom/bumptech/glide/request/g<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.end field
.field public j:Lcom/bumptech/glide/request/h;
# direct methods
.method public static constructor <clinit>()V
.registers 3
.line 1
const-class v0, Landroid/graphics/Bitmap;
.line 2
new-instance v1, Lcom/bumptech/glide/request/h;
invoke-direct {v1}, Lcom/bumptech/glide/request/h;-><init>()V
invoke-virtual {v1, v0}, Lcom/bumptech/glide/request/a;->c(Ljava/lang/Class;)Lcom/bumptech/glide/request/a;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/h;
const/4 v1, 0x1
.line 3
iput-boolean v1, v0, Lcom/bumptech/glide/request/a;->t:Z
.line 4
sput-object v0, Lcom/bumptech/glide/n;->k:Lcom/bumptech/glide/request/h;
.line 5
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
.line 6
new-instance v2, Lcom/bumptech/glide/request/h;
invoke-direct {v2}, Lcom/bumptech/glide/request/h;-><init>()V
invoke-virtual {v2, v0}, Lcom/bumptech/glide/request/a;->c(Ljava/lang/Class;)Lcom/bumptech/glide/request/a;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/h;
.line 7
iput-boolean v1, v0, Lcom/bumptech/glide/request/a;->t:Z
.line 8
sput-object v0, Lcom/bumptech/glide/n;->l:Lcom/bumptech/glide/request/h;
.line 9
sget-object v0, Lcom/bumptech/glide/load/engine/l;->c:Lcom/bumptech/glide/load/engine/l$c;
.line 10
new-instance v2, Lcom/bumptech/glide/request/h;
invoke-direct {v2}, Lcom/bumptech/glide/request/h;-><init>()V
invoke-virtual {v2, v0}, Lcom/bumptech/glide/request/a;->d(Lcom/bumptech/glide/load/engine/l;)Lcom/bumptech/glide/request/a;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/h;
.line 11
sget-object v2, Lcom/bumptech/glide/j;->LOW:Lcom/bumptech/glide/j;
invoke-virtual {v0, v2}, Lcom/bumptech/glide/request/a;->q(Lcom/bumptech/glide/j;)Lcom/bumptech/glide/request/a;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/h;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/a;->u(Z)Lcom/bumptech/glide/request/a;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/h;
return-void
.end method
.method public constructor <init>(Lcom/bumptech/glide/b;Lcom/bumptech/glide/manager/h;Lcom/bumptech/glide/manager/m;Landroid/content/Context;)V
.registers 8
.line 1
new-instance v0, Lcom/bumptech/glide/manager/n;
invoke-direct {v0}, Lcom/bumptech/glide/manager/n;-><init>()V
.line 2
iget-object v1, p1, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/manager/c;
.line 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 4
new-instance v2, Lcom/bumptech/glide/manager/r;
invoke-direct {v2}, Lcom/bumptech/glide/manager/r;-><init>()V
iput-object v2, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
.line 5
new-instance v2, Lcom/bumptech/glide/n$a;
invoke-direct {v2, p0}, Lcom/bumptech/glide/n$a;-><init>(Lcom/bumptech/glide/n;)V
iput-object v2, p0, Lcom/bumptech/glide/n;->g:Lcom/bumptech/glide/n$a;
.line 6
iput-object p1, p0, Lcom/bumptech/glide/n;->a:Lcom/bumptech/glide/b;
.line 7
iput-object p2, p0, Lcom/bumptech/glide/n;->c:Lcom/bumptech/glide/manager/h;
.line 8
iput-object p3, p0, Lcom/bumptech/glide/n;->e:Lcom/bumptech/glide/manager/m;
.line 9
iput-object v0, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
.line 10
iput-object p4, p0, Lcom/bumptech/glide/n;->b:Landroid/content/Context;
.line 11
invoke-virtual {p4}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p3
new-instance p4, Lcom/bumptech/glide/n$c;
invoke-direct {p4, p0, v0}, Lcom/bumptech/glide/n$c;-><init>(Lcom/bumptech/glide/n;Lcom/bumptech/glide/manager/n;)V
.line 12
check-cast v1, Lcom/bumptech/glide/manager/e;
invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
const-string v0, "android.permission.ACCESS_NETWORK_STATE"
.line 13
invoke-static {p3, v0}, Landroidx/core/content/b;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
const/4 v1, 0x1
if-nez v0, :cond_3b
const/4 v0, 0x1
goto :goto_3c
:cond_3b
const/4 v0, 0x0
:goto_3c
if-eqz v0, :cond_44
.line 14
new-instance v0, Lcom/bumptech/glide/manager/d;
invoke-direct {v0, p3, p4}, Lcom/bumptech/glide/manager/d;-><init>(Landroid/content/Context;Lcom/bumptech/glide/manager/b$a;)V
goto :goto_49
.line 15
:cond_44
new-instance v0, Lcom/bumptech/glide/manager/j;
invoke-direct {v0}, Lcom/bumptech/glide/manager/j;-><init>()V
.line 16
:goto_49
iput-object v0, p0, Lcom/bumptech/glide/n;->h:Lcom/bumptech/glide/manager/b;
.line 17
invoke-static {}, Lcom/bumptech/glide/util/m;->h()Z
move-result p3
if-eqz p3, :cond_55
.line 18
invoke-static {v2}, Lcom/bumptech/glide/util/m;->k(Ljava/lang/Runnable;)V
goto :goto_58
.line 19
:cond_55
invoke-interface {p2, p0}, Lcom/bumptech/glide/manager/h;->e(Lcom/bumptech/glide/manager/i;)V
.line 20
:goto_58
invoke-interface {p2, v0}, Lcom/bumptech/glide/manager/h;->e(Lcom/bumptech/glide/manager/i;)V
.line 21
new-instance p2, Ljava/util/concurrent/CopyOnWriteArrayList;
.line 22
iget-object p3, p1, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/e;
.line 23
iget-object p3, p3, Lcom/bumptech/glide/e;->e:Ljava/util/List;
.line 24
invoke-direct {p2, p3}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>(Ljava/util/Collection;)V
iput-object p2, p0, Lcom/bumptech/glide/n;->i:Ljava/util/concurrent/CopyOnWriteArrayList;
.line 25
sget-object p3, Lcom/bumptech/glide/o$a;->a:Lcom/bumptech/glide/o;
.line 26
iget-object p3, p3, Lcom/bumptech/glide/o;->a:Lcom/shopee/glide/service/b;
if-eqz p3, :cond_74
.line 27
invoke-interface {p3}, Lcom/shopee/glide/service/b;->f()V
sget-object p3, Lcom/shopee/glide/monitor/a;->a:Lcom/shopee/glide/monitor/a;
.line 28
invoke-virtual {p2, p3}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z
.line 29
:cond_74
iget-object p2, p1, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/e;
.line 30
monitor-enter p2
.line 31
:try_start_77
iget-object p3, p2, Lcom/bumptech/glide/e;->k:Lcom/bumptech/glide/request/h;
if-nez p3, :cond_85
.line 32
iget-object p3, p2, Lcom/bumptech/glide/e;->d:Lcom/bumptech/glide/b$a;
invoke-interface {p3}, Lcom/bumptech/glide/b$a;->build()Lcom/bumptech/glide/request/h;
move-result-object p3
.line 33
iput-boolean v1, p3, Lcom/bumptech/glide/request/a;->t:Z
.line 34
iput-object p3, p2, Lcom/bumptech/glide/e;->k:Lcom/bumptech/glide/request/h;
.line 35
:cond_85
iget-object p3, p2, Lcom/bumptech/glide/e;->k:Lcom/bumptech/glide/request/h;
:try_end_87
.catchall {:try_start_77 .. :try_end_87} :catchall_c7
monitor-exit p2
.line 36
monitor-enter p0
.line 37
:try_start_89
invoke-virtual {p3}, Lcom/bumptech/glide/request/a;->b()Lcom/bumptech/glide/request/a;
move-result-object p2
check-cast p2, Lcom/bumptech/glide/request/h;
.line 38
iget-boolean p3, p2, Lcom/bumptech/glide/request/a;->t:Z
if-eqz p3, :cond_a0
iget-boolean p3, p2, Lcom/bumptech/glide/request/a;->v:Z
if-eqz p3, :cond_98
goto :goto_a0
.line 39
:cond_98
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "You cannot auto lock an already locked options object, try clone() first"
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.line 40
:cond_a0
:goto_a0
iput-boolean v1, p2, Lcom/bumptech/glide/request/a;->v:Z
.line 41
iput-boolean v1, p2, Lcom/bumptech/glide/request/a;->t:Z
.line 42
iput-object p2, p0, Lcom/bumptech/glide/n;->j:Lcom/bumptech/glide/request/h;
:try_end_a6
.catchall {:try_start_89 .. :try_end_a6} :catchall_c4
.line 43
monitor-exit p0
.line 44
iget-object p2, p1, Lcom/bumptech/glide/b;->j:Ljava/util/ArrayList;
monitor-enter p2
.line 45
:try_start_aa
iget-object p3, p1, Lcom/bumptech/glide/b;->j:Ljava/util/ArrayList;
invoke-virtual {p3, p0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result p3
if-nez p3, :cond_b9
.line 46
iget-object p1, p1, Lcom/bumptech/glide/b;->j:Ljava/util/ArrayList;
invoke-virtual {p1, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 47
monitor-exit p2
return-void
.line 48
:cond_b9
new-instance p1, Ljava/lang/IllegalStateException;
const-string p3, "Cannot register already registered manager"
invoke-direct {p1, p3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:catchall_c1
move-exception p1
.line 49
monitor-exit p2
:try_end_c3
.catchall {:try_start_aa .. :try_end_c3} :catchall_c1
throw p1
:catchall_c4
move-exception p1
.line 50
monitor-exit p0
throw p1
:catchall_c7
move-exception p1
.line 51
monitor-exit p2
throw p1
.end method
# virtual methods
.method public final a(Ljava/lang/Class;)Lcom/bumptech/glide/m;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<ResourceType:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TResourceType;>;)",
"Lcom/bumptech/glide/m<",
"TResourceType;>;"
}
.end annotation
new-instance v0, Lcom/bumptech/glide/m;
iget-object v1, p0, Lcom/bumptech/glide/n;->a:Lcom/bumptech/glide/b;
iget-object v2, p0, Lcom/bumptech/glide/n;->b:Landroid/content/Context;
invoke-direct {v0, v1, p0, p1, v2}, Lcom/bumptech/glide/m;-><init>(Lcom/bumptech/glide/b;Lcom/bumptech/glide/n;Ljava/lang/Class;Landroid/content/Context;)V
return-object v0
.end method
.method public final b()Lcom/bumptech/glide/m;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/m<",
"Lcom/bumptech/glide/load/resource/gif/GifDrawable;",
">;"
}
.end annotation
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/n;->a(Ljava/lang/Class;)Lcom/bumptech/glide/m;
move-result-object v0
sget-object v1, Lcom/bumptech/glide/n;->l:Lcom/bumptech/glide/request/h;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/m;->B(Lcom/bumptech/glide/request/a;)Lcom/bumptech/glide/m;
move-result-object v0
return-object v0
.end method
.method public final c(Lcom/bumptech/glide/request/target/i;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/i<",
"*>;)V"
}
.end annotation
if-nez p1, :cond_3
return-void
.line 1
:cond_3
invoke-virtual {p0, p1}, Lcom/bumptech/glide/n;->g(Lcom/bumptech/glide/request/target/i;)Z
move-result v0
.line 2
invoke-interface {p1}, Lcom/bumptech/glide/request/target/i;->getRequest()Lcom/bumptech/glide/request/d;
move-result-object v1
if-nez v0, :cond_3e
.line 3
iget-object v0, p0, Lcom/bumptech/glide/n;->a:Lcom/bumptech/glide/b;
.line 4
iget-object v2, v0, Lcom/bumptech/glide/b;->j:Ljava/util/ArrayList;
monitor-enter v2
.line 5
:try_start_12
iget-object v0, v0, Lcom/bumptech/glide/b;->j:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_18
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_2d
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/bumptech/glide/n;
.line 6
invoke-virtual {v3, p1}, Lcom/bumptech/glide/n;->g(Lcom/bumptech/glide/request/target/i;)Z
move-result v3
if-eqz v3, :cond_18
const/4 v0, 0x1
.line 7
monitor-exit v2
goto :goto_2f
.line 8
:cond_2d
monitor-exit v2
:try_end_2e
.catchall {:try_start_12 .. :try_end_2e} :catchall_3b
const/4 v0, 0x0
:goto_2f
if-nez v0, :cond_3e
if-eqz v1, :cond_3e
const/4 v0, 0x0
.line 9
invoke-interface {p1, v0}, Lcom/bumptech/glide/request/target/i;->setRequest(Lcom/bumptech/glide/request/d;)V
.line 10
invoke-interface {v1}, Lcom/bumptech/glide/request/d;->clear()V
goto :goto_3e
:catchall_3b
move-exception p1
.line 11
:try_start_3c
monitor-exit v2
:try_end_3d
.catchall {:try_start_3c .. :try_end_3d} :catchall_3b
throw p1
:cond_3e
:goto_3e
return-void
.end method
.method public final d(Ljava/lang/String;)Lcom/bumptech/glide/m;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Lcom/bumptech/glide/m<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 1
const-class v0, Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/n;->a(Ljava/lang/Class;)Lcom/bumptech/glide/m;
move-result-object v0
.line 2
invoke-virtual {v0, p1}, Lcom/bumptech/glide/m;->M(Ljava/lang/Object;)Lcom/bumptech/glide/m;
move-result-object p1
return-object p1
.end method
.method public final declared-synchronized e()V
.registers 5
monitor-enter p0
.line 1
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
const/4 v1, 0x1
.line 2
iput-boolean v1, v0, Lcom/bumptech/glide/manager/n;->c:Z
.line 3
iget-object v1, v0, Lcom/bumptech/glide/manager/n;->a:Ljava/util/Set;
invoke-static {v1}, Lcom/bumptech/glide/util/m;->e(Ljava/util/Collection;)Ljava/util/List;
move-result-object v1
check-cast v1, Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_12
:goto_12
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2d
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/request/d;
.line 4
invoke-interface {v2}, Lcom/bumptech/glide/request/d;->isRunning()Z
move-result v3
if-eqz v3, :cond_12
.line 5
invoke-interface {v2}, Lcom/bumptech/glide/request/d;->pause()V
.line 6
iget-object v3, v0, Lcom/bumptech/glide/manager/n;->b:Ljava/util/HashSet;
invoke-virtual {v3, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
:try_end_2c
.catchall {:try_start_1 .. :try_end_2c} :catchall_2f
goto :goto_12
.line 7
:cond_2d
monitor-exit p0
return-void
:catchall_2f
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized f()V
.registers 5
monitor-enter p0
.line 1
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
const/4 v1, 0x0
.line 2
iput-boolean v1, v0, Lcom/bumptech/glide/manager/n;->c:Z
.line 3
iget-object v1, v0, Lcom/bumptech/glide/manager/n;->a:Ljava/util/Set;
invoke-static {v1}, Lcom/bumptech/glide/util/m;->e(Ljava/util/Collection;)Ljava/util/List;
move-result-object v1
check-cast v1, Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_12
:goto_12
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2e
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/request/d;
.line 4
invoke-interface {v2}, Lcom/bumptech/glide/request/d;->isComplete()Z
move-result v3
if-nez v3, :cond_12
invoke-interface {v2}, Lcom/bumptech/glide/request/d;->isRunning()Z
move-result v3
if-nez v3, :cond_12
.line 5
invoke-interface {v2}, Lcom/bumptech/glide/request/d;->begin()V
goto :goto_12
.line 6
:cond_2e
iget-object v0, v0, Lcom/bumptech/glide/manager/n;->b:Ljava/util/HashSet;
invoke-virtual {v0}, Ljava/util/HashSet;->clear()V
:try_end_33
.catchall {:try_start_1 .. :try_end_33} :catchall_35
.line 7
monitor-exit p0
return-void
:catchall_35
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized g(Lcom/bumptech/glide/request/target/i;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/i<",
"*>;)Z"
}
.end annotation
monitor-enter p0
.line 1
:try_start_1
invoke-interface {p1}, Lcom/bumptech/glide/request/target/i;->getRequest()Lcom/bumptech/glide/request/d;
move-result-object v0
:try_end_5
.catchall {:try_start_1 .. :try_end_5} :catchall_22
const/4 v1, 0x1
if-nez v0, :cond_a
.line 2
monitor-exit p0
return v1
.line 3
:cond_a
:try_start_a
iget-object v2, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
invoke-virtual {v2, v0}, Lcom/bumptech/glide/manager/n;->a(Lcom/bumptech/glide/request/d;)Z
move-result v0
if-eqz v0, :cond_1f
.line 4
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
.line 5
iget-object v0, v0, Lcom/bumptech/glide/manager/r;->a:Ljava/util/Set;
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
const/4 v0, 0x0
.line 6
invoke-interface {p1, v0}, Lcom/bumptech/glide/request/target/i;->setRequest(Lcom/bumptech/glide/request/d;)V
:try_end_1d
.catchall {:try_start_a .. :try_end_1d} :catchall_22
.line 7
monitor-exit p0
return v1
:cond_1f
const/4 p1, 0x0
.line 8
monitor-exit p0
return p1
:catchall_22
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final onConfigurationChanged(Landroid/content/res/Configuration;)V
.registers 2
return-void
.end method
.method public final declared-synchronized onDestroy()V
.registers 4
monitor-enter p0
.line 1
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/r;->onDestroy()V
.line 2
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
.line 3
iget-object v0, v0, Lcom/bumptech/glide/manager/r;->a:Ljava/util/Set;
invoke-static {v0}, Lcom/bumptech/glide/util/m;->e(Ljava/util/Collection;)Ljava/util/List;
move-result-object v0
.line 4
check-cast v0, Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_14
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_24
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/request/target/i;
.line 5
invoke-virtual {p0, v1}, Lcom/bumptech/glide/n;->c(Lcom/bumptech/glide/request/target/i;)V
goto :goto_14
.line 6
:cond_24
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
.line 7
iget-object v0, v0, Lcom/bumptech/glide/manager/r;->a:Ljava/util/Set;
invoke-interface {v0}, Ljava/util/Set;->clear()V
.line 8
iget-object v0, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
.line 9
iget-object v1, v0, Lcom/bumptech/glide/manager/n;->a:Ljava/util/Set;
invoke-static {v1}, Lcom/bumptech/glide/util/m;->e(Ljava/util/Collection;)Ljava/util/List;
move-result-object v1
check-cast v1, Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_39
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_49
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/request/d;
.line 10
invoke-virtual {v0, v2}, Lcom/bumptech/glide/manager/n;->a(Lcom/bumptech/glide/request/d;)Z
goto :goto_39
.line 11
:cond_49
iget-object v0, v0, Lcom/bumptech/glide/manager/n;->b:Ljava/util/HashSet;
invoke-virtual {v0}, Ljava/util/HashSet;->clear()V
.line 12
iget-object v0, p0, Lcom/bumptech/glide/n;->c:Lcom/bumptech/glide/manager/h;
invoke-interface {v0, p0}, Lcom/bumptech/glide/manager/h;->a(Lcom/bumptech/glide/manager/i;)V
.line 13
iget-object v0, p0, Lcom/bumptech/glide/n;->c:Lcom/bumptech/glide/manager/h;
iget-object v1, p0, Lcom/bumptech/glide/n;->h:Lcom/bumptech/glide/manager/b;
invoke-interface {v0, v1}, Lcom/bumptech/glide/manager/h;->a(Lcom/bumptech/glide/manager/i;)V
.line 14
iget-object v0, p0, Lcom/bumptech/glide/n;->g:Lcom/bumptech/glide/n$a;
.line 15
invoke-static {}, Lcom/bumptech/glide/util/m;->f()Landroid/os/Handler;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 16
iget-object v0, p0, Lcom/bumptech/glide/n;->a:Lcom/bumptech/glide/b;
invoke-virtual {v0, p0}, Lcom/bumptech/glide/b;->e(Lcom/bumptech/glide/n;)V
:try_end_68
.catchall {:try_start_1 .. :try_end_68} :catchall_6a
.line 17
monitor-exit p0
return-void
:catchall_6a
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final onLowMemory()V
.registers 1
return-void
.end method
.method public final declared-synchronized onStart()V
.registers 2
monitor-enter p0
.line 1
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/n;->f()V
.line 2
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/r;->onStart()V
:try_end_9
.catchall {:try_start_1 .. :try_end_9} :catchall_b
.line 3
monitor-exit p0
return-void
:catchall_b
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized onStop()V
.registers 2
monitor-enter p0
.line 1
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/n;->e()V
.line 2
iget-object v0, p0, Lcom/bumptech/glide/n;->f:Lcom/bumptech/glide/manager/r;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/r;->onStop()V
:try_end_9
.catchall {:try_start_1 .. :try_end_9} :catchall_b
.line 3
monitor-exit p0
return-void
:catchall_b
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final onTrimMemory(I)V
.registers 2
return-void
.end method
.method public final declared-synchronized toString()Ljava/lang/String;
.registers 3
monitor-enter p0
:try_start_1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-super {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string/jumbo v1, "{tracker="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/bumptech/glide/n;->d:Lcom/bumptech/glide/manager/n;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", treeNode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/bumptech/glide/n;->e:Lcom/bumptech/glide/manager/m;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string/jumbo v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:try_end_2c
.catchall {:try_start_1 .. :try_end_2c} :catchall_2e
monitor-exit p0
return-object v0
:catchall_2e
move-exception v0
monitor-exit p0
throw v0
.end method