a.smali
.class public final Lcom/garena/reactpush/a;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static a:Lcom/google/gson/i;
.field public static b:Z
.field public static c:[F
.field public static d:Z
.field public static e:Lcom/garena/reactpush/util/i;
.field public static f:Lcom/garena/reactpush/util/o;
.field public static g:Lcom/garena/reactpush/util/m;
.field public static h:Lcom/garena/reactpush/track/d;
.field public static i:Lcom/garena/reactpush/track/h;
.field public static j:Lcom/garena/reactpush/track/e;
# direct methods
.method public static constructor <clinit>()V
.registers 2
.line 1
new-instance v0, Lcom/google/gson/i;
invoke-direct {v0}, Lcom/google/gson/i;-><init>()V
sput-object v0, Lcom/garena/reactpush/a;->a:Lcom/google/gson/i;
const/4 v0, 0x1
.line 2
sput-boolean v0, Lcom/garena/reactpush/a;->b:Z
const/4 v0, 0x4
new-array v0, v0, [F
.line 3
fill-array-data v0, :array_4a
sput-object v0, Lcom/garena/reactpush/a;->c:[F
const/4 v0, 0x0
.line 4
sput-boolean v0, Lcom/garena/reactpush/a;->d:Z
.line 5
new-instance v0, Lcom/garena/reactpush/a$a;
invoke-direct {v0}, Lcom/garena/reactpush/a$a;-><init>()V
sput-object v0, Lcom/garena/reactpush/a;->e:Lcom/garena/reactpush/util/i;
.line 6
new-instance v0, Lcom/garena/reactpush/a$b;
invoke-direct {v0}, Lcom/garena/reactpush/a$b;-><init>()V
sput-object v0, Lcom/garena/reactpush/a;->f:Lcom/garena/reactpush/util/o;
.line 7
new-instance v0, Lcom/google/android/play/core/assetpacks/c1;
invoke-direct {v0}, Lcom/google/android/play/core/assetpacks/c1;-><init>()V
.line 8
sput-object v0, Lcom/garena/reactpush/a;->g:Lcom/garena/reactpush/util/m;
.line 9
new-instance v0, Lcom/garena/reactpush/track/d;
new-instance v1, Lcom/garena/reactpush/a$c;
invoke-direct {v1}, Lcom/garena/reactpush/a$c;-><init>()V
invoke-direct {v0, v1}, Lcom/garena/reactpush/track/d;-><init>(Lcom/garena/reactpush/track/a;)V
sput-object v0, Lcom/garena/reactpush/a;->h:Lcom/garena/reactpush/track/d;
.line 10
new-instance v0, Lcom/garena/reactpush/track/h;
new-instance v1, Lcom/garena/reactpush/a$d;
invoke-direct {v1}, Lcom/garena/reactpush/a$d;-><init>()V
invoke-direct {v0, v1}, Lcom/garena/reactpush/track/h;-><init>(Lcom/garena/reactpush/track/a;)V
sput-object v0, Lcom/garena/reactpush/a;->i:Lcom/garena/reactpush/track/h;
.line 11
new-instance v0, Lcom/garena/reactpush/a$e;
invoke-direct {v0}, Lcom/garena/reactpush/a$e;-><init>()V
sput-object v0, Lcom/garena/reactpush/a;->j:Lcom/garena/reactpush/track/e;
return-void
:array_4a
.array-data 4
0x3f800000 # 1.0f
0x3fc00000 # 1.5f
0x40000000 # 2.0f
0x40400000 # 3.0f
.end array-data
.end method
.method public static a(F)F
.registers 6
.line 1
sget-object v0, Lcom/garena/reactpush/a;->c:[F
array-length v1, v0
const/4 v2, 0x0
:goto_4
if-ge v2, v1, :cond_10
aget v3, v0, v2
cmpl-float v4, v3, p0
if-ltz v4, :cond_d
return v3
:cond_d
add-int/lit8 v2, v2, 0x1
goto :goto_4
.line 2
:cond_10
sget-object p0, Lcom/garena/reactpush/a;->c:[F
array-length v0, p0
add-int/lit8 v0, v0, -0x1
aget p0, p0, v0
return p0
.end method
.method public static b()V
.registers 1
.line 1
new-instance v0, Lcom/google/android/play/core/assetpacks/c1;
invoke-direct {v0}, Lcom/google/android/play/core/assetpacks/c1;-><init>()V
.line 2
sput-object v0, Lcom/garena/reactpush/a;->g:Lcom/garena/reactpush/util/m;
return-void
.end method
.method public static c(F)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/garena/reactpush/a;->a(F)F
move-result p0
const/high16 v0, 0x3f800000 # 1.0f
cmpl-float v0, p0, v0
if-nez v0, :cond_d
const-string p0, "mdpi"
return-object p0
:cond_d
const/high16 v0, 0x3fc00000 # 1.5f
cmpl-float v0, p0, v0
if-nez v0, :cond_16
const-string p0, "hdpi"
return-object p0
:cond_16
const/high16 v0, 0x40000000 # 2.0f
cmpl-float p0, p0, v0
if-nez p0, :cond_20
const-string/jumbo p0, "xhdpi"
return-object p0
:cond_20
const-string/jumbo p0, "xxhdpi"
return-object p0
.end method
.method public static d(F)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/garena/reactpush/a;->a(F)F
move-result p0
const/high16 v0, 0x3f800000 # 1.0f
cmpl-float v0, p0, v0
if-nez v0, :cond_d
const-string p0, "1x"
return-object p0
:cond_d
const/high16 v0, 0x3fc00000 # 1.5f
cmpl-float v0, p0, v0
if-nez v0, :cond_16
const-string p0, "1.5x"
return-object p0
:cond_16
const/high16 v0, 0x40000000 # 2.0f
cmpl-float p0, p0, v0
if-nez p0, :cond_1f
const-string p0, "2x"
return-object p0
:cond_1f
const-string p0, "3x"
return-object p0
.end method
.method public static e(F)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/garena/reactpush/a;->a(F)F
move-result p0
const/high16 v0, 0x3f800000 # 1.0f
cmpl-float v0, p0, v0
if-nez v0, :cond_d
const-string p0, "1x"
return-object p0
:cond_d
const/high16 v0, 0x3fc00000 # 1.5f
cmpl-float v0, p0, v0
if-nez v0, :cond_16
const-string p0, "1-5x"
return-object p0
:cond_16
const/high16 v0, 0x40000000 # 2.0f
cmpl-float p0, p0, v0
if-nez p0, :cond_1f
const-string p0, "2x"
return-object p0
:cond_1f
const-string p0, "3x"
return-object p0
.end method