.class public final Lcom/bumptech/glide/request/SingleRequest; .super Ljava/lang/Object; .source "SingleRequest.java" # interfaces .implements Lcom/bumptech/glide/request/e; .implements Lj5/o; .implements Lcom/bumptech/glide/request/i; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/bumptech/glide/request/SingleRequest$Status; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lcom/bumptech/glide/request/e;", "Lj5/o;", "Lcom/bumptech/glide/request/i;" } .end annotation # static fields .field public static final D:Ljava/lang/String; = "Request" .field public static final E:Ljava/lang/String; = "Glide" .field public static final F:Z # instance fields .field public A:I .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field .field public B:Z .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field .field public C:Ljava/lang/RuntimeException; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public final a:Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public final b:Ln5/c; .field public final c:Ljava/lang/Object; .field public final d:Lcom/bumptech/glide/request/g; .annotation build Landroidx/annotation/Nullable; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/bumptech/glide/request/g<", "TR;>;" } .end annotation .end field .field public final e:Lcom/bumptech/glide/request/RequestCoordinator; .field public final f:Landroid/content/Context; .field public final g:Lcom/bumptech/glide/d; .field public final h:Ljava/lang/Object; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public final i:Ljava/lang/Class; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Class<", "TR;>;" } .end annotation .end field .field public final j:Lcom/bumptech/glide/request/a; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/bumptech/glide/request/a<", "*>;" } .end annotation .end field .field public final k:I .field public final l:I .field public final m:Lcom/bumptech/glide/Priority; .field public final n:Lj5/p; .annotation system Ldalvik/annotation/Signature; value = { "Lj5/p<", "TR;>;" } .end annotation .end field .field public final o:Ljava/util/List; .annotation build Landroidx/annotation/Nullable; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Lcom/bumptech/glide/request/g<", "TR;>;>;" } .end annotation .end field .field public final p:Lk5/g; .annotation system Ldalvik/annotation/Signature; value = { "Lk5/g<", "-TR;>;" } .end annotation .end field .field public final q:Ljava/util/concurrent/Executor; .field public r:Lcom/bumptech/glide/load/engine/s; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/bumptech/glide/load/engine/s<", "TR;>;" } .end annotation .end field .field public s:Lcom/bumptech/glide/load/engine/i$d; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field .field public t:J .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field .field public volatile u:Lcom/bumptech/glide/load/engine/i; .field public v:Lcom/bumptech/glide/request/SingleRequest$Status; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field .field public w:Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public x:Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public y:Landroid/graphics/drawable/Drawable; .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public z:I .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .end field # direct methods .method public static constructor ()V .locals 2 const-string v0, "Request" const/4 v1, 0x2 .line 1 invoke-static {v0, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z move-result v0 sput-boolean v0, Lcom/bumptech/glide/request/SingleRequest;->F:Z return-void .end method .method public constructor (Landroid/content/Context;Lcom/bumptech/glide/d;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;Lcom/bumptech/glide/request/a;IILcom/bumptech/glide/Priority;Lj5/p;Lcom/bumptech/glide/request/g;Ljava/util/List;Lcom/bumptech/glide/request/RequestCoordinator;Lcom/bumptech/glide/load/engine/i;Lk5/g;Ljava/util/concurrent/Executor;)V .locals 3 .param p3 # Ljava/lang/Object; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p4 # Ljava/lang/Object; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p11 # Lcom/bumptech/glide/request/g; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p12 # Ljava/util/List; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", "Lcom/bumptech/glide/d;", "Ljava/lang/Object;", "Ljava/lang/Object;", "Ljava/lang/Class<", "TR;>;", "Lcom/bumptech/glide/request/a<", "*>;II", "Lcom/bumptech/glide/Priority;", "Lj5/p<", "TR;>;", "Lcom/bumptech/glide/request/g<", "TR;>;", "Ljava/util/List<", "Lcom/bumptech/glide/request/g<", "TR;>;>;", "Lcom/bumptech/glide/request/RequestCoordinator;", "Lcom/bumptech/glide/load/engine/i;", "Lk5/g<", "-TR;>;", "Ljava/util/concurrent/Executor;", ")V" } .end annotation move-object v0, p0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 sget-boolean v1, Lcom/bumptech/glide/request/SingleRequest;->F:Z if-eqz v1, :cond_0 invoke-super {p0}, Ljava/lang/Object;->hashCode()I move-result v1 invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; move-result-object v1 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->a:Ljava/lang/String; .line 3 invoke-static {}, Ln5/c;->a()Ln5/c; move-result-object v1 iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; move-object v1, p3 .line 4 iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; move-object v1, p1 .line 5 iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->f:Landroid/content/Context; move-object v1, p2 .line 6 iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->g:Lcom/bumptech/glide/d; move-object v2, p4 .line 7 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; move-object v2, p5 .line 8 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; move-object v2, p6 .line 9 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; move v2, p7 .line 10 iput v2, v0, Lcom/bumptech/glide/request/SingleRequest;->k:I move v2, p8 .line 11 iput v2, v0, Lcom/bumptech/glide/request/SingleRequest;->l:I move-object v2, p9 .line 12 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->m:Lcom/bumptech/glide/Priority; move-object v2, p10 .line 13 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; move-object v2, p11 .line 14 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->d:Lcom/bumptech/glide/request/g; move-object v2, p12 .line 15 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->o:Ljava/util/List; move-object/from16 v2, p13 .line 16 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; move-object/from16 v2, p14 .line 17 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; move-object/from16 v2, p15 .line 18 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->p:Lk5/g; move-object/from16 v2, p16 .line 19 iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->q:Ljava/util/concurrent/Executor; .line 20 sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->PENDING:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 21 iget-object v2, v0, Lcom/bumptech/glide/request/SingleRequest;->C:Ljava/lang/RuntimeException; if-nez v2, :cond_1 invoke-virtual {p2}, Lcom/bumptech/glide/d;->g()Lcom/bumptech/glide/e; move-result-object v1 const-class v2, Lcom/bumptech/glide/c$d; invoke-virtual {v1, v2}, Lcom/bumptech/glide/e;->b(Ljava/lang/Class;)Z move-result v1 if-eqz v1, :cond_1 .line 22 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Glide request origin trace" invoke-direct {v1, v2}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V iput-object v1, v0, Lcom/bumptech/glide/request/SingleRequest;->C:Ljava/lang/RuntimeException; :cond_1 return-void .end method .method public static t(IF)I .locals 1 const/high16 v0, -0x80000000 if-ne p0, v0, :cond_0 goto :goto_0 :cond_0 int-to-float p0, p0 mul-float/2addr p1, p0 .line 1 invoke-static {p1}, Ljava/lang/Math;->round(F)I move-result p0 :goto_0 return p0 .end method .method public static w(Landroid/content/Context;Lcom/bumptech/glide/d;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;Lcom/bumptech/glide/request/a;IILcom/bumptech/glide/Priority;Lj5/p;Lcom/bumptech/glide/request/g;Ljava/util/List;Lcom/bumptech/glide/request/RequestCoordinator;Lcom/bumptech/glide/load/engine/i;Lk5/g;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/request/SingleRequest; .locals 18 .param p11 # Ljava/util/List; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", "Lcom/bumptech/glide/d;", "Ljava/lang/Object;", "Ljava/lang/Object;", "Ljava/lang/Class<", "TR;>;", "Lcom/bumptech/glide/request/a<", "*>;II", "Lcom/bumptech/glide/Priority;", "Lj5/p<", "TR;>;", "Lcom/bumptech/glide/request/g<", "TR;>;", "Ljava/util/List<", "Lcom/bumptech/glide/request/g<", "TR;>;>;", "Lcom/bumptech/glide/request/RequestCoordinator;", "Lcom/bumptech/glide/load/engine/i;", "Lk5/g<", "-TR;>;", "Ljava/util/concurrent/Executor;", ")", "Lcom/bumptech/glide/request/SingleRequest<", "TR;>;" } .end annotation move-object/from16 v1, p0 move-object/from16 v2, p1 move-object/from16 v3, p2 move-object/from16 v4, p3 move-object/from16 v5, p4 move-object/from16 v6, p5 move/from16 v7, p6 move/from16 v8, p7 move-object/from16 v9, p8 move-object/from16 v10, p9 move-object/from16 v11, p10 move-object/from16 v12, p11 move-object/from16 v13, p12 move-object/from16 v14, p13 move-object/from16 v15, p14 move-object/from16 v16, p15 .line 1 new-instance v17, Lcom/bumptech/glide/request/SingleRequest; move-object/from16 v0, v17 invoke-direct/range {v0 .. v16}, Lcom/bumptech/glide/request/SingleRequest;->(Landroid/content/Context;Lcom/bumptech/glide/d;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;Lcom/bumptech/glide/request/a;IILcom/bumptech/glide/Priority;Lj5/p;Lcom/bumptech/glide/request/g;Ljava/util/List;Lcom/bumptech/glide/request/RequestCoordinator;Lcom/bumptech/glide/load/engine/i;Lk5/g;Ljava/util/concurrent/Executor;)V return-object v17 .end method # virtual methods .method public a()Z .locals 3 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->COMPLETE:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v2, :cond_0 const/4 v1, 0x1 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 monitor-exit v0 return v1 :catchall_0 move-exception v1 .line 3 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public b(Lcom/bumptech/glide/load/engine/s;Lcom/bumptech/glide/load/DataSource;Z)V .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/bumptech/glide/load/engine/s<", "*>;", "Lcom/bumptech/glide/load/DataSource;", "Z)V" } .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v0}, Ln5/c;->c()V const/4 v0, 0x0 .line 2 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_2 .line 3 :try_start_1 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; if-nez p1, :cond_0 .line 4 new-instance p1, Lcom/bumptech/glide/load/engine/GlideException; new-instance p2, Ljava/lang/StringBuilder; invoke-direct {p2}, Ljava/lang/StringBuilder;->()V const-string p3, "Expected to receive a Resource with an object of " invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object p3, p0, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string p3, " inside, but instead got null." invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p2 invoke-direct {p1, p2}, Lcom/bumptech/glide/load/engine/GlideException;->(Ljava/lang/String;)V .line 5 invoke-virtual {p0, p1}, Lcom/bumptech/glide/request/SingleRequest;->c(Lcom/bumptech/glide/load/engine/GlideException;)V .line 6 monitor-exit v1 return-void .line 7 :cond_0 invoke-interface {p1}, Lcom/bumptech/glide/load/engine/s;->get()Ljava/lang/Object; move-result-object v2 if-eqz v2, :cond_3 .line 8 iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v4 invoke-virtual {v3, v4}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z move-result v3 if-nez v3, :cond_1 goto :goto_0 .line 9 :cond_1 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->l()Z move-result v3 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 if-nez v3, :cond_2 .line 10 :try_start_2 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; .line 11 sget-object p2, Lcom/bumptech/glide/request/SingleRequest$Status;->COMPLETE:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 12 monitor-exit v1 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 .line 13 iget-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; invoke-virtual {p2, p1}, Lcom/bumptech/glide/load/engine/i;->l(Lcom/bumptech/glide/load/engine/s;)V return-void .line 14 :cond_2 :try_start_3 invoke-virtual {p0, p1, v2, p2, p3}, Lcom/bumptech/glide/request/SingleRequest;->y(Lcom/bumptech/glide/load/engine/s;Ljava/lang/Object;Lcom/bumptech/glide/load/DataSource;Z)V .line 15 monitor-exit v1 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_1 return-void .line 16 :cond_3 :goto_0 :try_start_4 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; .line 17 new-instance p2, Lcom/bumptech/glide/load/engine/GlideException; new-instance p3, Ljava/lang/StringBuilder; invoke-direct {p3}, Ljava/lang/StringBuilder;->()V const-string v0, "Expected to receive an object of " invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, " but instead got " invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; if-eqz v2, :cond_4 .line 18 invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 goto :goto_1 :cond_4 const-string v0, "" :goto_1 invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, "{" invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, "} inside Resource{" invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, "}." invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; if-eqz v2, :cond_5 const-string v0, "" goto :goto_2 :cond_5 const-string v0, " To indicate failure return a null Resource object, rather than a Resource object containing null data." .line 19 :goto_2 invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p3 invoke-direct {p2, p3}, Lcom/bumptech/glide/load/engine/GlideException;->(Ljava/lang/String;)V .line 20 invoke-virtual {p0, p2}, Lcom/bumptech/glide/request/SingleRequest;->c(Lcom/bumptech/glide/load/engine/GlideException;)V .line 21 monitor-exit v1 :try_end_4 .catchall {:try_start_4 .. :try_end_4} :catchall_0 .line 22 iget-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; invoke-virtual {p2, p1}, Lcom/bumptech/glide/load/engine/i;->l(Lcom/bumptech/glide/load/engine/s;)V return-void :catchall_0 move-exception p2 move-object v0, p1 move-object p1, p2 goto :goto_3 :catchall_1 move-exception p1 .line 23 :goto_3 :try_start_5 monitor-exit v1 :try_end_5 .catchall {:try_start_5 .. :try_end_5} :catchall_1 :try_start_6 throw p1 :try_end_6 .catchall {:try_start_6 .. :try_end_6} :catchall_2 :catchall_2 move-exception p1 if-eqz v0, :cond_6 .line 24 iget-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; invoke-virtual {p2, v0}, Lcom/bumptech/glide/load/engine/i;->l(Lcom/bumptech/glide/load/engine/s;)V :cond_6 throw p1 .end method .method public c(Lcom/bumptech/glide/load/engine/GlideException;)V .locals 1 const/4 v0, 0x5 .line 1 invoke-virtual {p0, p1, v0}, Lcom/bumptech/glide/request/SingleRequest;->x(Lcom/bumptech/glide/load/engine/GlideException;I)V return-void .end method .method public clear()V .locals 5 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->i()V .line 3 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v1}, Ln5/c;->c()V .line 4 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->CLEARED:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v2, :cond_0 .line 5 monitor-exit v0 return-void .line 6 :cond_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->m()V .line 7 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; const/4 v3, 0x0 if-eqz v1, :cond_1 .line 8 iput-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; goto :goto_0 :cond_1 move-object v1, v3 .line 9 :goto_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->j()Z move-result v3 if-eqz v3, :cond_2 .line 10 iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->p()Landroid/graphics/drawable/Drawable; move-result-object v4 invoke-interface {v3, v4}, Lj5/p;->j(Landroid/graphics/drawable/Drawable;)V .line 11 :cond_2 iput-object v2, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 12 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-eqz v1, :cond_3 .line 13 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; invoke-virtual {v0, v1}, Lcom/bumptech/glide/load/engine/i;->l(Lcom/bumptech/glide/load/engine/s;)V :cond_3 return-void :catchall_0 move-exception v1 .line 14 :try_start_1 monitor-exit v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 throw v1 .end method .method public d(II)V .locals 24 move-object/from16 v15, p0 .line 1 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v0}, Ln5/c;->c()V .line 2 iget-object v14, v15, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v14 .line 3 :try_start_0 sget-boolean v0, Lcom/bumptech/glide/request/SingleRequest;->F:Z if-eqz v0, :cond_0 .line 4 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "Got onSizeReady in " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-wide v2, v15, Lcom/bumptech/glide/request/SingleRequest;->t:J invoke-static {v2, v3}, Lm5/h;->a(J)D move-result-wide v2 invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {v15, v1}, Lcom/bumptech/glide/request/SingleRequest;->s(Ljava/lang/String;)V .line 5 :cond_0 iget-object v1, v15, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->WAITING_FOR_SIZE:Lcom/bumptech/glide/request/SingleRequest$Status; if-eq v1, v2, :cond_1 .line 6 monitor-exit v14 return-void .line 7 :cond_1 sget-object v13, Lcom/bumptech/glide/request/SingleRequest$Status;->RUNNING:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object v13, v15, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 8 iget-object v1, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v1}, Lcom/bumptech/glide/request/a;->S()F move-result v1 move/from16 v2, p1 .line 9 invoke-static {v2, v1}, Lcom/bumptech/glide/request/SingleRequest;->t(IF)I move-result v2 iput v2, v15, Lcom/bumptech/glide/request/SingleRequest;->z:I move/from16 v2, p2 .line 10 invoke-static {v2, v1}, Lcom/bumptech/glide/request/SingleRequest;->t(IF)I move-result v1 iput v1, v15, Lcom/bumptech/glide/request/SingleRequest;->A:I if-eqz v0, :cond_2 .line 11 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "finished setup for calling load in " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-wide v2, v15, Lcom/bumptech/glide/request/SingleRequest;->t:J invoke-static {v2, v3}, Lm5/h;->a(J)D move-result-wide v2 invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {v15, v1}, Lcom/bumptech/glide/request/SingleRequest;->s(Ljava/lang/String;)V .line 12 :cond_2 iget-object v1, v15, Lcom/bumptech/glide/request/SingleRequest;->u:Lcom/bumptech/glide/load/engine/i; iget-object v2, v15, Lcom/bumptech/glide/request/SingleRequest;->g:Lcom/bumptech/glide/d; iget-object v3, v15, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; iget-object v4, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 13 invoke-virtual {v4}, Lcom/bumptech/glide/request/a;->R()Lu4/b; move-result-object v4 iget v5, v15, Lcom/bumptech/glide/request/SingleRequest;->z:I iget v6, v15, Lcom/bumptech/glide/request/SingleRequest;->A:I iget-object v7, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 14 invoke-virtual {v7}, Lcom/bumptech/glide/request/a;->Q()Ljava/lang/Class; move-result-object v7 iget-object v8, v15, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; iget-object v9, v15, Lcom/bumptech/glide/request/SingleRequest;->m:Lcom/bumptech/glide/Priority; iget-object v10, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 15 invoke-virtual {v10}, Lcom/bumptech/glide/request/a;->E()Lcom/bumptech/glide/load/engine/h; move-result-object v10 iget-object v11, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 16 invoke-virtual {v11}, Lcom/bumptech/glide/request/a;->U()Ljava/util/Map; move-result-object v11 iget-object v12, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 17 invoke-virtual {v12}, Lcom/bumptech/glide/request/a;->h0()Z move-result v12 move-object/from16 v16, v13 iget-object v13, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 18 invoke-virtual {v13}, Lcom/bumptech/glide/request/a;->c0()Z move-result v13 move/from16 v21, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 19 invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->K()Lu4/e; move-result-object v0 move-object/from16 p1, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 20 invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->a0()Z move-result v0 move/from16 p2, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 21 invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->W()Z move-result v0 move/from16 v17, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 22 invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->V()Z move-result v0 move/from16 v18, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 23 invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->J()Z move-result v0 move/from16 v19, v0 iget-object v0, v15, Lcom/bumptech/glide/request/SingleRequest;->q:Ljava/util/concurrent/Executor; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 move-object/from16 v22, v16 move-object/from16 v23, v14 move-object/from16 v14, p1 move/from16 v15, p2 move/from16 v16, v17 move/from16 v17, v18 move/from16 v18, v19 move-object/from16 v19, p0 move-object/from16 v20, v0 .line 24 :try_start_1 invoke-virtual/range {v1 .. v20}, Lcom/bumptech/glide/load/engine/i;->g(Lcom/bumptech/glide/d;Ljava/lang/Object;Lu4/b;IILjava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/Priority;Lcom/bumptech/glide/load/engine/h;Ljava/util/Map;ZZLu4/e;ZZZZLcom/bumptech/glide/request/i;Ljava/util/concurrent/Executor;)Lcom/bumptech/glide/load/engine/i$d; move-result-object v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 move-object/from16 v1, p0 :try_start_2 iput-object v0, v1, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; .line 25 iget-object v0, v1, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; move-object/from16 v2, v22 if-eq v0, v2, :cond_3 const/4 v0, 0x0 .line 26 iput-object v0, v1, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; :cond_3 if-eqz v21, :cond_4 .line 27 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v2, "finished onSizeReady in " invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-wide v2, v1, Lcom/bumptech/glide/request/SingleRequest;->t:J invoke-static {v2, v3}, Lm5/h;->a(J)D move-result-wide v2 invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-virtual {v1, v0}, Lcom/bumptech/glide/request/SingleRequest;->s(Ljava/lang/String;)V .line 28 :cond_4 monitor-exit v23 return-void :catchall_0 move-exception v0 move-object/from16 v1, p0 goto :goto_0 :catchall_1 move-exception v0 move-object/from16 v23, v14 move-object v1, v15 :goto_0 monitor-exit v23 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_2 throw v0 :catchall_2 move-exception v0 goto :goto_0 .end method .method public e()Z .locals 3 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->CLEARED:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v2, :cond_0 const/4 v1, 0x1 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 monitor-exit v0 return v1 :catchall_0 move-exception v1 .line 3 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public f()Ljava/lang/Object; .locals 1 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v0}, Ln5/c;->c()V .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; return-object v0 .end method .method public g(Lcom/bumptech/glide/request/e;)Z .locals 16 move-object/from16 v1, p0 move-object/from16 v0, p1 .line 1 instance-of v2, v0, Lcom/bumptech/glide/request/SingleRequest; const/4 v3, 0x0 if-nez v2, :cond_0 return v3 .line 2 :cond_0 iget-object v2, v1, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v2 .line 3 :try_start_0 iget v4, v1, Lcom/bumptech/glide/request/SingleRequest;->k:I .line 4 iget v5, v1, Lcom/bumptech/glide/request/SingleRequest;->l:I .line 5 iget-object v6, v1, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; .line 6 iget-object v7, v1, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; .line 7 iget-object v8, v1, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 8 iget-object v9, v1, Lcom/bumptech/glide/request/SingleRequest;->m:Lcom/bumptech/glide/Priority; .line 9 iget-object v10, v1, Lcom/bumptech/glide/request/SingleRequest;->o:Ljava/util/List; if-eqz v10, :cond_1 invoke-interface {v10}, Ljava/util/List;->size()I move-result v10 goto :goto_0 :cond_1 move v10, v3 .line 10 :goto_0 monitor-exit v2 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 .line 11 check-cast v0, Lcom/bumptech/glide/request/SingleRequest; .line 12 iget-object v11, v0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v11 .line 13 :try_start_1 iget v2, v0, Lcom/bumptech/glide/request/SingleRequest;->k:I .line 14 iget v12, v0, Lcom/bumptech/glide/request/SingleRequest;->l:I .line 15 iget-object v13, v0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; .line 16 iget-object v14, v0, Lcom/bumptech/glide/request/SingleRequest;->i:Ljava/lang/Class; .line 17 iget-object v15, v0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; .line 18 iget-object v3, v0, Lcom/bumptech/glide/request/SingleRequest;->m:Lcom/bumptech/glide/Priority; .line 19 iget-object v0, v0, Lcom/bumptech/glide/request/SingleRequest;->o:Ljava/util/List; if-eqz v0, :cond_2 invoke-interface {v0}, Ljava/util/List;->size()I move-result v0 goto :goto_1 :cond_2 const/4 v0, 0x0 .line 20 :goto_1 monitor-exit v11 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 if-ne v4, v2, :cond_3 if-ne v5, v12, :cond_3 .line 21 invoke-static {v6, v13}, Lm5/m;->c(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_3 .line 22 invoke-virtual {v7, v14}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_3 .line 23 invoke-virtual {v8, v15}, Lcom/bumptech/glide/request/a;->equals(Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_3 if-ne v9, v3, :cond_3 if-ne v10, v0, :cond_3 const/4 v3, 0x1 goto :goto_2 :cond_3 const/4 v3, 0x0 :goto_2 return v3 :catchall_0 move-exception v0 .line 24 :try_start_2 monitor-exit v11 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 throw v0 :catchall_1 move-exception v0 .line 25 :try_start_3 monitor-exit v2 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_1 throw v0 .end method .method public h()V .locals 5 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->i()V .line 3 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v1}, Ln5/c;->c()V .line 4 invoke-static {}, Lm5/h;->b()J move-result-wide v1 iput-wide v1, p0, Lcom/bumptech/glide/request/SingleRequest;->t:J .line 5 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; if-nez v1, :cond_2 .line 6 iget v1, p0, Lcom/bumptech/glide/request/SingleRequest;->k:I iget v2, p0, Lcom/bumptech/glide/request/SingleRequest;->l:I invoke-static {v1, v2}, Lm5/m;->w(II)Z move-result v1 if-eqz v1, :cond_0 .line 7 iget v1, p0, Lcom/bumptech/glide/request/SingleRequest;->k:I iput v1, p0, Lcom/bumptech/glide/request/SingleRequest;->z:I .line 8 iget v1, p0, Lcom/bumptech/glide/request/SingleRequest;->l:I iput v1, p0, Lcom/bumptech/glide/request/SingleRequest;->A:I .line 9 :cond_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->o()Landroid/graphics/drawable/Drawable; move-result-object v1 if-nez v1, :cond_1 const/4 v1, 0x5 goto :goto_0 :cond_1 const/4 v1, 0x3 .line 10 :goto_0 new-instance v2, Lcom/bumptech/glide/load/engine/GlideException; const-string v3, "Received null model" invoke-direct {v2, v3}, Lcom/bumptech/glide/load/engine/GlideException;->(Ljava/lang/String;)V invoke-virtual {p0, v2, v1}, Lcom/bumptech/glide/request/SingleRequest;->x(Lcom/bumptech/glide/load/engine/GlideException;I)V .line 11 monitor-exit v0 return-void .line 12 :cond_2 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->RUNNING:Lcom/bumptech/glide/request/SingleRequest$Status; if-eq v1, v2, :cond_8 .line 13 sget-object v3, Lcom/bumptech/glide/request/SingleRequest$Status;->COMPLETE:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v3, :cond_3 .line 14 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; sget-object v2, Lcom/bumptech/glide/load/DataSource;->MEMORY_CACHE:Lcom/bumptech/glide/load/DataSource; const/4 v3, 0x0 invoke-virtual {p0, v1, v2, v3}, Lcom/bumptech/glide/request/SingleRequest;->b(Lcom/bumptech/glide/load/engine/s;Lcom/bumptech/glide/load/DataSource;Z)V .line 15 monitor-exit v0 return-void .line 16 :cond_3 sget-object v1, Lcom/bumptech/glide/request/SingleRequest$Status;->WAITING_FOR_SIZE:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 17 iget v3, p0, Lcom/bumptech/glide/request/SingleRequest;->k:I iget v4, p0, Lcom/bumptech/glide/request/SingleRequest;->l:I invoke-static {v3, v4}, Lm5/m;->w(II)Z move-result v3 if-eqz v3, :cond_4 .line 18 iget v3, p0, Lcom/bumptech/glide/request/SingleRequest;->k:I iget v4, p0, Lcom/bumptech/glide/request/SingleRequest;->l:I invoke-virtual {p0, v3, v4}, Lcom/bumptech/glide/request/SingleRequest;->d(II)V goto :goto_1 .line 19 :cond_4 iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-interface {v3, p0}, Lj5/p;->k(Lj5/o;)V .line 20 :goto_1 iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; if-eq v3, v2, :cond_5 if-ne v3, v1, :cond_6 .line 21 :cond_5 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->k()Z move-result v1 if-eqz v1, :cond_6 .line 22 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->p()Landroid/graphics/drawable/Drawable; move-result-object v2 invoke-interface {v1, v2}, Lj5/p;->h(Landroid/graphics/drawable/Drawable;)V .line 23 :cond_6 sget-boolean v1, Lcom/bumptech/glide/request/SingleRequest;->F:Z if-eqz v1, :cond_7 .line 24 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "finished run method in " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-wide v2, p0, Lcom/bumptech/glide/request/SingleRequest;->t:J invoke-static {v2, v3}, Lm5/h;->a(J)D move-result-wide v2 invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {p0, v1}, Lcom/bumptech/glide/request/SingleRequest;->s(Ljava/lang/String;)V .line 25 :cond_7 monitor-exit v0 return-void .line 26 :cond_8 new-instance v1, Ljava/lang/IllegalArgumentException; const-string v2, "Cannot restart a running request" invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v1 :catchall_0 move-exception v1 .line 27 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public final i()V .locals 2 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-boolean v0, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z if-nez v0, :cond_0 return-void .line 2 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "You can\'t start or clear loads in RequestListener or Target callbacks. If you\'re trying to start a fallback request when a load fails, use RequestBuilder#error(RequestBuilder). Otherwise consider posting your into() or clear() calls to the main thread using a Handler instead." invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method .method public isComplete()Z .locals 3 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->COMPLETE:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v2, :cond_0 const/4 v1, 0x1 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 monitor-exit v0 return v1 :catchall_0 move-exception v1 .line 3 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public isRunning()Z .locals 3 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->RUNNING:Lcom/bumptech/glide/request/SingleRequest$Status; if-eq v1, v2, :cond_1 sget-object v2, Lcom/bumptech/glide/request/SingleRequest$Status;->WAITING_FOR_SIZE:Lcom/bumptech/glide/request/SingleRequest$Status; if-ne v1, v2, :cond_0 goto :goto_0 :cond_0 const/4 v1, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 v1, 0x1 :goto_1 monitor-exit v0 return v1 :catchall_0 move-exception v1 .line 3 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public final j()Z .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_1 invoke-interface {v0, p0}, Lcom/bumptech/glide/request/RequestCoordinator;->i(Lcom/bumptech/glide/request/e;)Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 :cond_0 const/4 v0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 v0, 0x1 :goto_1 return v0 .end method .method public final k()Z .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_1 invoke-interface {v0, p0}, Lcom/bumptech/glide/request/RequestCoordinator;->b(Lcom/bumptech/glide/request/e;)Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 :cond_0 const/4 v0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 v0, 0x1 :goto_1 return v0 .end method .method public final l()Z .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_1 invoke-interface {v0, p0}, Lcom/bumptech/glide/request/RequestCoordinator;->c(Lcom/bumptech/glide/request/e;)Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 :cond_0 const/4 v0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 v0, 0x1 :goto_1 return v0 .end method .method public final m()V .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->i()V .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v0}, Ln5/c;->c()V .line 3 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-interface {v0, p0}, Lj5/p;->f(Lj5/o;)V .line 4 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; if-eqz v0, :cond_0 .line 5 invoke-virtual {v0}, Lcom/bumptech/glide/load/engine/i$d;->a()V const/4 v0, 0x0 .line 6 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; :cond_0 return-void .end method .method public final n()Landroid/graphics/drawable/Drawable; .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->w:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->G()Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->w:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 3 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->F()I move-result v0 if-lez v0, :cond_0 .line 4 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->F()I move-result v0 invoke-virtual {p0, v0}, Lcom/bumptech/glide/request/SingleRequest;->r(I)Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->w:Landroid/graphics/drawable/Drawable; .line 5 :cond_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->w:Landroid/graphics/drawable/Drawable; return-object v0 .end method .method public final o()Landroid/graphics/drawable/Drawable; .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->y:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->H()Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->y:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 3 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->I()I move-result v0 if-lez v0, :cond_0 .line 4 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->I()I move-result v0 invoke-virtual {p0, v0}, Lcom/bumptech/glide/request/SingleRequest;->r(I)Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->y:Landroid/graphics/drawable/Drawable; .line 5 :cond_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->y:Landroid/graphics/drawable/Drawable; return-object v0 .end method .method public final p()Landroid/graphics/drawable/Drawable; .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->x:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->N()Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->x:Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 .line 3 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->O()I move-result v0 if-lez v0, :cond_0 .line 4 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->O()I move-result v0 invoke-virtual {p0, v0}, Lcom/bumptech/glide/request/SingleRequest;->r(I)Landroid/graphics/drawable/Drawable; move-result-object v0 iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->x:Landroid/graphics/drawable/Drawable; .line 5 :cond_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->x:Landroid/graphics/drawable/Drawable; return-object v0 .end method .method public pause()V .locals 2 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 2 :try_start_0 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->isRunning()Z move-result v1 if-eqz v1, :cond_0 .line 3 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->clear()V .line 4 :cond_0 monitor-exit v0 return-void :catchall_0 move-exception v1 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v1 .end method .method public final q()Z .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_1 invoke-interface {v0}, Lcom/bumptech/glide/request/RequestCoordinator;->getRoot()Lcom/bumptech/glide/request/RequestCoordinator; move-result-object v0 invoke-interface {v0}, Lcom/bumptech/glide/request/RequestCoordinator;->a()Z move-result v0 if-nez v0, :cond_0 goto :goto_0 :cond_0 const/4 v0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 v0, 0x1 :goto_1 return v0 .end method .method public final r(I)Landroid/graphics/drawable/Drawable; .locals 2 .param p1 # I .annotation build Landroidx/annotation/DrawableRes; .end annotation .end param .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->T()Landroid/content/res/Resources$Theme; move-result-object v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->j:Lcom/bumptech/glide/request/a; invoke-virtual {v0}, Lcom/bumptech/glide/request/a;->T()Landroid/content/res/Resources$Theme; move-result-object v0 goto :goto_0 :cond_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->f:Landroid/content/Context; invoke-virtual {v0}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme; move-result-object v0 .line 2 :goto_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->g:Lcom/bumptech/glide/d; invoke-static {v1, p1, v0}, Ld5/a;->a(Landroid/content/Context;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; move-result-object p1 return-object p1 .end method .method public final s(Ljava/lang/String;)V .locals 1 const-string v0, " this: " .line 1 invoke-static {p1, v0}, Landroid/support/v4/media/e;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->a:Ljava/lang/String; invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 const-string v0, "Request" invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I return-void .end method .method public final u()V .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_0 .line 2 invoke-interface {v0, p0}, Lcom/bumptech/glide/request/RequestCoordinator;->d(Lcom/bumptech/glide/request/e;)V :cond_0 return-void .end method .method public final v()V .locals 1 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->e:Lcom/bumptech/glide/request/RequestCoordinator; if-eqz v0, :cond_0 .line 2 invoke-interface {v0, p0}, Lcom/bumptech/glide/request/RequestCoordinator;->f(Lcom/bumptech/glide/request/e;)V :cond_0 return-void .end method .method public final x(Lcom/bumptech/glide/load/engine/GlideException;I)V .locals 8 .line 1 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->b:Ln5/c; invoke-virtual {v0}, Ln5/c;->c()V .line 2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->c:Ljava/lang/Object; monitor-enter v0 .line 3 :try_start_0 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->C:Ljava/lang/RuntimeException; invoke-virtual {p1, v1}, Lcom/bumptech/glide/load/engine/GlideException;->setOrigin(Ljava/lang/Exception;)V .line 4 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->g:Lcom/bumptech/glide/d; invoke-virtual {v1}, Lcom/bumptech/glide/d;->h()I move-result v1 if-gt v1, p2, :cond_0 const-string p2, "Glide" .line 5 new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, "Load failed for " invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v3, " with size [" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v3, p0, Lcom/bumptech/glide/request/SingleRequest;->z:I invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v3, "x" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v3, p0, Lcom/bumptech/glide/request/SingleRequest;->A:I invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v3, "]" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-static {p2, v2, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I const/4 p2, 0x4 if-gt v1, p2, :cond_0 const-string p2, "Glide" .line 6 invoke-virtual {p1, p2}, Lcom/bumptech/glide/load/engine/GlideException;->logRootCauses(Ljava/lang/String;)V :cond_0 const/4 p2, 0x0 .line 7 iput-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->s:Lcom/bumptech/glide/load/engine/i$d; .line 8 sget-object p2, Lcom/bumptech/glide/request/SingleRequest$Status;->FAILED:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object p2, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; const/4 p2, 0x1 .line 9 iput-boolean p2, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 const/4 v1, 0x0 .line 10 :try_start_1 iget-object v2, p0, Lcom/bumptech/glide/request/SingleRequest;->o:Ljava/util/List; if-eqz v2, :cond_1 .line 11 invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v2 move v3, v1 :goto_0 invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z move-result v4 if-eqz v4, :cond_2 invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v4 check-cast v4, Lcom/bumptech/glide/request/g; .line 12 iget-object v5, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; iget-object v6, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; .line 13 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->q()Z move-result v7 invoke-interface {v4, p1, v5, v6, v7}, Lcom/bumptech/glide/request/g;->b(Lcom/bumptech/glide/load/engine/GlideException;Ljava/lang/Object;Lj5/p;Z)Z move-result v4 or-int/2addr v3, v4 goto :goto_0 :cond_1 move v3, v1 .line 14 :cond_2 iget-object v2, p0, Lcom/bumptech/glide/request/SingleRequest;->d:Lcom/bumptech/glide/request/g; if-eqz v2, :cond_3 iget-object v4, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; iget-object v5, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; .line 15 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->q()Z move-result v6 invoke-interface {v2, p1, v4, v5, v6}, Lcom/bumptech/glide/request/g;->b(Lcom/bumptech/glide/load/engine/GlideException;Ljava/lang/Object;Lj5/p;Z)Z move-result p1 if-eqz p1, :cond_3 goto :goto_1 :cond_3 move p2, v1 :goto_1 or-int p1, v3, p2 if-nez p1, :cond_4 .line 16 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->z()V :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 .line 17 :cond_4 :try_start_2 iput-boolean v1, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z .line 18 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->u()V .line 19 monitor-exit v0 return-void :catchall_0 move-exception p1 .line 20 iput-boolean v1, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z throw p1 :catchall_1 move-exception p1 .line 21 monitor-exit v0 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_1 throw p1 .end method .method public final y(Lcom/bumptech/glide/load/engine/s;Ljava/lang/Object;Lcom/bumptech/glide/load/DataSource;Z)V .locals 9 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/bumptech/glide/load/engine/s<", "TR;>;TR;", "Lcom/bumptech/glide/load/DataSource;", "Z)V" } .end annotation .line 1 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->q()Z move-result p4 .line 2 sget-object v0, Lcom/bumptech/glide/request/SingleRequest$Status;->COMPLETE:Lcom/bumptech/glide/request/SingleRequest$Status; iput-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->v:Lcom/bumptech/glide/request/SingleRequest$Status; .line 3 iput-object p1, p0, Lcom/bumptech/glide/request/SingleRequest;->r:Lcom/bumptech/glide/load/engine/s; .line 4 iget-object p1, p0, Lcom/bumptech/glide/request/SingleRequest;->g:Lcom/bumptech/glide/d; invoke-virtual {p1}, Lcom/bumptech/glide/d;->h()I move-result p1 const/4 v0, 0x3 if-gt p1, v0, :cond_0 const-string p1, "Finished loading " .line 5 invoke-static {p1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p1 .line 6 invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String; move-result-object v0 invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " from " invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, " for " invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v0, " with size [" invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v0, p0, Lcom/bumptech/glide/request/SingleRequest;->z:I invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v0, "x" invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget v0, p0, Lcom/bumptech/glide/request/SingleRequest;->A:I invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string v0, "] in " invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-wide v0, p0, Lcom/bumptech/glide/request/SingleRequest;->t:J .line 7 invoke-static {v0, v1}, Lm5/h;->a(J)D move-result-wide v0 invoke-virtual {p1, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; const-string v0, " ms" invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 const-string v0, "Glide" .line 8 invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I :cond_0 const/4 p1, 0x1 .line 9 iput-boolean p1, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z const/4 v6, 0x0 .line 10 :try_start_0 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->o:Ljava/util/List; if-eqz v0, :cond_1 .line 11 invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v7 move v8, v6 :goto_0 invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/bumptech/glide/request/g; .line 12 iget-object v2, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; move-object v1, p2 move-object v4, p3 move v5, p4 .line 13 invoke-interface/range {v0 .. v5}, Lcom/bumptech/glide/request/g;->a(Ljava/lang/Object;Ljava/lang/Object;Lj5/p;Lcom/bumptech/glide/load/DataSource;Z)Z move-result v0 or-int/2addr v8, v0 goto :goto_0 :cond_1 move v8, v6 .line 14 :cond_2 iget-object v0, p0, Lcom/bumptech/glide/request/SingleRequest;->d:Lcom/bumptech/glide/request/g; if-eqz v0, :cond_3 iget-object v2, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; iget-object v3, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; move-object v1, p2 move-object v4, p3 move v5, p4 .line 15 invoke-interface/range {v0 .. v5}, Lcom/bumptech/glide/request/g;->a(Ljava/lang/Object;Ljava/lang/Object;Lj5/p;Lcom/bumptech/glide/load/DataSource;Z)Z move-result v0 if-eqz v0, :cond_3 goto :goto_1 :cond_3 move p1, v6 :goto_1 or-int/2addr p1, v8 if-nez p1, :cond_4 .line 16 iget-object p1, p0, Lcom/bumptech/glide/request/SingleRequest;->p:Lk5/g; invoke-interface {p1, p3, p4}, Lk5/g;->a(Lcom/bumptech/glide/load/DataSource;Z)Lk5/f; move-result-object p1 .line 17 iget-object p3, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-interface {p3, p2, p1}, Lj5/p;->g(Ljava/lang/Object;Lk5/f;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 18 :cond_4 iput-boolean v6, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z .line 19 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->v()V return-void :catchall_0 move-exception p1 .line 20 iput-boolean v6, p0, Lcom/bumptech/glide/request/SingleRequest;->B:Z throw p1 .end method .method public final z()V .locals 2 .annotation build Landroidx/annotation/GuardedBy; value = "requestLock" .end annotation .line 1 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->k()Z move-result v0 if-nez v0, :cond_0 return-void :cond_0 const/4 v0, 0x0 .line 2 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->h:Ljava/lang/Object; if-nez v1, :cond_1 .line 3 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->o()Landroid/graphics/drawable/Drawable; move-result-object v0 :cond_1 if-nez v0, :cond_2 .line 4 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->n()Landroid/graphics/drawable/Drawable; move-result-object v0 :cond_2 if-nez v0, :cond_3 .line 5 invoke-virtual {p0}, Lcom/bumptech/glide/request/SingleRequest;->p()Landroid/graphics/drawable/Drawable; move-result-object v0 .line 6 :cond_3 iget-object v1, p0, Lcom/bumptech/glide/request/SingleRequest;->n:Lj5/p; invoke-interface {v1, v0}, Lj5/p;->n(Landroid/graphics/drawable/Drawable;)V return-void .end method