RequestManager.smali
.class public Lcom/bumptech/glide/RequestManager;
.super Ljava/lang/Object;
.source "RequestManager.java"
# interfaces
.implements Landroid/content/ComponentCallbacks2;
.implements Lcom/bumptech/glide/manager/LifecycleListener;
.implements Lcom/bumptech/glide/ModelTypes;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/RequestManager$ClearTarget;,
Lcom/bumptech/glide/RequestManager$RequestManagerConnectivityListener;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/content/ComponentCallbacks2;",
"Lcom/bumptech/glide/manager/LifecycleListener;",
"Lcom/bumptech/glide/ModelTypes<",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;>;"
}
.end annotation
# static fields
.field private static final DECODE_TYPE_BITMAP:Lcom/bumptech/glide/request/RequestOptions;
.field private static final DECODE_TYPE_GIF:Lcom/bumptech/glide/request/RequestOptions;
.field private static final DOWNLOAD_ONLY_OPTIONS:Lcom/bumptech/glide/request/RequestOptions;
# instance fields
.field private final addSelfToLifecycle:Ljava/lang/Runnable;
.field private final connectivityMonitor:Lcom/bumptech/glide/manager/ConnectivityMonitor;
.field protected final context:Landroid/content/Context;
.field private final defaultRequestListeners:Ljava/util/concurrent/CopyOnWriteArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CopyOnWriteArrayList<",
"Lcom/bumptech/glide/request/RequestListener<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.end field
.field protected final glide:Lcom/bumptech/glide/Glide;
.field final lifecycle:Lcom/bumptech/glide/manager/Lifecycle;
.field private pauseAllRequestsOnTrimMemoryModerate:Z
.field private requestOptions:Lcom/bumptech/glide/request/RequestOptions;
.field private final requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
.field private final targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
.field private final treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 59
const-class v0, Landroid/graphics/Bitmap;
invoke-static {v0}, Lcom/bumptech/glide/request/RequestOptions;->decodeTypeOf(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->lock()Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/RequestOptions;
sput-object v0, Lcom/bumptech/glide/RequestManager;->DECODE_TYPE_BITMAP:Lcom/bumptech/glide/request/RequestOptions;
.line 60
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-static {v0}, Lcom/bumptech/glide/request/RequestOptions;->decodeTypeOf(Ljava/lang/Class;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/request/RequestOptions;->lock()Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/RequestOptions;
sput-object v0, Lcom/bumptech/glide/RequestManager;->DECODE_TYPE_GIF:Lcom/bumptech/glide/request/RequestOptions;
.line 61
sget-object v0, Lcom/bumptech/glide/load/engine/DiskCacheStrategy;->DATA:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.line 62
invoke-static {v0}, Lcom/bumptech/glide/request/RequestOptions;->diskCacheStrategyOf(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v0
sget-object v1, Lcom/bumptech/glide/Priority;->LOW:Lcom/bumptech/glide/Priority;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->priority(Lcom/bumptech/glide/Priority;)Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/RequestOptions;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCache(Z)Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/request/RequestOptions;
sput-object v0, Lcom/bumptech/glide/RequestManager;->DOWNLOAD_ONLY_OPTIONS:Lcom/bumptech/glide/request/RequestOptions;
return-void
.end method
.method public constructor <init>(Lcom/bumptech/glide/Glide;Lcom/bumptech/glide/manager/Lifecycle;Lcom/bumptech/glide/manager/RequestManagerTreeNode;Landroid/content/Context;)V
.registers 12
.line 103
new-instance v4, Lcom/bumptech/glide/manager/RequestTracker;
invoke-direct {v4}, Lcom/bumptech/glide/manager/RequestTracker;-><init>()V
.line 108
invoke-virtual {p1}, Lcom/bumptech/glide/Glide;->getConnectivityMonitorFactory()Lcom/bumptech/glide/manager/ConnectivityMonitorFactory;
move-result-object v5
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v6, p4
.line 103
invoke-direct/range {v0 .. v6}, Lcom/bumptech/glide/RequestManager;-><init>(Lcom/bumptech/glide/Glide;Lcom/bumptech/glide/manager/Lifecycle;Lcom/bumptech/glide/manager/RequestManagerTreeNode;Lcom/bumptech/glide/manager/RequestTracker;Lcom/bumptech/glide/manager/ConnectivityMonitorFactory;Landroid/content/Context;)V
return-void
.end method
.method constructor <init>(Lcom/bumptech/glide/Glide;Lcom/bumptech/glide/manager/Lifecycle;Lcom/bumptech/glide/manager/RequestManagerTreeNode;Lcom/bumptech/glide/manager/RequestTracker;Lcom/bumptech/glide/manager/ConnectivityMonitorFactory;Landroid/content/Context;)V
.registers 8
.line 120
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 77
new-instance v0, Lcom/bumptech/glide/manager/TargetTracker;
invoke-direct {v0}, Lcom/bumptech/glide/manager/TargetTracker;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
.line 80
new-instance v0, Lcom/bumptech/glide/RequestManager$1;
invoke-direct {v0, p0}, Lcom/bumptech/glide/RequestManager$1;-><init>(Lcom/bumptech/glide/RequestManager;)V
iput-object v0, p0, Lcom/bumptech/glide/RequestManager;->addSelfToLifecycle:Ljava/lang/Runnable;
.line 121
iput-object p1, p0, Lcom/bumptech/glide/RequestManager;->glide:Lcom/bumptech/glide/Glide;
.line 122
iput-object p2, p0, Lcom/bumptech/glide/RequestManager;->lifecycle:Lcom/bumptech/glide/manager/Lifecycle;
.line 123
iput-object p3, p0, Lcom/bumptech/glide/RequestManager;->treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
.line 124
iput-object p4, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
.line 125
iput-object p6, p0, Lcom/bumptech/glide/RequestManager;->context:Landroid/content/Context;
.line 129
invoke-virtual {p6}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p3
new-instance p6, Lcom/bumptech/glide/RequestManager$RequestManagerConnectivityListener;
invoke-direct {p6, p0, p4}, Lcom/bumptech/glide/RequestManager$RequestManagerConnectivityListener;-><init>(Lcom/bumptech/glide/RequestManager;Lcom/bumptech/glide/manager/RequestTracker;)V
.line 128
invoke-interface {p5, p3, p6}, Lcom/bumptech/glide/manager/ConnectivityMonitorFactory;->build(Landroid/content/Context;Lcom/bumptech/glide/manager/ConnectivityMonitor$ConnectivityListener;)Lcom/bumptech/glide/manager/ConnectivityMonitor;
move-result-object p3
iput-object p3, p0, Lcom/bumptech/glide/RequestManager;->connectivityMonitor:Lcom/bumptech/glide/manager/ConnectivityMonitor;
.line 136
invoke-static {}, Lcom/bumptech/glide/util/Util;->isOnBackgroundThread()Z
move-result p4
if-eqz p4, :cond_34
.line 137
invoke-static {v0}, Lcom/bumptech/glide/util/Util;->postOnUiThread(Ljava/lang/Runnable;)V
goto :goto_37
.line 139
:cond_34
invoke-interface {p2, p0}, Lcom/bumptech/glide/manager/Lifecycle;->addListener(Lcom/bumptech/glide/manager/LifecycleListener;)V
.line 141
:goto_37
invoke-interface {p2, p3}, Lcom/bumptech/glide/manager/Lifecycle;->addListener(Lcom/bumptech/glide/manager/LifecycleListener;)V
.line 143
new-instance p2, Ljava/util/concurrent/CopyOnWriteArrayList;
.line 144
invoke-virtual {p1}, Lcom/bumptech/glide/Glide;->getGlideContext()Lcom/bumptech/glide/GlideContext;
move-result-object p3
invoke-virtual {p3}, Lcom/bumptech/glide/GlideContext;->getDefaultRequestListeners()Ljava/util/List;
move-result-object p3
invoke-direct {p2, p3}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>(Ljava/util/Collection;)V
iput-object p2, p0, Lcom/bumptech/glide/RequestManager;->defaultRequestListeners:Ljava/util/concurrent/CopyOnWriteArrayList;
.line 145
invoke-virtual {p1}, Lcom/bumptech/glide/Glide;->getGlideContext()Lcom/bumptech/glide/GlideContext;
move-result-object p2
invoke-virtual {p2}, Lcom/bumptech/glide/GlideContext;->getDefaultRequestOptions()Lcom/bumptech/glide/request/RequestOptions;
move-result-object p2
invoke-virtual {p0, p2}, Lcom/bumptech/glide/RequestManager;->setRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)V
.line 147
invoke-virtual {p1, p0}, Lcom/bumptech/glide/Glide;->registerRequestManager(Lcom/bumptech/glide/RequestManager;)V
return-void
.end method
.method private untrackOrDelegate(Lcom/bumptech/glide/request/target/Target;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/Target<",
"*>;)V"
}
.end annotation
.line 628
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->untrack(Lcom/bumptech/glide/request/target/Target;)Z
move-result v0
.line 646
invoke-interface {p1}, Lcom/bumptech/glide/request/target/Target;->getRequest()Lcom/bumptech/glide/request/Request;
move-result-object v1
if-nez v0, :cond_1b
.line 647
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->glide:Lcom/bumptech/glide/Glide;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/Glide;->removeFromManagers(Lcom/bumptech/glide/request/target/Target;)Z
move-result v0
if-nez v0, :cond_1b
if-eqz v1, :cond_1b
const/4 v0, 0x0
.line 648
invoke-interface {p1, v0}, Lcom/bumptech/glide/request/target/Target;->setRequest(Lcom/bumptech/glide/request/Request;)V
.line 649
invoke-interface {v1}, Lcom/bumptech/glide/request/Request;->clear()V
:cond_1b
return-void
.end method
.method private declared-synchronized updateRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)V
.registers 3
monitor-enter p0
.line 155
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestOptions:Lcom/bumptech/glide/request/RequestOptions;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/request/RequestOptions;->apply(Lcom/bumptech/glide/request/BaseRequestOptions;)Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/request/RequestOptions;
iput-object p1, p0, Lcom/bumptech/glide/RequestManager;->requestOptions:Lcom/bumptech/glide/request/RequestOptions;
:try_end_b
.catchall {:try_start_1 .. :try_end_b} :catchall_d
.line 156
monitor-exit p0
return-void
:catchall_d
move-exception p1
monitor-exit p0
throw p1
.end method
# virtual methods
.method public addDefaultRequestListener(Lcom/bumptech/glide/request/RequestListener;)Lcom/bumptech/glide/RequestManager;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/RequestListener<",
"Ljava/lang/Object;",
">;)",
"Lcom/bumptech/glide/RequestManager;"
}
.end annotation
.line 222
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->defaultRequestListeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invoke-virtual {v0, p1}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z
return-object p0
.end method
.method public declared-synchronized applyDefaultRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)Lcom/bumptech/glide/RequestManager;
.registers 2
monitor-enter p0
.line 178
:try_start_1
invoke-direct {p0, p1}, Lcom/bumptech/glide/RequestManager;->updateRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)V
:try_end_4
.catchall {:try_start_1 .. :try_end_4} :catchall_6
.line 179
monitor-exit p0
return-object p0
:catchall_6
move-exception p1
monitor-exit p0
throw p1
.end method
.method public as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<ResourceType:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TResourceType;>;)",
"Lcom/bumptech/glide/RequestBuilder<",
"TResourceType;>;"
}
.end annotation
.line 594
new-instance v0, Lcom/bumptech/glide/RequestBuilder;
iget-object v1, p0, Lcom/bumptech/glide/RequestManager;->glide:Lcom/bumptech/glide/Glide;
iget-object v2, p0, Lcom/bumptech/glide/RequestManager;->context:Landroid/content/Context;
invoke-direct {v0, v1, p0, p1, v2}, Lcom/bumptech/glide/RequestBuilder;-><init>(Lcom/bumptech/glide/Glide;Lcom/bumptech/glide/RequestManager;Ljava/lang/Class;Landroid/content/Context;)V
return-object v0
.end method
.method public asBitmap()Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.line 390
const-class v0, Landroid/graphics/Bitmap;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
sget-object v1, Lcom/bumptech/glide/RequestManager;->DECODE_TYPE_BITMAP:Lcom/bumptech/glide/request/RequestOptions;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/RequestBuilder;->apply(Lcom/bumptech/glide/request/BaseRequestOptions;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
return-object v0
.end method
.method public asDrawable()Lcom/bumptech/glide/RequestBuilder;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 425
const-class v0, Landroid/graphics/drawable/Drawable;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
return-object v0
.end method
.method public asFile()Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/RequestBuilder<",
"Ljava/io/File;",
">;"
}
.end annotation
.line 579
const-class v0, Ljava/io/File;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
const/4 v1, 0x1
invoke-static {v1}, Lcom/bumptech/glide/request/RequestOptions;->skipMemoryCacheOf(Z)Lcom/bumptech/glide/request/RequestOptions;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/RequestBuilder;->apply(Lcom/bumptech/glide/request/BaseRequestOptions;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
return-object v0
.end method
.method public asGif()Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/RequestBuilder<",
"Lcom/bumptech/glide/load/resource/gif/GifDrawable;",
">;"
}
.end annotation
.line 409
const-class v0, Lcom/bumptech/glide/load/resource/gif/GifDrawable;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
sget-object v1, Lcom/bumptech/glide/RequestManager;->DECODE_TYPE_GIF:Lcom/bumptech/glide/request/RequestOptions;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/RequestBuilder;->apply(Lcom/bumptech/glide/request/BaseRequestOptions;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
return-object v0
.end method
.method public clear(Landroid/view/View;)V
.registers 3
.line 610
new-instance v0, Lcom/bumptech/glide/RequestManager$ClearTarget;
invoke-direct {v0, p1}, Lcom/bumptech/glide/RequestManager$ClearTarget;-><init>(Landroid/view/View;)V
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->clear(Lcom/bumptech/glide/request/target/Target;)V
return-void
.end method
.method public clear(Lcom/bumptech/glide/request/target/Target;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/Target<",
"*>;)V"
}
.end annotation
if-nez p1, :cond_3
return-void
.line 624
:cond_3
invoke-direct {p0, p1}, Lcom/bumptech/glide/RequestManager;->untrackOrDelegate(Lcom/bumptech/glide/request/target/Target;)V
return-void
.end method
.method public download(Ljava/lang/Object;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Ljava/io/File;",
">;"
}
.end annotation
.line 564
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->downloadOnly()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/lang/Object;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public downloadOnly()Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/RequestBuilder<",
"Ljava/io/File;",
">;"
}
.end annotation
.line 552
const-class v0, Ljava/io/File;
invoke-virtual {p0, v0}, Lcom/bumptech/glide/RequestManager;->as(Ljava/lang/Class;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
sget-object v1, Lcom/bumptech/glide/RequestManager;->DOWNLOAD_ONLY_OPTIONS:Lcom/bumptech/glide/request/RequestOptions;
invoke-virtual {v0, v1}, Lcom/bumptech/glide/RequestBuilder;->apply(Lcom/bumptech/glide/request/BaseRequestOptions;)Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
return-object v0
.end method
.method getDefaultRequestListeners()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/bumptech/glide/request/RequestListener<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
.line 675
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->defaultRequestListeners:Ljava/util/concurrent/CopyOnWriteArrayList;
return-object v0
.end method
.method declared-synchronized getDefaultRequestOptions()Lcom/bumptech/glide/request/RequestOptions;
.registers 2
monitor-enter p0
.line 679
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestOptions:Lcom/bumptech/glide/request/RequestOptions;
:try_end_3
.catchall {:try_start_1 .. :try_end_3} :catchall_5
monitor-exit p0
return-object v0
:catchall_5
move-exception v0
monitor-exit p0
throw v0
.end method
.method getDefaultTransitionOptions(Ljava/lang/Class;)Lcom/bumptech/glide/TransitionOptions;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)",
"Lcom/bumptech/glide/TransitionOptions<",
"*TT;>;"
}
.end annotation
.line 684
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->glide:Lcom/bumptech/glide/Glide;
invoke-virtual {v0}, Lcom/bumptech/glide/Glide;->getGlideContext()Lcom/bumptech/glide/GlideContext;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/GlideContext;->getDefaultTransitionOptions(Ljava/lang/Class;)Lcom/bumptech/glide/TransitionOptions;
move-result-object p1
return-object p1
.end method
.method public declared-synchronized isPaused()Z
.registers 2
monitor-enter p0
.line 241
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/RequestTracker;->isPaused()Z
move-result v0
:try_end_7
.catchall {:try_start_1 .. :try_end_7} :catchall_9
monitor-exit p0
return v0
:catchall_9
move-exception v0
monitor-exit p0
throw v0
.end method
.method public load(Landroid/graphics/Bitmap;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/Bitmap;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 437
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Landroid/graphics/Bitmap;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/graphics/drawable/Drawable;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 449
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Landroid/net/Uri;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/net/Uri;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 473
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Landroid/net/Uri;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Ljava/io/File;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 485
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/io/File;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Ljava/lang/Integer;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Integer;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 498
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/lang/Integer;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Ljava/lang/Object;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 536
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/lang/Object;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Ljava/lang/String;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 461
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/lang/String;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load(Ljava/net/URL;)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/net/URL;",
")",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 511
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load(Ljava/net/URL;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public load([B)Lcom/bumptech/glide/RequestBuilder;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"([B)",
"Lcom/bumptech/glide/RequestBuilder<",
"Landroid/graphics/drawable/Drawable;",
">;"
}
.end annotation
.line 523
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->asDrawable()Lcom/bumptech/glide/RequestBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/RequestBuilder;->load([B)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Landroid/graphics/Bitmap;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Landroid/graphics/Bitmap;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Landroid/graphics/drawable/Drawable;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Landroid/graphics/drawable/Drawable;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Landroid/net/Uri;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Landroid/net/Uri;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Ljava/io/File;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Ljava/io/File;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Ljava/lang/Integer;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Ljava/lang/Integer;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Ljava/lang/Object;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Ljava/lang/String;)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Ljava/lang/String;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load(Ljava/net/URL;)Ljava/lang/Object;
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load(Ljava/net/URL;)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic load([B)Ljava/lang/Object;
.registers 2
.line 57
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->load([B)Lcom/bumptech/glide/RequestBuilder;
move-result-object p1
return-object p1
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.registers 2
return-void
.end method
.method public declared-synchronized onDestroy()V
.registers 3
monitor-enter p0
.line 369
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/TargetTracker;->onDestroy()V
.line 370
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/TargetTracker;->getAll()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_10
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_20
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/request/target/Target;
.line 371
invoke-virtual {p0, v1}, Lcom/bumptech/glide/RequestManager;->clear(Lcom/bumptech/glide/request/target/Target;)V
goto :goto_10
.line 373
:cond_20
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/TargetTracker;->clear()V
.line 374
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/RequestTracker;->clearRequests()V
.line 375
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->lifecycle:Lcom/bumptech/glide/manager/Lifecycle;
invoke-interface {v0, p0}, Lcom/bumptech/glide/manager/Lifecycle;->removeListener(Lcom/bumptech/glide/manager/LifecycleListener;)V
.line 376
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->lifecycle:Lcom/bumptech/glide/manager/Lifecycle;
iget-object v1, p0, Lcom/bumptech/glide/RequestManager;->connectivityMonitor:Lcom/bumptech/glide/manager/ConnectivityMonitor;
invoke-interface {v0, v1}, Lcom/bumptech/glide/manager/Lifecycle;->removeListener(Lcom/bumptech/glide/manager/LifecycleListener;)V
.line 377
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->addSelfToLifecycle:Ljava/lang/Runnable;
invoke-static {v0}, Lcom/bumptech/glide/util/Util;->removeCallbacksOnUiThread(Ljava/lang/Runnable;)V
.line 378
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->glide:Lcom/bumptech/glide/Glide;
invoke-virtual {v0, p0}, Lcom/bumptech/glide/Glide;->unregisterRequestManager(Lcom/bumptech/glide/RequestManager;)V
:try_end_40
.catchall {:try_start_1 .. :try_end_40} :catchall_42
.line 379
monitor-exit p0
return-void
:catchall_42
move-exception v0
monitor-exit p0
throw v0
.end method
.method public onLowMemory()V
.registers 1
return-void
.end method
.method public declared-synchronized onStart()V
.registers 2
monitor-enter p0
.line 349
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->resumeRequests()V
.line 350
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/TargetTracker;->onStart()V
:try_end_9
.catchall {:try_start_1 .. :try_end_9} :catchall_b
.line 351
monitor-exit p0
return-void
:catchall_b
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized onStop()V
.registers 2
monitor-enter p0
.line 359
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->pauseRequests()V
.line 360
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/TargetTracker;->onStop()V
:try_end_9
.catchall {:try_start_1 .. :try_end_9} :catchall_b
.line 361
monitor-exit p0
return-void
:catchall_b
move-exception v0
monitor-exit p0
throw v0
.end method
.method public onTrimMemory(I)V
.registers 3
const/16 v0, 0x3c
if-ne p1, v0, :cond_b
.line 694
iget-boolean p1, p0, Lcom/bumptech/glide/RequestManager;->pauseAllRequestsOnTrimMemoryModerate:Z
if-eqz p1, :cond_b
.line 695
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->pauseAllRequestsRecursive()V
:cond_b
return-void
.end method
.method public declared-synchronized pauseAllRequests()V
.registers 2
monitor-enter p0
.line 275
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/RequestTracker;->pauseAllRequests()V
:try_end_6
.catchall {:try_start_1 .. :try_end_6} :catchall_8
.line 276
monitor-exit p0
return-void
:catchall_8
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized pauseAllRequestsRecursive()V
.registers 3
monitor-enter p0
.line 288
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->pauseAllRequests()V
.line 289
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
invoke-interface {v0}, Lcom/bumptech/glide/manager/RequestManagerTreeNode;->getDescendants()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1e
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/RequestManager;
.line 290
invoke-virtual {v1}, Lcom/bumptech/glide/RequestManager;->pauseAllRequests()V
:try_end_1d
.catchall {:try_start_1 .. :try_end_1d} :catchall_20
goto :goto_e
.line 292
:cond_1e
monitor-exit p0
return-void
:catchall_20
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized pauseRequests()V
.registers 2
monitor-enter p0
.line 255
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/RequestTracker;->pauseRequests()V
:try_end_6
.catchall {:try_start_1 .. :try_end_6} :catchall_8
.line 256
monitor-exit p0
return-void
:catchall_8
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized pauseRequestsRecursive()V
.registers 3
monitor-enter p0
.line 311
:try_start_1
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->pauseRequests()V
.line 312
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
invoke-interface {v0}, Lcom/bumptech/glide/manager/RequestManagerTreeNode;->getDescendants()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1e
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/RequestManager;
.line 313
invoke-virtual {v1}, Lcom/bumptech/glide/RequestManager;->pauseRequests()V
:try_end_1d
.catchall {:try_start_1 .. :try_end_1d} :catchall_20
goto :goto_e
.line 315
:cond_1e
monitor-exit p0
return-void
:catchall_20
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized resumeRequests()V
.registers 2
monitor-enter p0
.line 324
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0}, Lcom/bumptech/glide/manager/RequestTracker;->resumeRequests()V
:try_end_6
.catchall {:try_start_1 .. :try_end_6} :catchall_8
.line 325
monitor-exit p0
return-void
:catchall_8
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized resumeRequestsRecursive()V
.registers 3
monitor-enter p0
.line 335
:try_start_1
invoke-static {}, Lcom/bumptech/glide/util/Util;->assertMainThread()V
.line 336
invoke-virtual {p0}, Lcom/bumptech/glide/RequestManager;->resumeRequests()V
.line 337
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
invoke-interface {v0}, Lcom/bumptech/glide/manager/RequestManagerTreeNode;->getDescendants()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_11
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_21
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/RequestManager;
.line 338
invoke-virtual {v1}, Lcom/bumptech/glide/RequestManager;->resumeRequests()V
:try_end_20
.catchall {:try_start_1 .. :try_end_20} :catchall_23
goto :goto_11
.line 340
:cond_21
monitor-exit p0
return-void
:catchall_23
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized setDefaultRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)Lcom/bumptech/glide/RequestManager;
.registers 2
monitor-enter p0
.line 200
:try_start_1
invoke-virtual {p0, p1}, Lcom/bumptech/glide/RequestManager;->setRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)V
:try_end_4
.catchall {:try_start_1 .. :try_end_4} :catchall_6
.line 201
monitor-exit p0
return-object p0
:catchall_6
move-exception p1
monitor-exit p0
throw p1
.end method
.method public setPauseAllRequestsOnTrimMemoryModerate(Z)V
.registers 2
.line 231
iput-boolean p1, p0, Lcom/bumptech/glide/RequestManager;->pauseAllRequestsOnTrimMemoryModerate:Z
return-void
.end method
.method protected declared-synchronized setRequestOptions(Lcom/bumptech/glide/request/RequestOptions;)V
.registers 2
monitor-enter p0
.line 151
:try_start_1
invoke-virtual {p1}, Lcom/bumptech/glide/request/RequestOptions;->clone()Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/request/RequestOptions;
invoke-virtual {p1}, Lcom/bumptech/glide/request/RequestOptions;->autoClone()Lcom/bumptech/glide/request/BaseRequestOptions;
move-result-object p1
check-cast p1, Lcom/bumptech/glide/request/RequestOptions;
iput-object p1, p0, Lcom/bumptech/glide/RequestManager;->requestOptions:Lcom/bumptech/glide/request/RequestOptions;
:try_end_f
.catchall {:try_start_1 .. :try_end_f} :catchall_11
.line 152
monitor-exit p0
return-void
:catchall_11
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized toString()Ljava/lang/String;
.registers 3
monitor-enter p0
.line 689
: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;
move-result-object v0
const-string v1, "{tracker="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", treeNode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/bumptech/glide/RequestManager;->treeNode:Lcom/bumptech/glide/manager/RequestManagerTreeNode;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:try_end_30
.catchall {:try_start_1 .. :try_end_30} :catchall_32
monitor-exit p0
return-object v0
:catchall_32
move-exception v0
monitor-exit p0
throw v0
.end method
.method declared-synchronized track(Lcom/bumptech/glide/request/target/Target;Lcom/bumptech/glide/request/Request;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/Target<",
"*>;",
"Lcom/bumptech/glide/request/Request;",
")V"
}
.end annotation
monitor-enter p0
.line 670
:try_start_1
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/manager/TargetTracker;->track(Lcom/bumptech/glide/request/target/Target;)V
.line 671
iget-object p1, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {p1, p2}, Lcom/bumptech/glide/manager/RequestTracker;->runRequest(Lcom/bumptech/glide/request/Request;)V
:try_end_b
.catchall {:try_start_1 .. :try_end_b} :catchall_d
.line 672
monitor-exit p0
return-void
:catchall_d
move-exception p1
monitor-exit p0
throw p1
.end method
.method declared-synchronized untrack(Lcom/bumptech/glide/request/target/Target;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/target/Target<",
"*>;)Z"
}
.end annotation
monitor-enter p0
.line 654
:try_start_1
invoke-interface {p1}, Lcom/bumptech/glide/request/target/Target;->getRequest()Lcom/bumptech/glide/request/Request;
move-result-object v0
:try_end_5
.catchall {:try_start_1 .. :try_end_5} :catchall_20
const/4 v1, 0x1
if-nez v0, :cond_a
.line 657
monitor-exit p0
return v1
.line 660
:cond_a
:try_start_a
iget-object v2, p0, Lcom/bumptech/glide/RequestManager;->requestTracker:Lcom/bumptech/glide/manager/RequestTracker;
invoke-virtual {v2, v0}, Lcom/bumptech/glide/manager/RequestTracker;->clearAndRemove(Lcom/bumptech/glide/request/Request;)Z
move-result v0
if-eqz v0, :cond_1d
.line 661
iget-object v0, p0, Lcom/bumptech/glide/RequestManager;->targetTracker:Lcom/bumptech/glide/manager/TargetTracker;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/manager/TargetTracker;->untrack(Lcom/bumptech/glide/request/target/Target;)V
const/4 v0, 0x0
.line 662
invoke-interface {p1, v0}, Lcom/bumptech/glide/request/target/Target;->setRequest(Lcom/bumptech/glide/request/Request;)V
:try_end_1b
.catchall {:try_start_a .. :try_end_1b} :catchall_20
.line 663
monitor-exit p0
return v1
:cond_1d
const/4 p1, 0x0
.line 665
monitor-exit p0
return p1
:catchall_20
move-exception p1
monitor-exit p0
throw p1
.end method