ImageLoader.smali
.class public Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;
}
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static isFinishingActivity(Landroid/content/Context;)Z
.registers 2
instance-of v0, p0, Landroid/app/Activity;
if-eqz v0, :cond_e
check-cast p0, Landroid/app/Activity;
invoke-virtual {p0}, Landroid/app/Activity;->isFinishing()Z
move-result v0
if-eqz v0, :cond_e
const/4 v0, 0x1
:goto_d
return v0
:cond_e
const/4 v0, 0x0
goto :goto_d
.end method
.method public static loadBitmapImage(Ljava/lang/String;Landroid/widget/ImageView;)V
.registers 4
if-nez p1, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->h()Lcom/bumptech/glide/b;
move-result-object v0
new-instance v1, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$1;
invoke-direct {v1, p1}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$1;-><init>(Landroid/widget/ImageView;)V
invoke-virtual {v0, v1}, Lcom/bumptech/glide/b;->a(Lcom/bumptech/glide/request/b/j;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadBlueRoundImage(IIIIIILandroid/widget/ImageView;)V
.registers 15
.param p0 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p5 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
const/4 v7, 0x1
if-nez p6, :cond_4
:cond_3
:goto_3
return-void
:cond_4
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
int-to-float v1, p2
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v2, p3
invoke-static {v2}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/d;->a(II)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x4
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
new-instance v2, Ljp/wasabeef/glide/transformations/c;
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
invoke-direct {v2, v3, p5}, Ljp/wasabeef/glide/transformations/c;-><init>(Landroid/content/Context;I)V
aput-object v2, v1, v7
const/4 v2, 0x2
new-instance v3, Ljp/wasabeef/glide/transformations/a;
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
const/16 v5, 0x14
invoke-direct {v3, v4, v5}, Ljp/wasabeef/glide/transformations/a;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
const/4 v2, 0x3
new-instance v3, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p6}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
int-to-float v5, p4
invoke-static {v5}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v5
sget-object v6, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v3, v4, v5, v7, v6}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p6}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_3
.end method
.method public static loadBlueRoundImage(IIIIILandroid/widget/ImageView;)V
.registers 12
.param p0 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p4 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
if-nez p5, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/d;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
int-to-float v1, p2
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v2, p3
invoke-static {v2}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/c;->a(II)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x3
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
const/4 v2, 0x1
new-instance v3, Ljp/wasabeef/glide/transformations/c;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4, p4}, Ljp/wasabeef/glide/transformations/c;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
const/4 v2, 0x2
new-instance v3, Ljp/wasabeef/glide/transformations/a;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
const/16 v5, 0x14
invoke-direct {v3, v4, v5}, Ljp/wasabeef/glide/transformations/a;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p5}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadBlueRoundImage(IIIILandroid/widget/ImageView;)V
.registers 11
.param p0 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p3 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
if-nez p4, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
int-to-float v1, p1
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v2, p2
invoke-static {v2}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/d;->a(II)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x3
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
const/4 v2, 0x1
new-instance v3, Ljp/wasabeef/glide/transformations/c;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4, p3}, Ljp/wasabeef/glide/transformations/c;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
const/4 v2, 0x2
new-instance v3, Ljp/wasabeef/glide/transformations/a;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
const/16 v5, 0x14
invoke-direct {v3, v4, v5}, Ljp/wasabeef/glide/transformations/a;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p4}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadBlueRoundImage(Ljava/lang/String;IIIILandroid/widget/ImageView;Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
.registers 15
const/4 v7, 0x1
if-nez p5, :cond_4
:cond_3
:goto_3
return-void
:cond_4
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
int-to-float v1, p1
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v2, p2
invoke-static {v2}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/d;->a(II)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x4
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
new-instance v2, Ljp/wasabeef/glide/transformations/c;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
invoke-direct {v2, v3, p4}, Ljp/wasabeef/glide/transformations/c;-><init>(Landroid/content/Context;I)V
aput-object v2, v1, v7
const/4 v2, 0x2
new-instance v3, Ljp/wasabeef/glide/transformations/a;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
const/16 v5, 0x14
invoke-direct {v3, v4, v5}, Ljp/wasabeef/glide/transformations/a;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
const/4 v2, 0x3
new-instance v3, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
int-to-float v5, p3
invoke-static {v5}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v5
sget-object v6, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v3, v4, v5, v7, v6}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
new-instance v1, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$5;
invoke-direct {v1, p6}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$5;-><init>(Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a(Lcom/bumptech/glide/request/c;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p5}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_3
.end method
.method public static loadBlueRoundImage(Ljava/lang/String;IIILandroid/widget/ImageView;)V
.registers 11
if-nez p4, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
int-to-float v1, p1
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v2, p2
invoke-static {v2}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/bumptech/glide/d;->a(II)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x3
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
const/4 v2, 0x1
new-instance v3, Ljp/wasabeef/glide/transformations/c;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4, p3}, Ljp/wasabeef/glide/transformations/c;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
const/4 v2, 0x2
new-instance v3, Ljp/wasabeef/glide/transformations/a;
invoke-virtual {p4}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
const/16 v5, 0x14
invoke-direct {v3, v4, v5}, Ljp/wasabeef/glide/transformations/a;-><init>(Landroid/content/Context;I)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p4}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadCenterCropRoundImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 11
const/4 v7, 0x0
sget-object v0, Lcom/sdk/orion/ui/baselibrary/BaseApp;->mContext:Landroid/content/Context;
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
invoke-direct {v2, v3}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v2, v1, v7
const/4 v2, 0x1
new-instance v3, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
int-to-float v5, p1
invoke-static {v5}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v5
sget-object v6, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v3, v4, v5, v7, v6}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/d;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadCenterCropRoundImage(Ljava/lang/String;ILandroid/widget/ImageView;I)V
.registers 12
const/4 v7, 0x0
sget-object v0, Lcom/sdk/orion/ui/baselibrary/BaseApp;->mContext:Landroid/content/Context;
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Lcom/bumptech/glide/load/resource/bitmap/e;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
invoke-direct {v2, v3}, Lcom/bumptech/glide/load/resource/bitmap/e;-><init>(Landroid/content/Context;)V
aput-object v2, v1, v7
const/4 v2, 0x1
new-instance v3, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
int-to-float v5, p1
invoke-static {v5}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v5
sget-object v6, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v3, v4, v5, v7, v6}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/d;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p3}, Lcom/bumptech/glide/c;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadCircleImage(ILandroid/widget/ImageView;)V
.registers 7
if-nez p1, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/b;
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Ljp/wasabeef/glide/transformations/b;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadCircleImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 8
if-nez p2, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/d;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/b;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Ljp/wasabeef/glide/transformations/b;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadCircleImage(Ljava/lang/String;Landroid/widget/ImageView;)V
.registers 7
if-nez p1, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/b;
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Ljp/wasabeef/glide/transformations/b;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadCircleImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
.registers 8
if-nez p1, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/b;
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Ljp/wasabeef/glide/transformations/b;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
new-instance v1, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$2;
invoke-direct {v1, p2}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$2;-><init>(Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a(Lcom/bumptech/glide/request/c;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadCircleImageId(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 8
if-nez p2, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/d;->b(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/b;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
invoke-direct {v3, v4}, Ljp/wasabeef/glide/transformations/b;-><init>(Landroid/content/Context;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadGifImage(ILandroid/widget/ImageView;)V
.registers 4
if-nez p1, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->i()Lcom/bumptech/glide/h;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/h;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 4
if-nez p2, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadImage(Ljava/lang/String;Landroid/widget/ImageView;)V
.registers 3
sget-object v0, Lcom/sdk/orion/ui/baselibrary/BaseApp;->mContext:Landroid/content/Context;
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/d;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadImageCenter(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 4
if-nez p2, :cond_3
:cond_2
:goto_2
return-void
:cond_3
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_2
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/c;->a()Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_2
.end method
.method public static loadRoundImage(IILandroid/widget/ImageView;)V
.registers 10
const/4 v6, 0x0
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p1
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadRoundImage(IILandroid/widget/ImageView;Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
.registers 11
const/4 v6, 0x0
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/bumptech/glide/k;->a(Ljava/lang/Integer;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p1
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
new-instance v1, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$3;
invoke-direct {v1, p3}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$3;-><init>(Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a(Lcom/bumptech/glide/request/c;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadRoundImage(ILandroid/widget/ImageView;)V
.registers 3
const/4 v0, 0x5
invoke-static {p0, v0, p1}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->loadRoundImage(IILandroid/widget/ImageView;)V
return-void
.end method
.method public static loadRoundImage(Ljava/lang/String;IILandroid/widget/ImageView;)V
.registers 11
const/4 v6, 0x0
if-nez p3, :cond_4
:cond_3
:goto_3
return-void
:cond_4
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p2
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p3}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_3
.end method
.method public static loadRoundImage(Ljava/lang/String;IILandroid/widget/ImageView;Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
.registers 12
const/4 v6, 0x0
if-nez p3, :cond_4
:cond_3
:goto_3
return-void
:cond_4
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p2
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
new-instance v1, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$4;
invoke-direct {v1, p4}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$4;-><init>(Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader$OnLoadListener;)V
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a(Lcom/bumptech/glide/request/c;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p3}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
goto :goto_3
.end method
.method public static loadRoundImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 10
const/4 v6, 0x0
sget-object v0, Lcom/sdk/orion/ui/baselibrary/BaseApp;->mContext:Landroid/content/Context;
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p1
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/d;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static loadRoundImage(Ljava/lang/String;Landroid/widget/ImageView;)V
.registers 3
const/4 v0, 0x5
invoke-static {p0, v0, p1}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->loadRoundImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
return-void
.end method
.method public static loadRoundImageWithGrayBorder(Ljava/lang/String;IIFILandroid/widget/ImageView;Landroid/view/View;)V
.registers 15
const/4 v7, 0x1
if-eqz p5, :cond_d
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->isFinishingActivity(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_e
:cond_d
:goto_d
return-void
:cond_e
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
invoke-virtual {v0}, Lcom/bumptech/glide/d;->c()Lcom/bumptech/glide/c;
move-result-object v0
new-array v1, v7, [Lcom/bumptech/glide/load/f;
const/4 v2, 0x0
new-instance v3, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p5}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v4
int-to-float v5, p2
invoke-static {v5}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v5
sget-object v6, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v3, v4, v5, v7, v6}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v3, v1, v2
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/bumptech/glide/c;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p5}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
if-eqz p6, :cond_d
new-instance v0, Landroid/graphics/drawable/GradientDrawable;
invoke-direct {v0}, Landroid/graphics/drawable/GradientDrawable;-><init>()V
const-string/jumbo v1, "#00000000"
invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
move-result v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V
invoke-static {p3}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
invoke-virtual {v0, v1, p4}, Landroid/graphics/drawable/GradientDrawable;->setStroke(II)V
int-to-float v1, p2
invoke-static {v1}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v1
int-to-float v1, v1
invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setCornerRadius(F)V
invoke-virtual {p6, v0}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
goto :goto_d
.end method
.method public static pushImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
.registers 10
const/4 v6, 0x0
sget-object v0, Lcom/sdk/orion/ui/baselibrary/BaseApp;->mContext:Landroid/content/Context;
invoke-static {v0}, Lcom/bumptech/glide/i;->b(Landroid/content/Context;)Lcom/bumptech/glide/k;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/bumptech/glide/k;->a(Ljava/lang/String;)Lcom/bumptech/glide/d;
move-result-object v0
sget v1, Lcom/sdk/orion/ui/baselibrary/R$drawable;->orion_sdk_base_pic_push_default:I
invoke-virtual {v0, v1}, Lcom/bumptech/glide/d;->a(I)Lcom/bumptech/glide/c;
move-result-object v0
const/4 v1, 0x1
new-array v1, v1, [Lcom/bumptech/glide/load/f;
new-instance v2, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;
invoke-virtual {p2}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
move-result-object v3
int-to-float v4, p1
invoke-static {v4}, Lcom/sdk/orion/ui/baselibrary/utils/DimenUtils;->dp2px(F)I
move-result v4
sget-object v5, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;->a:Ljp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;
invoke-direct {v2, v3, v4, v6, v5}, Ljp/wasabeef/glide/transformations/RoundedCornersTransformation;-><init>(Landroid/content/Context;IILjp/wasabeef/glide/transformations/RoundedCornersTransformation$CornerType;)V
aput-object v2, v1, v6
invoke-virtual {v0, v1}, Lcom/bumptech/glide/c;->a([Lcom/bumptech/glide/load/f;)Lcom/bumptech/glide/c;
move-result-object v0
invoke-virtual {v0, p2}, Lcom/bumptech/glide/c;->a(Landroid/widget/ImageView;)Lcom/bumptech/glide/request/b/j;
return-void
.end method
.method public static pushImage(Ljava/lang/String;Landroid/widget/ImageView;)V
.registers 3
const/4 v0, 0x5
invoke-static {p0, v0, p1}, Lcom/sdk/orion/ui/baselibrary/utils/ImageLoader;->pushImage(Ljava/lang/String;ILandroid/widget/ImageView;)V
return-void
.end method