e.smali
.class public Lcom/bumptech/glide/e;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Cloneable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/e$1;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<ModelType:",
"Ljava/lang/Object;",
"DataType:",
"Ljava/lang/Object;",
"ResourceType:",
"Ljava/lang/Object;",
"TranscodeType:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/lang/Cloneable;"
}
.end annotation
# instance fields
.field private A:Z
.field private B:Landroid/graphics/drawable/Drawable;
.field private C:I
.field protected final a:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class",
"<TModelType;>;"
}
.end annotation
.end field
.field protected final b:Landroid/content/Context;
.field protected final c:Lcom/bumptech/glide/i;
.field protected final d:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class",
"<TTranscodeType;>;"
}
.end annotation
.end field
.field protected final e:Lcom/bumptech/glide/manager/l;
.field protected final f:Lcom/bumptech/glide/manager/g;
.field private g:Lcom/bumptech/glide/e/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/e/a",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
.end field
.field private h:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TModelType;"
}
.end annotation
.end field
.field private i:Lcom/bumptech/glide/load/b;
.field private j:Z
.field private k:I
.field private l:I
.field private m:Lcom/bumptech/glide/request/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/request/c",
"<-TModelType;TTranscodeType;>;"
}
.end annotation
.end field
.field private n:Ljava/lang/Float;
.field private o:Lcom/bumptech/glide/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/e",
"<***TTranscodeType;>;"
}
.end annotation
.end field
.field private p:Ljava/lang/Float;
.field private q:Landroid/graphics/drawable/Drawable;
.field private r:Landroid/graphics/drawable/Drawable;
.field private s:Lcom/bumptech/glide/Priority;
.field private t:Z
.field private u:Lcom/bumptech/glide/request/a/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/request/a/d",
"<TTranscodeType;>;"
}
.end annotation
.end field
.field private v:I
.field private w:I
.field private x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
.field private y:Lcom/bumptech/glide/load/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/load/f",
"<TResourceType;>;"
}
.end annotation
.end field
.field private z:Z
# direct methods
.method constructor <init>(Landroid/content/Context;Ljava/lang/Class;Lcom/bumptech/glide/e/f;Ljava/lang/Class;Lcom/bumptech/glide/i;Lcom/bumptech/glide/manager/l;Lcom/bumptech/glide/manager/g;)V
.registers 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/Class",
"<TModelType;>;",
"Lcom/bumptech/glide/e/f",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;",
"Ljava/lang/Class",
"<TTranscodeType;>;",
"Lcom/bumptech/glide/i;",
"Lcom/bumptech/glide/manager/l;",
"Lcom/bumptech/glide/manager/g;",
")V"
}
.end annotation
const/4 v0, 0x0
const/4 v2, -0x1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {}, Lcom/bumptech/glide/f/b;->a()Lcom/bumptech/glide/f/b;
move-result-object v1
iput-object v1, p0, Lcom/bumptech/glide/e;->i:Lcom/bumptech/glide/load/b;
const/high16 v1, 0x3f800000 # 1.0f
invoke-static {v1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v1
iput-object v1, p0, Lcom/bumptech/glide/e;->p:Ljava/lang/Float;
iput-object v0, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
const/4 v1, 0x1
iput-boolean v1, p0, Lcom/bumptech/glide/e;->t:Z
invoke-static {}, Lcom/bumptech/glide/request/a/e;->a()Lcom/bumptech/glide/request/a/d;
move-result-object v1
iput-object v1, p0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
iput v2, p0, Lcom/bumptech/glide/e;->v:I
iput v2, p0, Lcom/bumptech/glide/e;->w:I
sget-object v1, Lcom/bumptech/glide/load/engine/DiskCacheStrategy;->d:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iput-object v1, p0, Lcom/bumptech/glide/e;->x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
invoke-static {}, Lcom/bumptech/glide/load/resource/d;->a()Lcom/bumptech/glide/load/resource/d;
move-result-object v1
iput-object v1, p0, Lcom/bumptech/glide/e;->y:Lcom/bumptech/glide/load/f;
iput-object p1, p0, Lcom/bumptech/glide/e;->b:Landroid/content/Context;
iput-object p2, p0, Lcom/bumptech/glide/e;->a:Ljava/lang/Class;
iput-object p4, p0, Lcom/bumptech/glide/e;->d:Ljava/lang/Class;
iput-object p5, p0, Lcom/bumptech/glide/e;->c:Lcom/bumptech/glide/i;
iput-object p6, p0, Lcom/bumptech/glide/e;->e:Lcom/bumptech/glide/manager/l;
iput-object p7, p0, Lcom/bumptech/glide/e;->f:Lcom/bumptech/glide/manager/g;
if-eqz p3, :cond_3f
new-instance v0, Lcom/bumptech/glide/e/a;
invoke-direct {v0, p3}, Lcom/bumptech/glide/e/a;-><init>(Lcom/bumptech/glide/e/f;)V
:cond_3f
iput-object v0, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
if-nez p1, :cond_4c
new-instance v0, Ljava/lang/NullPointerException;
const-string/jumbo v1, "Context can\'t be null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
:cond_4c
if-eqz p2, :cond_59
if-nez p3, :cond_59
new-instance v0, Ljava/lang/NullPointerException;
const-string/jumbo v1, "LoadProvider must not be null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
:cond_59
return-void
.end method
.method constructor <init>(Lcom/bumptech/glide/e/f;Ljava/lang/Class;Lcom/bumptech/glide/e;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/e/f",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;",
"Ljava/lang/Class",
"<TTranscodeType;>;",
"Lcom/bumptech/glide/e",
"<TModelType;***>;)V"
}
.end annotation
iget-object v1, p3, Lcom/bumptech/glide/e;->b:Landroid/content/Context;
iget-object v2, p3, Lcom/bumptech/glide/e;->a:Ljava/lang/Class;
iget-object v5, p3, Lcom/bumptech/glide/e;->c:Lcom/bumptech/glide/i;
iget-object v6, p3, Lcom/bumptech/glide/e;->e:Lcom/bumptech/glide/manager/l;
iget-object v7, p3, Lcom/bumptech/glide/e;->f:Lcom/bumptech/glide/manager/g;
move-object v0, p0
move-object v3, p1
move-object v4, p2
invoke-direct/range {v0 .. v7}, Lcom/bumptech/glide/e;-><init>(Landroid/content/Context;Ljava/lang/Class;Lcom/bumptech/glide/e/f;Ljava/lang/Class;Lcom/bumptech/glide/i;Lcom/bumptech/glide/manager/l;Lcom/bumptech/glide/manager/g;)V
iget-object v0, p3, Lcom/bumptech/glide/e;->h:Ljava/lang/Object;
iput-object v0, p0, Lcom/bumptech/glide/e;->h:Ljava/lang/Object;
iget-boolean v0, p3, Lcom/bumptech/glide/e;->j:Z
iput-boolean v0, p0, Lcom/bumptech/glide/e;->j:Z
iget-object v0, p3, Lcom/bumptech/glide/e;->i:Lcom/bumptech/glide/load/b;
iput-object v0, p0, Lcom/bumptech/glide/e;->i:Lcom/bumptech/glide/load/b;
iget-object v0, p3, Lcom/bumptech/glide/e;->x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iput-object v0, p0, Lcom/bumptech/glide/e;->x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
iget-boolean v0, p3, Lcom/bumptech/glide/e;->t:Z
iput-boolean v0, p0, Lcom/bumptech/glide/e;->t:Z
return-void
.end method
.method private a()Lcom/bumptech/glide/Priority;
.registers 3
iget-object v0, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
sget-object v1, Lcom/bumptech/glide/Priority;->d:Lcom/bumptech/glide/Priority;
if-ne v0, v1, :cond_9
sget-object v0, Lcom/bumptech/glide/Priority;->c:Lcom/bumptech/glide/Priority;
:goto_8
return-object v0
:cond_9
iget-object v0, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
sget-object v1, Lcom/bumptech/glide/Priority;->c:Lcom/bumptech/glide/Priority;
if-ne v0, v1, :cond_12
sget-object v0, Lcom/bumptech/glide/Priority;->b:Lcom/bumptech/glide/Priority;
goto :goto_8
:cond_12
sget-object v0, Lcom/bumptech/glide/Priority;->a:Lcom/bumptech/glide/Priority;
goto :goto_8
.end method
.method private a(Lcom/bumptech/glide/request/b/j;FLcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b;)Lcom/bumptech/glide/request/a;
.registers 29
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/b/j",
"<TTranscodeType;>;F",
"Lcom/bumptech/glide/Priority;",
"Lcom/bumptech/glide/request/b;",
")",
"Lcom/bumptech/glide/request/a;"
}
.end annotation
move-object/from16 v0, p0
iget-object v1, v0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
move-object/from16 v0, p0
iget-object v2, v0, Lcom/bumptech/glide/e;->h:Ljava/lang/Object;
move-object/from16 v0, p0
iget-object v3, v0, Lcom/bumptech/glide/e;->i:Lcom/bumptech/glide/load/b;
move-object/from16 v0, p0
iget-object v4, v0, Lcom/bumptech/glide/e;->b:Landroid/content/Context;
move-object/from16 v0, p0
iget-object v8, v0, Lcom/bumptech/glide/e;->q:Landroid/graphics/drawable/Drawable;
move-object/from16 v0, p0
iget v9, v0, Lcom/bumptech/glide/e;->k:I
move-object/from16 v0, p0
iget-object v10, v0, Lcom/bumptech/glide/e;->r:Landroid/graphics/drawable/Drawable;
move-object/from16 v0, p0
iget v11, v0, Lcom/bumptech/glide/e;->l:I
move-object/from16 v0, p0
iget-object v12, v0, Lcom/bumptech/glide/e;->B:Landroid/graphics/drawable/Drawable;
move-object/from16 v0, p0
iget v13, v0, Lcom/bumptech/glide/e;->C:I
move-object/from16 v0, p0
iget-object v14, v0, Lcom/bumptech/glide/e;->m:Lcom/bumptech/glide/request/c;
move-object/from16 v0, p0
iget-object v5, v0, Lcom/bumptech/glide/e;->c:Lcom/bumptech/glide/i;
invoke-virtual {v5}, Lcom/bumptech/glide/i;->b()Lcom/bumptech/glide/load/engine/b;
move-result-object v16
move-object/from16 v0, p0
iget-object v0, v0, Lcom/bumptech/glide/e;->y:Lcom/bumptech/glide/load/f;
move-object/from16 v17, v0
move-object/from16 v0, p0
iget-object v0, v0, Lcom/bumptech/glide/e;->d:Ljava/lang/Class;
move-object/from16 v18, v0
move-object/from16 v0, p0
iget-boolean v0, v0, Lcom/bumptech/glide/e;->t:Z
move/from16 v19, v0
move-object/from16 v0, p0
iget-object v0, v0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
move-object/from16 v20, v0
move-object/from16 v0, p0
iget v0, v0, Lcom/bumptech/glide/e;->w:I
move/from16 v21, v0
move-object/from16 v0, p0
iget v0, v0, Lcom/bumptech/glide/e;->v:I
move/from16 v22, v0
move-object/from16 v0, p0
iget-object v0, v0, Lcom/bumptech/glide/e;->x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
move-object/from16 v23, v0
move-object/from16 v5, p3
move-object/from16 v6, p1
move/from16 v7, p2
move-object/from16 v15, p4
invoke-static/range {v1 .. v23}, Lcom/bumptech/glide/request/GenericRequest;->a(Lcom/bumptech/glide/e/f;Ljava/lang/Object;Lcom/bumptech/glide/load/b;Landroid/content/Context;Lcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b/j;FLandroid/graphics/drawable/Drawable;ILandroid/graphics/drawable/Drawable;ILandroid/graphics/drawable/Drawable;ILcom/bumptech/glide/request/c;Lcom/bumptech/glide/request/b;Lcom/bumptech/glide/load/engine/b;Lcom/bumptech/glide/load/f;Ljava/lang/Class;ZLcom/bumptech/glide/request/a/d;IILcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/request/GenericRequest;
move-result-object v1
return-object v1
.end method
.method private a(Lcom/bumptech/glide/request/b/j;Lcom/bumptech/glide/request/e;)Lcom/bumptech/glide/request/a;
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/b/j",
"<TTranscodeType;>;",
"Lcom/bumptech/glide/request/e;",
")",
"Lcom/bumptech/glide/request/a;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
if-eqz v0, :cond_75
iget-boolean v0, p0, Lcom/bumptech/glide/e;->A:Z
if-eqz v0, :cond_11
new-instance v0, Ljava/lang/IllegalStateException;
const-string/jumbo v1, "You cannot use a request as both the main request and a thumbnail, consider using clone() on the request(s) passed to thumbnail()"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_11
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget-object v0, v0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
invoke-static {}, Lcom/bumptech/glide/request/a/e;->a()Lcom/bumptech/glide/request/a/d;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_25
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget-object v1, p0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
iput-object v1, v0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
:cond_25
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget-object v0, v0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
if-nez v0, :cond_33
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
invoke-direct {p0}, Lcom/bumptech/glide/e;->a()Lcom/bumptech/glide/Priority;
move-result-object v1
iput-object v1, v0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
:cond_33
iget v0, p0, Lcom/bumptech/glide/e;->w:I
iget v1, p0, Lcom/bumptech/glide/e;->v:I
invoke-static {v0, v1}, Lcom/bumptech/glide/g/h;->a(II)Z
move-result v0
if-eqz v0, :cond_54
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget v0, v0, Lcom/bumptech/glide/e;->w:I
iget-object v1, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget v1, v1, Lcom/bumptech/glide/e;->v:I
invoke-static {v0, v1}, Lcom/bumptech/glide/g/h;->a(II)Z
move-result v0
if-nez v0, :cond_54
iget-object v0, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
iget v1, p0, Lcom/bumptech/glide/e;->w:I
iget v2, p0, Lcom/bumptech/glide/e;->v:I
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/e;->b(II)Lcom/bumptech/glide/e;
:cond_54
new-instance v0, Lcom/bumptech/glide/request/e;
invoke-direct {v0, p2}, Lcom/bumptech/glide/request/e;-><init>(Lcom/bumptech/glide/request/b;)V
iget-object v1, p0, Lcom/bumptech/glide/e;->p:Ljava/lang/Float;
invoke-virtual {v1}, Ljava/lang/Float;->floatValue()F
move-result v1
iget-object v2, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
invoke-direct {p0, p1, v1, v2, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;FLcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b;)Lcom/bumptech/glide/request/a;
move-result-object v1
const/4 v2, 0x1
iput-boolean v2, p0, Lcom/bumptech/glide/e;->A:Z
iget-object v2, p0, Lcom/bumptech/glide/e;->o:Lcom/bumptech/glide/e;
invoke-direct {v2, p1, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;Lcom/bumptech/glide/request/e;)Lcom/bumptech/glide/request/a;
move-result-object v2
const/4 v3, 0x0
iput-boolean v3, p0, Lcom/bumptech/glide/e;->A:Z
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/request/e;->a(Lcom/bumptech/glide/request/a;Lcom/bumptech/glide/request/a;)V
:goto_74
return-object v0
:cond_75
iget-object v0, p0, Lcom/bumptech/glide/e;->n:Ljava/lang/Float;
if-eqz v0, :cond_9c
new-instance v0, Lcom/bumptech/glide/request/e;
invoke-direct {v0, p2}, Lcom/bumptech/glide/request/e;-><init>(Lcom/bumptech/glide/request/b;)V
iget-object v1, p0, Lcom/bumptech/glide/e;->p:Ljava/lang/Float;
invoke-virtual {v1}, Ljava/lang/Float;->floatValue()F
move-result v1
iget-object v2, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
invoke-direct {p0, p1, v1, v2, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;FLcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b;)Lcom/bumptech/glide/request/a;
move-result-object v1
iget-object v2, p0, Lcom/bumptech/glide/e;->n:Ljava/lang/Float;
invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F
move-result v2
invoke-direct {p0}, Lcom/bumptech/glide/e;->a()Lcom/bumptech/glide/Priority;
move-result-object v3
invoke-direct {p0, p1, v2, v3, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;FLcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b;)Lcom/bumptech/glide/request/a;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/request/e;->a(Lcom/bumptech/glide/request/a;Lcom/bumptech/glide/request/a;)V
goto :goto_74
:cond_9c
iget-object v0, p0, Lcom/bumptech/glide/e;->p:Ljava/lang/Float;
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
move-result v0
iget-object v1, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
invoke-direct {p0, p1, v0, v1, p2}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;FLcom/bumptech/glide/Priority;Lcom/bumptech/glide/request/b;)Lcom/bumptech/glide/request/a;
move-result-object v0
goto :goto_74
.end method
.method private b(Lcom/bumptech/glide/request/b/j;)Lcom/bumptech/glide/request/a;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/b/j",
"<TTranscodeType;>;)",
"Lcom/bumptech/glide/request/a;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
if-nez v0, :cond_8
sget-object v0, Lcom/bumptech/glide/Priority;->c:Lcom/bumptech/glide/Priority;
iput-object v0, p0, Lcom/bumptech/glide/e;->s:Lcom/bumptech/glide/Priority;
:cond_8
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;Lcom/bumptech/glide/request/e;)Lcom/bumptech/glide/request/a;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/widget/ImageView;",
")",
"Lcom/bumptech/glide/request/b/j",
"<TTranscodeType;>;"
}
.end annotation
invoke-static {}, Lcom/bumptech/glide/g/h;->a()V
if-nez p1, :cond_e
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string/jumbo v1, "You must pass in a non null View"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_e
iget-boolean v0, p0, Lcom/bumptech/glide/e;->z:Z
if-nez v0, :cond_27
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;
move-result-object v0
if-eqz v0, :cond_27
sget-object v0, Lcom/bumptech/glide/e$1;->a:[I
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleType()Landroid/widget/ImageView$ScaleType;
move-result-object v1
invoke-virtual {v1}, Landroid/widget/ImageView$ScaleType;->ordinal()I
move-result v1
aget v0, v0, v1
packed-switch v0, :pswitch_data_3c
:cond_27
:goto_27
iget-object v0, p0, Lcom/bumptech/glide/e;->c:Lcom/bumptech/glide/i;
iget-object v1, p0, Lcom/bumptech/glide/e;->d:Ljava/lang/Class;
invoke-virtual {v0, p1, v1}, Lcom/bumptech/glide/i;->a(Landroid/widget/ImageView;Ljava/lang/Class;)Lcom/bumptech/glide/request/b/j;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/bumptech/glide/e;->a(Lcom/bumptech/glide/request/b/j;)Lcom/bumptech/glide/request/b/j;
move-result-object v0
return-object v0
:pswitch_34
invoke-virtual {p0}, Lcom/bumptech/glide/e;->e()V
goto :goto_27
:pswitch_38
invoke-virtual {p0}, Lcom/bumptech/glide/e;->d()V
goto :goto_27
:pswitch_data_3c
.packed-switch 0x1
:pswitch_34
:pswitch_38
:pswitch_38
:pswitch_38
.end packed-switch
.end method
.method public a(Lcom/bumptech/glide/request/b/j;)Lcom/bumptech/glide/request/b/j;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<Y::",
"Lcom/bumptech/glide/request/b/j",
"<TTranscodeType;>;>(TY;)TY;"
}
.end annotation
invoke-static {}, Lcom/bumptech/glide/g/h;->a()V
if-nez p1, :cond_e
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string/jumbo v1, "You must pass in a non null Target"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_e
iget-boolean v0, p0, Lcom/bumptech/glide/e;->j:Z
if-nez v0, :cond_1b
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string/jumbo v1, "You must first set a model (try #load())"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1b
invoke-interface {p1}, Lcom/bumptech/glide/request/b/j;->getRequest()Lcom/bumptech/glide/request/a;
move-result-object v0
if-eqz v0, :cond_2c
invoke-interface {v0}, Lcom/bumptech/glide/request/a;->d()V
iget-object v1, p0, Lcom/bumptech/glide/e;->e:Lcom/bumptech/glide/manager/l;
invoke-virtual {v1, v0}, Lcom/bumptech/glide/manager/l;->b(Lcom/bumptech/glide/request/a;)V
invoke-interface {v0}, Lcom/bumptech/glide/request/a;->a()V
:cond_2c
invoke-direct {p0, p1}, Lcom/bumptech/glide/e;->b(Lcom/bumptech/glide/request/b/j;)Lcom/bumptech/glide/request/a;
move-result-object v0
invoke-interface {p1, v0}, Lcom/bumptech/glide/request/b/j;->setRequest(Lcom/bumptech/glide/request/a;)V
iget-object v1, p0, Lcom/bumptech/glide/e;->f:Lcom/bumptech/glide/manager/g;
invoke-interface {v1, p1}, Lcom/bumptech/glide/manager/g;->a(Lcom/bumptech/glide/manager/h;)V
iget-object v1, p0, Lcom/bumptech/glide/e;->e:Lcom/bumptech/glide/manager/l;
invoke-virtual {v1, v0}, Lcom/bumptech/glide/manager/l;->a(Lcom/bumptech/glide/request/a;)V
return-object p1
.end method
.method public b(II)Lcom/bumptech/glide/e;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(II)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
invoke-static {p1, p2}, Lcom/bumptech/glide/g/h;->a(II)Z
move-result v0
if-nez v0, :cond_f
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string/jumbo v1, "Width and height must be Target#SIZE_ORIGINAL or > 0"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_f
iput p1, p0, Lcom/bumptech/glide/e;->w:I
iput p2, p0, Lcom/bumptech/glide/e;->v:I
return-object p0
.end method
.method public b(Lcom/bumptech/glide/load/a;)Lcom/bumptech/glide/e;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/a",
"<TDataType;>;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/e/a;->a(Lcom/bumptech/glide/load/a;)V
:cond_9
return-object p0
.end method
.method public b(Lcom/bumptech/glide/load/b;)Lcom/bumptech/glide/e;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/b;",
")",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
if-nez p1, :cond_b
new-instance v0, Ljava/lang/NullPointerException;
const-string/jumbo v1, "Signature must not be null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
:cond_b
iput-object p1, p0, Lcom/bumptech/glide/e;->i:Lcom/bumptech/glide/load/b;
return-object p0
.end method
.method public b(Lcom/bumptech/glide/load/d;)Lcom/bumptech/glide/e;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/d",
"<TDataType;TResourceType;>;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/e/a;->a(Lcom/bumptech/glide/load/d;)V
:cond_9
return-object p0
.end method
.method public b(Lcom/bumptech/glide/load/engine/DiskCacheStrategy;)Lcom/bumptech/glide/e;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/engine/DiskCacheStrategy;",
")",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iput-object p1, p0, Lcom/bumptech/glide/e;->x:Lcom/bumptech/glide/load/engine/DiskCacheStrategy;
return-object p0
.end method
.method public b(Lcom/bumptech/glide/request/a/d;)Lcom/bumptech/glide/e;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/a/d",
"<TTranscodeType;>;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
if-nez p1, :cond_b
new-instance v0, Ljava/lang/NullPointerException;
const-string/jumbo v1, "Animation factory must not be null!"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
:cond_b
iput-object p1, p0, Lcom/bumptech/glide/e;->u:Lcom/bumptech/glide/request/a/d;
return-object p0
.end method
.method public b(Lcom/bumptech/glide/request/c;)Lcom/bumptech/glide/e;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/request/c",
"<-TModelType;TTranscodeType;>;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iput-object p1, p0, Lcom/bumptech/glide/e;->m:Lcom/bumptech/glide/request/c;
return-object p0
.end method
.method public b(Ljava/lang/Object;)Lcom/bumptech/glide/e;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TModelType;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iput-object p1, p0, Lcom/bumptech/glide/e;->h:Ljava/lang/Object;
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/bumptech/glide/e;->j:Z
return-object p0
.end method
.method public b(Z)Lcom/bumptech/glide/e;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
if-nez p1, :cond_6
const/4 v0, 0x1
:goto_3
iput-boolean v0, p0, Lcom/bumptech/glide/e;->t:Z
return-object p0
:cond_6
const/4 v0, 0x0
goto :goto_3
.end method
.method public varargs b([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/e;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lcom/bumptech/glide/load/f",
"<TResourceType;>;)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
const/4 v1, 0x1
iput-boolean v1, p0, Lcom/bumptech/glide/e;->z:Z
array-length v0, p1
if-ne v0, v1, :cond_c
const/4 v0, 0x0
aget-object v0, p1, v0
iput-object v0, p0, Lcom/bumptech/glide/e;->y:Lcom/bumptech/glide/load/f;
:goto_b
return-object p0
:cond_c
new-instance v0, Lcom/bumptech/glide/load/c;
invoke-direct {v0, p1}, Lcom/bumptech/glide/load/c;-><init>([Lcom/bumptech/glide/load/f;)V
iput-object v0, p0, Lcom/bumptech/glide/e;->y:Lcom/bumptech/glide/load/f;
goto :goto_b
.end method
.method public c(I)Lcom/bumptech/glide/e;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iput p1, p0, Lcom/bumptech/glide/e;->l:I
return-object p0
.end method
.method public synthetic clone()Ljava/lang/Object;
.registers 2
invoke-virtual {p0}, Lcom/bumptech/glide/e;->f()Lcom/bumptech/glide/e;
move-result-object v0
return-object v0
.end method
.method public d(I)Lcom/bumptech/glide/e;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
iput p1, p0, Lcom/bumptech/glide/e;->k:I
return-object p0
.end method
.method d()V
.registers 1
return-void
.end method
.method e()V
.registers 1
return-void
.end method
.method public f()Lcom/bumptech/glide/e;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bumptech/glide/e",
"<TModelType;TDataType;TResourceType;TTranscodeType;>;"
}
.end annotation
:try_start_0
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/e;
iget-object v1, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
if-eqz v1, :cond_13
iget-object v1, p0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
invoke-virtual {v1}, Lcom/bumptech/glide/e/a;->g()Lcom/bumptech/glide/e/a;
move-result-object v1
:goto_10
iput-object v1, v0, Lcom/bumptech/glide/e;->g:Lcom/bumptech/glide/e/a;
:try_end_12
.catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_12} :catch_15
return-object v0
:cond_13
const/4 v1, 0x0
goto :goto_10
:catch_15
move-exception v0
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method