b.smali
.class public Lcom/bumptech/glide/b;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Landroid/content/ComponentCallbacks2;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/b$a;
}
.end annotation
# static fields
.field private static volatile m:Lcom/bumptech/glide/b;
.field private static volatile n:Z
# instance fields
.field private final e:Lcom/bumptech/glide/load/n/a0/e;
.field private final f:Lcom/bumptech/glide/load/n/b0/h;
.field private final g:Lcom/bumptech/glide/d;
.field private final h:Lcom/bumptech/glide/i;
.field private final i:Lcom/bumptech/glide/load/n/a0/b;
.field private final j:Lcom/bumptech/glide/o/p;
.field private final k:Lcom/bumptech/glide/o/d;
.field private final l:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/bumptech/glide/k;",
">;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/bumptech/glide/load/n/k;Lcom/bumptech/glide/load/n/b0/h;Lcom/bumptech/glide/load/n/a0/e;Lcom/bumptech/glide/load/n/a0/b;Lcom/bumptech/glide/o/p;Lcom/bumptech/glide/o/d;ILcom/bumptech/glide/b$a;Ljava/util/Map;Ljava/util/List;Lcom/bumptech/glide/e;)V
.registers 38
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/bumptech/glide/load/n/k;",
"Lcom/bumptech/glide/load/n/b0/h;",
"Lcom/bumptech/glide/load/n/a0/e;",
"Lcom/bumptech/glide/load/n/a0/b;",
"Lcom/bumptech/glide/o/p;",
"Lcom/bumptech/glide/o/d;",
"I",
"Lcom/bumptech/glide/b$a;",
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/l<",
"**>;>;",
"Ljava/util/List<",
"Lcom/bumptech/glide/r/e<",
"Ljava/lang/Object;",
">;>;",
"Lcom/bumptech/glide/e;",
")V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v2, p1
move-object/from16 v1, p4
move-object/from16 v3, p5
const-class v4, Lcom/bumptech/glide/n/a;
const-class v5, Ljava/lang/String;
const-class v6, Ljava/lang/Integer;
const-class v7, [B
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
new-instance v8, Ljava/util/ArrayList;
invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V
iput-object v8, v0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
sget-object v8, Lcom/bumptech/glide/f;->f:Lcom/bumptech/glide/f;
iput-object v1, v0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/n/a0/e;
iput-object v3, v0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/load/n/a0/b;
move-object/from16 v8, p3
iput-object v8, v0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/load/n/b0/h;
move-object/from16 v8, p6
iput-object v8, v0, Lcom/bumptech/glide/b;->j:Lcom/bumptech/glide/o/p;
move-object/from16 v8, p7
iput-object v8, v0, Lcom/bumptech/glide/b;->k:Lcom/bumptech/glide/o/d;
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v8
new-instance v9, Lcom/bumptech/glide/i;
invoke-direct {v9}, Lcom/bumptech/glide/i;-><init>()V
iput-object v9, v0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/i;
new-instance v10, Lcom/bumptech/glide/load/p/d/k;
invoke-direct {v10}, Lcom/bumptech/glide/load/p/d/k;-><init>()V
invoke-virtual {v9, v10}, Lcom/bumptech/glide/i;->o(Lcom/bumptech/glide/load/ImageHeaderParser;)Lcom/bumptech/glide/i;
sget v10, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v11, 0x1b
if-lt v10, v11, :cond_4d
new-instance v11, Lcom/bumptech/glide/load/p/d/p;
invoke-direct {v11}, Lcom/bumptech/glide/load/p/d/p;-><init>()V
invoke-virtual {v9, v11}, Lcom/bumptech/glide/i;->o(Lcom/bumptech/glide/load/ImageHeaderParser;)Lcom/bumptech/glide/i;
:cond_4d
invoke-virtual {v9}, Lcom/bumptech/glide/i;->g()Ljava/util/List;
move-result-object v11
new-instance v12, Lcom/bumptech/glide/load/p/h/a;
invoke-direct {v12, v2, v11, v1, v3}, Lcom/bumptech/glide/load/p/h/a;-><init>(Landroid/content/Context;Ljava/util/List;Lcom/bumptech/glide/load/n/a0/e;Lcom/bumptech/glide/load/n/a0/b;)V
invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/p/d/b0;->h(Lcom/bumptech/glide/load/n/a0/e;)Lcom/bumptech/glide/load/k;
move-result-object v13
new-instance v14, Lcom/bumptech/glide/load/p/d/m;
invoke-virtual {v9}, Lcom/bumptech/glide/i;->g()Ljava/util/List;
move-result-object v15
invoke-virtual {v8}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
move-result-object v0
invoke-direct {v14, v15, v0, v1, v3}, Lcom/bumptech/glide/load/p/d/m;-><init>(Ljava/util/List;Landroid/util/DisplayMetrics;Lcom/bumptech/glide/load/n/a0/e;Lcom/bumptech/glide/load/n/a0/b;)V
const-class v0, Lcom/bumptech/glide/c$b;
move-object/from16 v15, p12
invoke-virtual {v15, v0}, Lcom/bumptech/glide/e;->a(Ljava/lang/Class;)Z
move-result v0
if-eqz v0, :cond_82
const/16 v0, 0x1c
if-lt v10, v0, :cond_82
new-instance v0, Lcom/bumptech/glide/load/p/d/t;
invoke-direct {v0}, Lcom/bumptech/glide/load/p/d/t;-><init>()V
new-instance v16, Lcom/bumptech/glide/load/p/d/h;
invoke-direct/range {v16 .. v16}, Lcom/bumptech/glide/load/p/d/h;-><init>()V
move-object/from16 v15, v16
goto :goto_90
:cond_82
new-instance v0, Lcom/bumptech/glide/load/p/d/g;
invoke-direct {v0, v14}, Lcom/bumptech/glide/load/p/d/g;-><init>(Lcom/bumptech/glide/load/p/d/m;)V
move-object/from16 p3, v0
new-instance v0, Lcom/bumptech/glide/load/p/d/y;
invoke-direct {v0, v14, v3}, Lcom/bumptech/glide/load/p/d/y;-><init>(Lcom/bumptech/glide/load/p/d/m;Lcom/bumptech/glide/load/n/a0/b;)V
move-object/from16 v15, p3
:goto_90
move-object/from16 v16, v7
new-instance v7, Lcom/bumptech/glide/load/p/f/d;
invoke-direct {v7, v2}, Lcom/bumptech/glide/load/p/f/d;-><init>(Landroid/content/Context;)V
move/from16 p3, v10
new-instance v10, Lcom/bumptech/glide/load/o/s$c;
invoke-direct {v10, v8}, Lcom/bumptech/glide/load/o/s$c;-><init>(Landroid/content/res/Resources;)V
new-instance v2, Lcom/bumptech/glide/load/o/s$d;
invoke-direct {v2, v8}, Lcom/bumptech/glide/load/o/s$d;-><init>(Landroid/content/res/Resources;)V
move-object/from16 v17, v5
new-instance v5, Lcom/bumptech/glide/load/o/s$b;
invoke-direct {v5, v8}, Lcom/bumptech/glide/load/o/s$b;-><init>(Landroid/content/res/Resources;)V
move-object/from16 p6, v2
new-instance v2, Lcom/bumptech/glide/load/o/s$a;
invoke-direct {v2, v8}, Lcom/bumptech/glide/load/o/s$a;-><init>(Landroid/content/res/Resources;)V
move-object/from16 p7, v2
new-instance v2, Lcom/bumptech/glide/load/p/d/c;
invoke-direct {v2, v3}, Lcom/bumptech/glide/load/p/d/c;-><init>(Lcom/bumptech/glide/load/n/a0/b;)V
move-object/from16 v18, v6
new-instance v6, Lcom/bumptech/glide/load/p/i/a;
invoke-direct {v6}, Lcom/bumptech/glide/load/p/i/a;-><init>()V
move-object/from16 v19, v6
new-instance v6, Lcom/bumptech/glide/load/p/i/d;
invoke-direct {v6}, Lcom/bumptech/glide/load/p/i/d;-><init>()V
move-object/from16 v20, v6
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v6
move-object/from16 v21, v6
const-class v6, Ljava/nio/ByteBuffer;
move-object/from16 v22, v5
new-instance v5, Lcom/bumptech/glide/load/o/c;
invoke-direct {v5}, Lcom/bumptech/glide/load/o/c;-><init>()V
invoke-virtual {v9, v6, v5}, Lcom/bumptech/glide/i;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/d;)Lcom/bumptech/glide/i;
const-class v5, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/t;
invoke-direct {v6, v3}, Lcom/bumptech/glide/load/o/t;-><init>(Lcom/bumptech/glide/load/n/a0/b;)V
invoke-virtual {v9, v5, v6}, Lcom/bumptech/glide/i;->a(Ljava/lang/Class;Lcom/bumptech/glide/load/d;)Lcom/bumptech/glide/i;
const-class v5, Ljava/nio/ByteBuffer;
const-class v6, Landroid/graphics/Bitmap;
move-object/from16 v23, v10
const-string v10, "Bitmap"
invoke-virtual {v9, v10, v5, v6, v15}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v5, Ljava/io/InputStream;
const-class v6, Landroid/graphics/Bitmap;
invoke-virtual {v9, v10, v5, v6, v0}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
invoke-static {}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder;->c()Z
move-result v5
if-eqz v5, :cond_10b
const-class v5, Landroid/os/ParcelFileDescriptor;
const-class v6, Landroid/graphics/Bitmap;
move-object/from16 v24, v7
new-instance v7, Lcom/bumptech/glide/load/p/d/v;
invoke-direct {v7, v14}, Lcom/bumptech/glide/load/p/d/v;-><init>(Lcom/bumptech/glide/load/p/d/m;)V
invoke-virtual {v9, v10, v5, v6, v7}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
goto :goto_10d
:cond_10b
move-object/from16 v24, v7
:goto_10d
const-class v5, Landroid/os/ParcelFileDescriptor;
const-class v6, Landroid/graphics/Bitmap;
invoke-virtual {v9, v10, v5, v6, v13}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v5, Landroid/content/res/AssetFileDescriptor;
const-class v6, Landroid/graphics/Bitmap;
invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/p/d/b0;->c(Lcom/bumptech/glide/load/n/a0/e;)Lcom/bumptech/glide/load/k;
move-result-object v7
invoke-virtual {v9, v10, v5, v6, v7}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v5, Landroid/graphics/Bitmap;
const-class v6, Landroid/graphics/Bitmap;
invoke-static {}, Lcom/bumptech/glide/load/o/v$a;->a()Lcom/bumptech/glide/load/o/v$a;
move-result-object v7
invoke-virtual {v9, v5, v6, v7}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v5, Landroid/graphics/Bitmap;
const-class v6, Landroid/graphics/Bitmap;
new-instance v7, Lcom/bumptech/glide/load/p/d/a0;
invoke-direct {v7}, Lcom/bumptech/glide/load/p/d/a0;-><init>()V
invoke-virtual {v9, v10, v5, v6, v7}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v5, Landroid/graphics/Bitmap;
invoke-virtual {v9, v5, v2}, Lcom/bumptech/glide/i;->b(Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/i;
const-class v5, Ljava/nio/ByteBuffer;
const-class v6, Landroid/graphics/drawable/BitmapDrawable;
new-instance v7, Lcom/bumptech/glide/load/p/d/a;
invoke-direct {v7, v8, v15}, Lcom/bumptech/glide/load/p/d/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/k;)V
const-string v14, "BitmapDrawable"
invoke-virtual {v9, v14, v5, v6, v7}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v5, Ljava/io/InputStream;
const-class v6, Landroid/graphics/drawable/BitmapDrawable;
new-instance v7, Lcom/bumptech/glide/load/p/d/a;
invoke-direct {v7, v8, v0}, Lcom/bumptech/glide/load/p/d/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/k;)V
invoke-virtual {v9, v14, v5, v6, v7}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Landroid/os/ParcelFileDescriptor;
const-class v5, Landroid/graphics/drawable/BitmapDrawable;
new-instance v6, Lcom/bumptech/glide/load/p/d/a;
invoke-direct {v6, v8, v13}, Lcom/bumptech/glide/load/p/d/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/k;)V
invoke-virtual {v9, v14, v0, v5, v6}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/drawable/BitmapDrawable;
new-instance v5, Lcom/bumptech/glide/load/p/d/b;
invoke-direct {v5, v1, v2}, Lcom/bumptech/glide/load/p/d/b;-><init>(Lcom/bumptech/glide/load/n/a0/e;Lcom/bumptech/glide/load/l;)V
invoke-virtual {v9, v0, v5}, Lcom/bumptech/glide/i;->b(Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/InputStream;
const-class v2, Lcom/bumptech/glide/load/p/h/c;
new-instance v5, Lcom/bumptech/glide/load/p/h/j;
invoke-direct {v5, v11, v12, v3}, Lcom/bumptech/glide/load/p/h/j;-><init>(Ljava/util/List;Lcom/bumptech/glide/load/k;Lcom/bumptech/glide/load/n/a0/b;)V
const-string v6, "Gif"
invoke-virtual {v9, v6, v0, v2, v5}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Ljava/nio/ByteBuffer;
const-class v2, Lcom/bumptech/glide/load/p/h/c;
invoke-virtual {v9, v6, v0, v2, v12}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Lcom/bumptech/glide/load/p/h/c;
new-instance v2, Lcom/bumptech/glide/load/p/h/d;
invoke-direct {v2}, Lcom/bumptech/glide/load/p/h/d;-><init>()V
invoke-virtual {v9, v0, v2}, Lcom/bumptech/glide/i;->b(Ljava/lang/Class;Lcom/bumptech/glide/load/l;)Lcom/bumptech/glide/i;
invoke-static {}, Lcom/bumptech/glide/load/o/v$a;->a()Lcom/bumptech/glide/load/o/v$a;
move-result-object v0
invoke-virtual {v9, v4, v4, v0}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/Bitmap;
new-instance v2, Lcom/bumptech/glide/load/p/h/h;
invoke-direct {v2, v1}, Lcom/bumptech/glide/load/p/h/h;-><init>(Lcom/bumptech/glide/load/n/a0/e;)V
invoke-virtual {v9, v10, v4, v0, v2}, Lcom/bumptech/glide/i;->e(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Landroid/graphics/drawable/Drawable;
move-object/from16 v4, v24
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Landroid/graphics/Bitmap;
new-instance v5, Lcom/bumptech/glide/load/p/d/x;
invoke-direct {v5, v4, v1}, Lcom/bumptech/glide/load/p/d/x;-><init>(Lcom/bumptech/glide/load/p/f/d;Lcom/bumptech/glide/load/n/a0/e;)V
invoke-virtual {v9, v0, v2, v5}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
new-instance v0, Lcom/bumptech/glide/load/p/e/a$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/p/e/a$a;-><init>()V
invoke-virtual {v9, v0}, Lcom/bumptech/glide/i;->p(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/File;
const-class v2, Ljava/nio/ByteBuffer;
new-instance v4, Lcom/bumptech/glide/load/o/d$b;
invoke-direct {v4}, Lcom/bumptech/glide/load/o/d$b;-><init>()V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/File;
const-class v2, Ljava/io/InputStream;
new-instance v4, Lcom/bumptech/glide/load/o/f$e;
invoke-direct {v4}, Lcom/bumptech/glide/load/o/f$e;-><init>()V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/File;
const-class v2, Ljava/io/File;
new-instance v4, Lcom/bumptech/glide/load/p/g/a;
invoke-direct {v4}, Lcom/bumptech/glide/load/p/g/a;-><init>()V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/File;
const-class v2, Landroid/os/ParcelFileDescriptor;
new-instance v4, Lcom/bumptech/glide/load/o/f$b;
invoke-direct {v4}, Lcom/bumptech/glide/load/o/f$b;-><init>()V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/File;
const-class v2, Ljava/io/File;
invoke-static {}, Lcom/bumptech/glide/load/o/v$a;->a()Lcom/bumptech/glide/load/o/v$a;
move-result-object v4
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
new-instance v0, Lcom/bumptech/glide/load/data/k$a;
invoke-direct {v0, v3}, Lcom/bumptech/glide/load/data/k$a;-><init>(Lcom/bumptech/glide/load/n/a0/b;)V
invoke-virtual {v9, v0}, Lcom/bumptech/glide/i;->p(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/i;
invoke-static {}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder;->c()Z
move-result v0
if-eqz v0, :cond_209
new-instance v0, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/data/ParcelFileDescriptorRewinder$a;-><init>()V
invoke-virtual {v9, v0}, Lcom/bumptech/glide/i;->p(Lcom/bumptech/glide/load/data/e$a;)Lcom/bumptech/glide/i;
:cond_209
sget-object v0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const-class v2, Ljava/io/InputStream;
move-object/from16 v4, v23
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/os/ParcelFileDescriptor;
move-object/from16 v5, v22
invoke-virtual {v9, v0, v2, v5}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Ljava/io/InputStream;
move-object/from16 v6, v18
invoke-virtual {v9, v6, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/os/ParcelFileDescriptor;
invoke-virtual {v9, v6, v2, v5}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/net/Uri;
move-object/from16 v4, p6
invoke-virtual {v9, v6, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/content/res/AssetFileDescriptor;
move-object/from16 v5, p7
invoke-virtual {v9, v0, v2, v5}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/content/res/AssetFileDescriptor;
invoke-virtual {v9, v6, v2, v5}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v2, Landroid/net/Uri;
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/InputStream;
new-instance v2, Lcom/bumptech/glide/load/o/e$c;
invoke-direct {v2}, Lcom/bumptech/glide/load/o/e$c;-><init>()V
move-object/from16 v4, v17
invoke-virtual {v9, v4, v0, v2}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Ljava/io/InputStream;
new-instance v5, Lcom/bumptech/glide/load/o/e$c;
invoke-direct {v5}, Lcom/bumptech/glide/load/o/e$c;-><init>()V
invoke-virtual {v9, v0, v2, v5}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/InputStream;
new-instance v2, Lcom/bumptech/glide/load/o/u$c;
invoke-direct {v2}, Lcom/bumptech/glide/load/o/u$c;-><init>()V
invoke-virtual {v9, v4, v0, v2}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/os/ParcelFileDescriptor;
new-instance v2, Lcom/bumptech/glide/load/o/u$b;
invoke-direct {v2}, Lcom/bumptech/glide/load/o/u$b;-><init>()V
invoke-virtual {v9, v4, v0, v2}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/content/res/AssetFileDescriptor;
new-instance v2, Lcom/bumptech/glide/load/o/u$a;
invoke-direct {v2}, Lcom/bumptech/glide/load/o/u$a;-><init>()V
invoke-virtual {v9, v4, v0, v2}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Ljava/io/InputStream;
new-instance v4, Lcom/bumptech/glide/load/o/a$c;
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v5
invoke-direct {v4, v5}, Lcom/bumptech/glide/load/o/a$c;-><init>(Landroid/content/res/AssetManager;)V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Landroid/os/ParcelFileDescriptor;
new-instance v4, Lcom/bumptech/glide/load/o/a$b;
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v5
invoke-direct {v4, v5}, Lcom/bumptech/glide/load/o/a$b;-><init>(Landroid/content/res/AssetManager;)V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Ljava/io/InputStream;
new-instance v4, Lcom/bumptech/glide/load/o/y/b$a;
move-object/from16 v5, p1
invoke-direct {v4, v5}, Lcom/bumptech/glide/load/o/y/b$a;-><init>(Landroid/content/Context;)V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v2, Ljava/io/InputStream;
new-instance v4, Lcom/bumptech/glide/load/o/y/c$a;
invoke-direct {v4, v5}, Lcom/bumptech/glide/load/o/y/c$a;-><init>(Landroid/content/Context;)V
invoke-virtual {v9, v0, v2, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const/16 v0, 0x1d
move/from16 v2, p3
if-lt v2, v0, :cond_2cb
const-class v0, Landroid/net/Uri;
const-class v4, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/y/d$c;
invoke-direct {v6, v5}, Lcom/bumptech/glide/load/o/y/d$c;-><init>(Landroid/content/Context;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Landroid/os/ParcelFileDescriptor;
new-instance v6, Lcom/bumptech/glide/load/o/y/d$b;
invoke-direct {v6, v5}, Lcom/bumptech/glide/load/o/y/d$b;-><init>(Landroid/content/Context;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
:cond_2cb
const-class v0, Landroid/net/Uri;
const-class v4, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/w$d;
move-object/from16 v7, v21
invoke-direct {v6, v7}, Lcom/bumptech/glide/load/o/w$d;-><init>(Landroid/content/ContentResolver;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Landroid/os/ParcelFileDescriptor;
new-instance v6, Lcom/bumptech/glide/load/o/w$b;
invoke-direct {v6, v7}, Lcom/bumptech/glide/load/o/w$b;-><init>(Landroid/content/ContentResolver;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Landroid/content/res/AssetFileDescriptor;
new-instance v6, Lcom/bumptech/glide/load/o/w$a;
invoke-direct {v6, v7}, Lcom/bumptech/glide/load/o/w$a;-><init>(Landroid/content/ContentResolver;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/x$a;
invoke-direct {v6}, Lcom/bumptech/glide/load/o/x$a;-><init>()V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/net/URL;
const-class v4, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/y/e$a;
invoke-direct {v6}, Lcom/bumptech/glide/load/o/y/e$a;-><init>()V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Ljava/io/File;
new-instance v6, Lcom/bumptech/glide/load/o/k$a;
invoke-direct {v6, v5}, Lcom/bumptech/glide/load/o/k$a;-><init>(Landroid/content/Context;)V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Lcom/bumptech/glide/load/o/g;
const-class v4, Ljava/io/InputStream;
new-instance v6, Lcom/bumptech/glide/load/o/y/a$a;
invoke-direct {v6}, Lcom/bumptech/glide/load/o/y/a$a;-><init>()V
invoke-virtual {v9, v0, v4, v6}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/nio/ByteBuffer;
new-instance v4, Lcom/bumptech/glide/load/o/b$a;
invoke-direct {v4}, Lcom/bumptech/glide/load/o/b$a;-><init>()V
move-object/from16 v6, v16
invoke-virtual {v9, v6, v0, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Ljava/io/InputStream;
new-instance v4, Lcom/bumptech/glide/load/o/b$d;
invoke-direct {v4}, Lcom/bumptech/glide/load/o/b$d;-><init>()V
invoke-virtual {v9, v6, v0, v4}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/net/Uri;
const-class v4, Landroid/net/Uri;
invoke-static {}, Lcom/bumptech/glide/load/o/v$a;->a()Lcom/bumptech/glide/load/o/v$a;
move-result-object v7
invoke-virtual {v9, v0, v4, v7}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/drawable/Drawable;
const-class v4, Landroid/graphics/drawable/Drawable;
invoke-static {}, Lcom/bumptech/glide/load/o/v$a;->a()Lcom/bumptech/glide/load/o/v$a;
move-result-object v7
invoke-virtual {v9, v0, v4, v7}, Lcom/bumptech/glide/i;->d(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/o/o;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/drawable/Drawable;
const-class v4, Landroid/graphics/drawable/Drawable;
new-instance v7, Lcom/bumptech/glide/load/p/f/e;
invoke-direct {v7}, Lcom/bumptech/glide/load/p/f/e;-><init>()V
invoke-virtual {v9, v0, v4, v7}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/Bitmap;
const-class v4, Landroid/graphics/drawable/BitmapDrawable;
new-instance v7, Lcom/bumptech/glide/load/p/i/b;
invoke-direct {v7, v8}, Lcom/bumptech/glide/load/p/i/b;-><init>(Landroid/content/res/Resources;)V
invoke-virtual {v9, v0, v4, v7}, Lcom/bumptech/glide/i;->q(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/p/i/e;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/Bitmap;
move-object/from16 v4, v19
invoke-virtual {v9, v0, v6, v4}, Lcom/bumptech/glide/i;->q(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/p/i/e;)Lcom/bumptech/glide/i;
const-class v0, Landroid/graphics/drawable/Drawable;
new-instance v7, Lcom/bumptech/glide/load/p/i/c;
move-object/from16 v10, v20
invoke-direct {v7, v1, v4, v10}, Lcom/bumptech/glide/load/p/i/c;-><init>(Lcom/bumptech/glide/load/n/a0/e;Lcom/bumptech/glide/load/p/i/e;Lcom/bumptech/glide/load/p/i/e;)V
invoke-virtual {v9, v0, v6, v7}, Lcom/bumptech/glide/i;->q(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/p/i/e;)Lcom/bumptech/glide/i;
const-class v0, Lcom/bumptech/glide/load/p/h/c;
invoke-virtual {v9, v0, v6, v10}, Lcom/bumptech/glide/i;->q(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/p/i/e;)Lcom/bumptech/glide/i;
const/16 v0, 0x17
if-lt v2, v0, :cond_398
invoke-static/range {p4 .. p4}, Lcom/bumptech/glide/load/p/d/b0;->d(Lcom/bumptech/glide/load/n/a0/e;)Lcom/bumptech/glide/load/k;
move-result-object v0
const-class v1, Ljava/nio/ByteBuffer;
const-class v2, Landroid/graphics/Bitmap;
invoke-virtual {v9, v1, v2, v0}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
const-class v1, Ljava/nio/ByteBuffer;
const-class v2, Landroid/graphics/drawable/BitmapDrawable;
new-instance v4, Lcom/bumptech/glide/load/p/d/a;
invoke-direct {v4, v8, v0}, Lcom/bumptech/glide/load/p/d/a;-><init>(Landroid/content/res/Resources;Lcom/bumptech/glide/load/k;)V
invoke-virtual {v9, v1, v2, v4}, Lcom/bumptech/glide/i;->c(Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/k;)Lcom/bumptech/glide/i;
:cond_398
new-instance v0, Lcom/bumptech/glide/r/j/f;
invoke-direct {v0}, Lcom/bumptech/glide/r/j/f;-><init>()V
new-instance v12, Lcom/bumptech/glide/d;
move-object v1, v12
move-object/from16 v2, p1
move-object/from16 v3, p5
move-object v4, v9
move-object v5, v0
move-object/from16 v6, p9
move-object/from16 v7, p10
move-object/from16 v8, p11
move-object/from16 v9, p2
move-object/from16 v10, p12
move/from16 v11, p8
invoke-direct/range {v1 .. v11}, Lcom/bumptech/glide/d;-><init>(Landroid/content/Context;Lcom/bumptech/glide/load/n/a0/b;Lcom/bumptech/glide/i;Lcom/bumptech/glide/r/j/f;Lcom/bumptech/glide/b$a;Ljava/util/Map;Ljava/util/List;Lcom/bumptech/glide/load/n/k;Lcom/bumptech/glide/e;I)V
move-object/from16 v0, p0
iput-object v12, v0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/d;
return-void
.end method
.method private static a(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
.registers 3
sget-boolean v0, Lcom/bumptech/glide/b;->n:Z
if-nez v0, :cond_e
const/4 v0, 0x1
sput-boolean v0, Lcom/bumptech/glide/b;->n:Z
invoke-static {p0, p1}, Lcom/bumptech/glide/b;->m(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
const/4 p0, 0x0
sput-boolean p0, Lcom/bumptech/glide/b;->n:Z
return-void
:cond_e
new-instance p0, Ljava/lang/IllegalStateException;
const-string p1, "You cannot call Glide.get() in registerComponents(), use the provided Glide instance instead"
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static c(Landroid/content/Context;)Lcom/bumptech/glide/b;
.registers 4
sget-object v0, Lcom/bumptech/glide/b;->m:Lcom/bumptech/glide/b;
if-nez v0, :cond_1b
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/b;->d(Landroid/content/Context;)Lcom/bumptech/glide/GeneratedAppGlideModule;
move-result-object v0
const-class v1, Lcom/bumptech/glide/b;
monitor-enter v1
:try_start_f
sget-object v2, Lcom/bumptech/glide/b;->m:Lcom/bumptech/glide/b;
if-nez v2, :cond_16
invoke-static {p0, v0}, Lcom/bumptech/glide/b;->a(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
:cond_16
monitor-exit v1
goto :goto_1b
:catchall_18
move-exception p0
monitor-exit v1
:try_end_1a
.catchall {:try_start_f .. :try_end_1a} :catchall_18
throw p0
:cond_1b
:goto_1b
sget-object p0, Lcom/bumptech/glide/b;->m:Lcom/bumptech/glide/b;
return-object p0
.end method
.method private static d(Landroid/content/Context;)Lcom/bumptech/glide/GeneratedAppGlideModule;
.registers 7
const/4 v0, 0x0
:try_start_1
const-string v1, "com.bumptech.glide.GeneratedAppGlideModuleImpl"
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
const/4 v2, 0x1
new-array v3, v2, [Ljava/lang/Class;
const-class v4, Landroid/content/Context;
const/4 v5, 0x0
aput-object v4, v3, v5
invoke-virtual {v1, v3}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v1
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
aput-object p0, v2, v5
invoke-virtual {v1, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/bumptech/glide/GeneratedAppGlideModule;
:try_end_21
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_21} :catch_37
.catch Ljava/lang/InstantiationException; {:try_start_1 .. :try_end_21} :catch_32
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_21} :catch_2d
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_21} :catch_28
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_21} :catch_23
move-object v0, p0
goto :goto_46
:catch_23
move-exception p0
invoke-static {p0}, Lcom/bumptech/glide/b;->q(Ljava/lang/Exception;)V
throw v0
:catch_28
move-exception p0
invoke-static {p0}, Lcom/bumptech/glide/b;->q(Ljava/lang/Exception;)V
throw v0
:catch_2d
move-exception p0
invoke-static {p0}, Lcom/bumptech/glide/b;->q(Ljava/lang/Exception;)V
throw v0
:catch_32
move-exception p0
invoke-static {p0}, Lcom/bumptech/glide/b;->q(Ljava/lang/Exception;)V
throw v0
:catch_37
nop
const/4 p0, 0x5
const-string v1, "Glide"
invoke-static {v1, p0}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p0
if-eqz p0, :cond_46
const-string p0, "Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored"
invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:cond_46
:goto_46
return-object v0
.end method
.method private static l(Landroid/content/Context;)Lcom/bumptech/glide/o/p;
.registers 2
const-string v0, "You cannot start a load on a not yet attached View or a Fragment where getActivity() returns null (which usually occurs when getActivity() is called before the Fragment is attached or after the Fragment is destroyed)."
invoke-static {p0, v0}, Lcom/bumptech/glide/t/j;->e(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invoke-static {p0}, Lcom/bumptech/glide/b;->c(Landroid/content/Context;)Lcom/bumptech/glide/b;
move-result-object p0
invoke-virtual {p0}, Lcom/bumptech/glide/b;->k()Lcom/bumptech/glide/o/p;
move-result-object p0
return-object p0
.end method
.method private static m(Landroid/content/Context;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
.registers 3
new-instance v0, Lcom/bumptech/glide/c;
invoke-direct {v0}, Lcom/bumptech/glide/c;-><init>()V
invoke-static {p0, v0, p1}, Lcom/bumptech/glide/b;->n(Landroid/content/Context;Lcom/bumptech/glide/c;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
return-void
.end method
.method private static n(Landroid/content/Context;Lcom/bumptech/glide/c;Lcom/bumptech/glide/GeneratedAppGlideModule;)V
.registers 11
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v0
if-eqz p2, :cond_10
invoke-virtual {p2}, Lcom/bumptech/glide/p/a;->c()Z
move-result v1
if-eqz v1, :cond_19
:cond_10
new-instance v0, Lcom/bumptech/glide/p/d;
invoke-direct {v0, p0}, Lcom/bumptech/glide/p/d;-><init>(Landroid/content/Context;)V
invoke-virtual {v0}, Lcom/bumptech/glide/p/d;->a()Ljava/util/List;
move-result-object v0
:cond_19
const/4 v1, 0x3
const-string v2, "Glide"
if-eqz p2, :cond_65
invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->d()Ljava/util/Set;
move-result-object v3
invoke-interface {v3}, Ljava/util/Set;->isEmpty()Z
move-result v3
if-nez v3, :cond_65
invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->d()Ljava/util/Set;
move-result-object v3
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v4
:goto_30
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_65
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/bumptech/glide/p/b;
invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v6
invoke-interface {v3, v6}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_47
goto :goto_30
:cond_47
invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result v6
if-eqz v6, :cond_61
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
const-string v7, "AppGlideModule excludes manifest GlideModule: "
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-static {v2, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_61
invoke-interface {v4}, Ljava/util/Iterator;->remove()V
goto :goto_30
:cond_65
invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result v1
if-eqz v1, :cond_94
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_6f
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_94
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/bumptech/glide/p/b;
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
const-string v5, "Discovered GlideModule from manifest: "
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_6f
:cond_94
if-eqz p2, :cond_9b
invoke-virtual {p2}, Lcom/bumptech/glide/GeneratedAppGlideModule;->e()Lcom/bumptech/glide/o/p$b;
move-result-object v1
goto :goto_9c
:cond_9b
const/4 v1, 0x0
:goto_9c
invoke-virtual {p1, v1}, Lcom/bumptech/glide/c;->b(Lcom/bumptech/glide/o/p$b;)V
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_a3
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_b3
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/p/b;
invoke-interface {v2, p0, p1}, Lcom/bumptech/glide/p/b;->a(Landroid/content/Context;Lcom/bumptech/glide/c;)V
goto :goto_a3
:cond_b3
if-eqz p2, :cond_b8
invoke-virtual {p2, p0, p1}, Lcom/bumptech/glide/p/a;->b(Landroid/content/Context;Lcom/bumptech/glide/c;)V
:cond_b8
invoke-virtual {p1, p0}, Lcom/bumptech/glide/c;->a(Landroid/content/Context;)Lcom/bumptech/glide/b;
move-result-object p1
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_c0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_f2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/bumptech/glide/p/b;
:try_start_cc
iget-object v2, p1, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/i;
invoke-interface {v1, p0, p1, v2}, Lcom/bumptech/glide/p/b;->b(Landroid/content/Context;Lcom/bumptech/glide/b;Lcom/bumptech/glide/i;)V
:try_end_d1
.catch Ljava/lang/AbstractMethodError; {:try_start_cc .. :try_end_d1} :catch_d2
goto :goto_c0
:catch_d2
move-exception p0
new-instance p1, Ljava/lang/IllegalStateException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "Attempting to register a Glide v3 module. If you see this, you or one of your dependencies may be including Glide v3 even though you\'re using Glide v4. You\'ll need to find and remove (or update) the offending dependency. The v3 module name is: "
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p2, v0}, 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, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p1
:cond_f2
if-eqz p2, :cond_f9
iget-object v0, p1, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/i;
invoke-virtual {p2, p0, p1, v0}, Lcom/bumptech/glide/p/c;->a(Landroid/content/Context;Lcom/bumptech/glide/b;Lcom/bumptech/glide/i;)V
:cond_f9
invoke-virtual {p0, p1}, Landroid/content/Context;->registerComponentCallbacks(Landroid/content/ComponentCallbacks;)V
sput-object p1, Lcom/bumptech/glide/b;->m:Lcom/bumptech/glide/b;
return-void
.end method
.method private static q(Ljava/lang/Exception;)V
.registers 3
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "GeneratedAppGlideModuleImpl is implemented incorrectly. If you\'ve manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation."
invoke-direct {v0, v1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.end method
.method public static t(Landroid/content/Context;)Lcom/bumptech/glide/k;
.registers 2
invoke-static {p0}, Lcom/bumptech/glide/b;->l(Landroid/content/Context;)Lcom/bumptech/glide/o/p;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/o/p;->f(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public b()V
.registers 2
invoke-static {}, Lcom/bumptech/glide/t/k;->a()V
iget-object v0, p0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/load/n/b0/h;
invoke-interface {v0}, Lcom/bumptech/glide/load/n/b0/h;->b()V
iget-object v0, p0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/n/a0/e;
invoke-interface {v0}, Lcom/bumptech/glide/load/n/a0/e;->b()V
iget-object v0, p0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/load/n/a0/b;
invoke-interface {v0}, Lcom/bumptech/glide/load/n/a0/b;->b()V
return-void
.end method
.method public e()Lcom/bumptech/glide/load/n/a0/b;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/load/n/a0/b;
return-object v0
.end method
.method public f()Lcom/bumptech/glide/load/n/a0/e;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/n/a0/e;
return-object v0
.end method
.method g()Lcom/bumptech/glide/o/d;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->k:Lcom/bumptech/glide/o/d;
return-object v0
.end method
.method public h()Landroid/content/Context;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/d;
invoke-virtual {v0}, Landroid/content/ContextWrapper;->getBaseContext()Landroid/content/Context;
move-result-object v0
return-object v0
.end method
.method i()Lcom/bumptech/glide/d;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->g:Lcom/bumptech/glide/d;
return-object v0
.end method
.method public j()Lcom/bumptech/glide/i;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->h:Lcom/bumptech/glide/i;
return-object v0
.end method
.method public k()Lcom/bumptech/glide/o/p;
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/b;->j:Lcom/bumptech/glide/o/p;
return-object v0
.end method
.method o(Lcom/bumptech/glide/k;)V
.registers 4
iget-object v0, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
monitor-enter v0
:try_start_3
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_12
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
monitor-exit v0
return-void
:cond_12
new-instance p1, Ljava/lang/IllegalStateException;
const-string v1, "Cannot register already registered manager"
invoke-direct {p1, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:catchall_1a
move-exception p1
monitor-exit v0
:try_end_1c
.catchall {:try_start_3 .. :try_end_1c} :catchall_1a
throw p1
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.registers 2
return-void
.end method
.method public onLowMemory()V
.registers 1
invoke-virtual {p0}, Lcom/bumptech/glide/b;->b()V
return-void
.end method
.method public onTrimMemory(I)V
.registers 2
invoke-virtual {p0, p1}, Lcom/bumptech/glide/b;->r(I)V
return-void
.end method
.method p(Lcom/bumptech/glide/r/j/h;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/r/j/h<",
"*>;)Z"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
monitor-enter v0
:try_start_3
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_9
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1e
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/k;
invoke-virtual {v2, p1}, Lcom/bumptech/glide/k;->w(Lcom/bumptech/glide/r/j/h;)Z
move-result v2
if-eqz v2, :cond_9
const/4 p1, 0x1
monitor-exit v0
return p1
:cond_1e
monitor-exit v0
const/4 p1, 0x0
return p1
:catchall_21
move-exception p1
monitor-exit v0
:try_end_23
.catchall {:try_start_3 .. :try_end_23} :catchall_21
goto :goto_25
:goto_24
throw p1
:goto_25
goto :goto_24
.end method
.method public r(I)V
.registers 5
invoke-static {}, Lcom/bumptech/glide/t/k;->a()V
iget-object v0, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
monitor-enter v0
:try_start_6
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_c
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1c
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/bumptech/glide/k;
invoke-virtual {v2, p1}, Lcom/bumptech/glide/k;->onTrimMemory(I)V
goto :goto_c
:cond_1c
monitor-exit v0
:try_end_1d
.catchall {:try_start_6 .. :try_end_1d} :catchall_2d
iget-object v0, p0, Lcom/bumptech/glide/b;->f:Lcom/bumptech/glide/load/n/b0/h;
invoke-interface {v0, p1}, Lcom/bumptech/glide/load/n/b0/h;->a(I)V
iget-object v0, p0, Lcom/bumptech/glide/b;->e:Lcom/bumptech/glide/load/n/a0/e;
invoke-interface {v0, p1}, Lcom/bumptech/glide/load/n/a0/e;->a(I)V
iget-object v0, p0, Lcom/bumptech/glide/b;->i:Lcom/bumptech/glide/load/n/a0/b;
invoke-interface {v0, p1}, Lcom/bumptech/glide/load/n/a0/b;->a(I)V
return-void
:catchall_2d
move-exception p1
:try_start_2e
monitor-exit v0
:try_end_2f
.catchall {:try_start_2e .. :try_end_2f} :catchall_2d
goto :goto_31
:goto_30
throw p1
:goto_31
goto :goto_30
.end method
.method s(Lcom/bumptech/glide/k;)V
.registers 4
iget-object v0, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
monitor-enter v0
:try_start_3
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_12
iget-object v1, p0, Lcom/bumptech/glide/b;->l:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
monitor-exit v0
return-void
:cond_12
new-instance p1, Ljava/lang/IllegalStateException;
const-string v1, "Cannot unregister not yet registered manager"
invoke-direct {p1, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:catchall_1a
move-exception p1
monitor-exit v0
:try_end_1c
.catchall {:try_start_3 .. :try_end_1c} :catchall_1a
throw p1
.end method