3431 lines
99 KiB
Smali
3431 lines
99 KiB
Smali
.class public Lcom/moji/mjad/splash/view/SplashViewCreater;
|
|
.super Lcom/moji/mjad/base/view/AbsAdViewCreater;
|
|
.source "SplashViewCreater.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;,
|
|
Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;,
|
|
Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;,
|
|
Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/mjad/base/view/AbsAdViewCreater<",
|
|
"Lcom/moji/mjad/splash/data/AdMojiSplash;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private A:Landroid/widget/LinearLayout;
|
|
|
|
.field private B:Landroid/widget/RelativeLayout;
|
|
|
|
.field private C:Landroid/widget/ImageView;
|
|
|
|
.field private D:Landroid/widget/RelativeLayout;
|
|
|
|
.field private E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
.field private F:Landroid/widget/TextView;
|
|
|
|
.field private G:Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;
|
|
|
|
.field private H:Landroid/widget/RelativeLayout;
|
|
|
|
.field private I:Landroid/widget/ImageView;
|
|
|
|
.field private J:Landroid/widget/TextView;
|
|
|
|
.field private K:Landroid/widget/TextView;
|
|
|
|
.field private L:Landroid/widget/RelativeLayout;
|
|
|
|
.field private M:I
|
|
|
|
.field private N:Z
|
|
|
|
.field private O:[C
|
|
|
|
.field private P:Ljava/security/MessageDigest;
|
|
|
|
.field private Q:Z
|
|
|
|
.field private R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
.field private a:I
|
|
|
|
.field private b:I
|
|
|
|
.field private c:I
|
|
|
|
.field private g:I
|
|
|
|
.field private h:Landroid/app/Activity;
|
|
|
|
.field private i:Landroid/view/View;
|
|
|
|
.field private j:I
|
|
|
|
.field private k:I
|
|
|
|
.field private l:Landroid/widget/RelativeLayout;
|
|
|
|
.field private m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
.field private n:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
.field private o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
.field private p:Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
|
|
.field private q:Landroid/widget/RelativeLayout;
|
|
|
|
.field private r:Landroid/widget/ImageView;
|
|
|
|
.field private s:Landroid/widget/ImageView;
|
|
|
|
.field private t:J
|
|
|
|
.field private u:Z
|
|
|
|
.field private v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
.field private w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
.field private x:Z
|
|
|
|
.field private y:Landroid/view/ViewGroup;
|
|
|
|
.field private z:Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
.line 127
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/base/view/AbsAdViewCreater;-><init>(Landroid/content/Context;)V
|
|
|
|
const/16 p1, -0x3e7
|
|
|
|
.line 64
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->a:I
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->b:I
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->c:I
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->g:I
|
|
|
|
const/16 p1, 0xbb8
|
|
|
|
.line 69
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->j:I
|
|
|
|
const/16 p1, 0xc8
|
|
|
|
.line 72
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->k:I
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 85
|
|
iput-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->x:Z
|
|
|
|
.line 101
|
|
iput-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->N:Z
|
|
|
|
const/16 p1, 0x10
|
|
|
|
.line 102
|
|
new-array p1, p1, [C
|
|
|
|
fill-array-data p1, :array_0
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->O:[C
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 104
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->P:Ljava/security/MessageDigest;
|
|
|
|
:try_start_0
|
|
const-string p1, "MD5"
|
|
|
|
.line 129
|
|
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->P:Ljava/security/MessageDigest;
|
|
:try_end_0
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string v0, "SplashViewCreater"
|
|
|
|
const-string v1, "sea SplashViewCreater\u521d\u59cb\u5316\u5931\u8d25\uff0cMessageDigest\u4e0d\u652f\u6301MD5Util"
|
|
|
|
.line 131
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v0, "SplashViewCreater"
|
|
|
|
.line 132
|
|
invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 134
|
|
:goto_0
|
|
new-instance p1, Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;
|
|
|
|
invoke-direct {p1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->G:Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;
|
|
|
|
return-void
|
|
|
|
:array_0
|
|
.array-data 2
|
|
0x30s
|
|
0x31s
|
|
0x32s
|
|
0x33s
|
|
0x34s
|
|
0x35s
|
|
0x36s
|
|
0x37s
|
|
0x38s
|
|
0x39s
|
|
0x61s
|
|
0x62s
|
|
0x63s
|
|
0x64s
|
|
0x65s
|
|
0x66s
|
|
.end array-data
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;I)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->c:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;)Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private a(Ljava/io/File;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1044
|
|
:try_start_0
|
|
new-instance v1, Ljava/io/FileInputStream;
|
|
|
|
invoke-direct {v1, p1}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
const/16 p1, 0x400
|
|
|
|
.line 1045
|
|
:try_start_1
|
|
new-array p1, p1, [B
|
|
|
|
.line 1047
|
|
:goto_0
|
|
invoke-virtual {v1, p1}, Ljava/io/InputStream;->read([B)I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 1048
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->P:Ljava/security/MessageDigest;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v2, p1, v3, v0}, Ljava/security/MessageDigest;->update([BII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1050
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->P:Ljava/security/MessageDigest;
|
|
|
|
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a([B)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
:try_end_1
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 1057
|
|
:try_start_2
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
:try_end_2
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v1, "SplashViewCreater"
|
|
|
|
.line 1060
|
|
invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
:goto_1
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_4
|
|
|
|
:catch_1
|
|
move-exception p1
|
|
|
|
move-object v0, v1
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
move-object v1, v0
|
|
|
|
goto :goto_4
|
|
|
|
:catch_2
|
|
move-exception p1
|
|
|
|
:goto_2
|
|
:try_start_3
|
|
const-string v1, "sea"
|
|
|
|
.line 1052
|
|
invoke-static {v1, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
const-string p1, ""
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1057
|
|
:try_start_4
|
|
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
|
|
:try_end_4
|
|
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3
|
|
|
|
goto :goto_3
|
|
|
|
:catch_3
|
|
move-exception v0
|
|
|
|
const-string v1, "SplashViewCreater"
|
|
|
|
.line 1060
|
|
invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
:goto_3
|
|
return-object p1
|
|
|
|
:goto_4
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 1057
|
|
:try_start_5
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
:try_end_5
|
|
.catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_4
|
|
|
|
goto :goto_5
|
|
|
|
:catch_4
|
|
move-exception v0
|
|
|
|
const-string v1, "SplashViewCreater"
|
|
|
|
.line 1060
|
|
invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 1062
|
|
:cond_2
|
|
:goto_5
|
|
throw p1
|
|
.end method
|
|
|
|
.method private a([B)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1079
|
|
array-length v0, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {p0, p1, v1, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a([BII)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private a([BII)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1083
|
|
new-instance v0, Ljava/lang/StringBuffer;
|
|
|
|
mul-int/lit8 v1, p3, 0x2
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuffer;-><init>(I)V
|
|
|
|
add-int/2addr p3, p2
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_0
|
|
|
|
.line 1086
|
|
aget-byte v1, p1, p2
|
|
|
|
invoke-direct {p0, v1, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(BLjava/lang/StringBuffer;)V
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1088
|
|
:cond_0
|
|
invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private a(BLjava/lang/StringBuffer;)V
|
|
.locals 2
|
|
|
|
.line 1092
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->O:[C
|
|
|
|
and-int/lit16 v1, p1, 0xf0
|
|
|
|
shr-int/lit8 v1, v1, 0x4
|
|
|
|
aget-char v0, v0, v1
|
|
|
|
.line 1093
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->O:[C
|
|
|
|
and-int/lit8 p1, p1, 0xf
|
|
|
|
aget-char p1, v1, p1
|
|
|
|
.line 1094
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
.line 1095
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(J)V
|
|
.locals 4
|
|
|
|
.line 769
|
|
new-instance v0, Lcom/moji/mjad/preferences/MojiAdPreference;
|
|
|
|
invoke-direct {v0}, Lcom/moji/mjad/preferences/MojiAdPreference;-><init>()V
|
|
|
|
.line 770
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/preferences/MojiAdPreference;)V
|
|
|
|
.line 771
|
|
invoke-virtual {v0, p1, p2}, Lcom/moji/mjad/preferences/MojiAdPreference;->g(J)V
|
|
|
|
.line 772
|
|
invoke-virtual {v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->e()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
.line 773
|
|
invoke-virtual {v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->d()Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 774
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
.line 775
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 776
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Ljava/util/List;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-nez v1, :cond_1
|
|
|
|
.line 778
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 779
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 780
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Ljava/util/List;)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 782
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v2, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
.line 783
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 784
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Ljava/util/List;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-nez v2, :cond_3
|
|
|
|
.line 786
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 787
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 788
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Ljava/util/List;)V
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const-string v1, "SplashViewCreater"
|
|
|
|
.line 791
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "sea splash \u8f6e\u64ad-SplashViewCreater-\u4eca\u5929\u5c55\u793a\u7684ID\uff1a"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "--"
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->e()Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "--"
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->d()Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v1, p1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/view/View;Landroid/view/MotionEvent;)V
|
|
.locals 0
|
|
|
|
.line 628
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result p1
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 634
|
|
:pswitch_0
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->c:I
|
|
|
|
.line 635
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->g:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 630
|
|
:pswitch_1
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->a:I
|
|
|
|
.line 631
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->b:I
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private a(Lcom/moji/mjad/preferences/MojiAdPreference;)V
|
|
.locals 3
|
|
|
|
.line 799
|
|
invoke-virtual {p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->v()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 800
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Z)V
|
|
|
|
.line 801
|
|
invoke-virtual {p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->h()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 802
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(I)V
|
|
|
|
const-string p1, "SplashViewCreater"
|
|
|
|
.line 803
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "sea splash \u8f6e\u64ad-SplashViewCreater-\u5f53\u524d\u5c55\u793a\u4e2a\u6570"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
.locals 4
|
|
|
|
.line 845
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 846
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
.line 847
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 848
|
|
iget v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->pageType:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v3, :cond_1
|
|
|
|
.line 849
|
|
iget v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->appStar:I
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 850
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
iget v2, p1, Lcom/moji/mjad/splash/data/AdSplash;->appStar:I
|
|
|
|
int-to-float v2, v2
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/splash/view/StarBar;->setStarMark(F)V
|
|
|
|
.line 851
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/splash/view/StarBar;->setVisibility(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 853
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/splash/view/StarBar;->setVisibility(I)V
|
|
|
|
.line 855
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->z:Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$drawable;->small_gdt_button_download:I
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/base/view/AdPressImageView;->setImageResource(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 857
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/splash/view/StarBar;->setVisibility(I)V
|
|
|
|
.line 858
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->z:Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$drawable;->small_gdt_button_start:I
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/base/view/AdPressImageView;->setImageResource(I)V
|
|
|
|
.line 860
|
|
:goto_1
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 861
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
invoke-direct {p0, p1, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;Landroid/graphics/Bitmap;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 862
|
|
:cond_2
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->imageInfo:Lcom/moji/mjad/base/data/AdImageInfo;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdSplash;->imageInfo:Lcom/moji/mjad/base/data/AdImageInfo;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/base/data/AdImageInfo;->imageUrl:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 863
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->G:Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;->a(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
.line 864
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdSplash;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lcom/moji/mjad/statistics/AdStatistics;->h(Ljava/lang/String;J)V
|
|
|
|
.line 865
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/squareup/picasso/Picasso;->a(Landroid/content/Context;)Lcom/squareup/picasso/Picasso;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdSplash;->imageInfo:Lcom/moji/mjad/base/data/AdImageInfo;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/base/data/AdImageInfo;->imageUrl:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/squareup/picasso/Picasso;->a(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->G:Lcom/moji/mjad/splash/view/SplashViewCreater$MyTarget;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/squareup/picasso/RequestCreator;->a(Lcom/squareup/picasso/Target;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 867
|
|
:cond_3
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/moji/mjad/splash/data/AdSplash;Landroid/graphics/Bitmap;)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 961
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x2
|
|
|
|
.line 962
|
|
new-array v1, v1, [I
|
|
|
|
sget v2, Lcom/moji/mjad/R$drawable;->small_gdt_img_bg:I
|
|
|
|
aput v2, v1, v0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
sget v2, Lcom/moji/mjad/R$drawable;->small_gdt_img_bg_two:I
|
|
|
|
aput v2, v1, v0
|
|
|
|
.line 963
|
|
new-instance v0, Ljava/util/Random;
|
|
|
|
invoke-direct {v0}, Ljava/util/Random;-><init>()V
|
|
|
|
array-length v2, v1
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/Random;->nextInt(I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->M:I
|
|
|
|
.line 964
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/squareup/picasso/Picasso;->a(Landroid/content/Context;)Lcom/squareup/picasso/Picasso;
|
|
|
|
move-result-object v0
|
|
|
|
iget v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->M:I
|
|
|
|
aget v1, v1, v2
|
|
|
|
invoke-virtual {v0, v1}, Lcom/squareup/picasso/Picasso;->a(I)Lcom/squareup/picasso/RequestCreator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/squareup/picasso/RequestCreator;->h()Lcom/squareup/picasso/RequestCreator;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/squareup/picasso/RequestCreator;->a(Landroid/graphics/Bitmap$Config;)Lcom/squareup/picasso/RequestCreator;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
new-instance v2, Lcom/moji/mjad/splash/view/SplashViewCreater$10;
|
|
|
|
invoke-direct {v2, p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater$10;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdSplash;Landroid/graphics/Bitmap;)V
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/squareup/picasso/RequestCreator;->a(Landroid/widget/ImageView;Lcom/squareup/picasso/Callback;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1027
|
|
:cond_0
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1030
|
|
:cond_1
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/moji/mjad/splash/data/AdSplash;Z)V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_a
|
|
|
|
.line 874
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdSplash;->filePath:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_a
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
.line 875
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
.line 876
|
|
new-instance v1, Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {v1, v2}, Lcom/moji/mjad/splash/control/SplashAdControl;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
.line 877
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
invoke-virtual {v1, p1}, Lcom/moji/mjad/splash/control/SplashAdControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V
|
|
|
|
.line 878
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplash;->showType:Lcom/moji/mjad/enumdata/MojiAdShowType;
|
|
|
|
sget-object v2, Lcom/moji/mjad/enumdata/MojiAdShowType;->SPLASH_IMAGE:Lcom/moji/mjad/enumdata/MojiAdShowType;
|
|
|
|
const/16 v3, 0x8
|
|
|
|
if-ne v1, v2, :cond_4
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 880
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdSplash;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, v1}, Lcom/moji/mjad/statistics/AdStatistics;->h(Ljava/lang/String;)V
|
|
|
|
.line 882
|
|
:cond_0
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 883
|
|
iget-boolean p1, p1, Lcom/moji/mjad/splash/data/AdSplash;->isShowAdSign:Z
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 884
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget p2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_ad_text_size:I
|
|
|
|
invoke-static {p2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, v0, p2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 885
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget p2, Lcom/moji/mjad/R$string;->ad_skip_ad:I
|
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 887
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget p2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_text_size:I
|
|
|
|
invoke-static {p2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, v0, p2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 888
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget p2, Lcom/moji/mjad/R$string;->ad_skip:I
|
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
.line 891
|
|
:cond_2
|
|
:goto_0
|
|
invoke-direct {p0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->c()V
|
|
|
|
.line 892
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget p1, p1, Lcom/moji/mjad/splash/data/AdSplash;->showTime:I
|
|
|
|
int-to-long p1, p1
|
|
|
|
iput-wide p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->t:J
|
|
|
|
.line 893
|
|
iget-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->x:Z
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 894
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 896
|
|
:cond_3
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {p1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
.line 897
|
|
invoke-direct {p0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->d()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 898
|
|
:cond_4
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplash;->showType:Lcom/moji/mjad/enumdata/MojiAdShowType;
|
|
|
|
sget-object v2, Lcom/moji/mjad/enumdata/MojiAdShowType;->SPLASH_VIDEO:Lcom/moji/mjad/enumdata/MojiAdShowType;
|
|
|
|
if-ne v1, v2, :cond_8
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 900
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdSplash;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1}, Lcom/moji/mjad/statistics/AdStatistics;->h(Ljava/lang/String;)V
|
|
|
|
.line 902
|
|
:cond_5
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->i:Landroid/view/View;
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 903
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->i:Landroid/view/View;
|
|
|
|
invoke-virtual {p1, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
.line 905
|
|
:cond_6
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 906
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-interface {p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;->a(Lcom/moji/mjad/splash/data/AdSplashVideo;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 908
|
|
:cond_7
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
if-eqz p2, :cond_9
|
|
|
|
.line 912
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdSplash;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1}, Lcom/moji/mjad/statistics/AdStatistics;->e(Ljava/lang/String;)V
|
|
|
|
.line 914
|
|
:cond_9
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 917
|
|
:cond_a
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/moji/mjad/splash/data/AdSplashThird;)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 826
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdSplashThird;->tencentAd:Lcom/qq/e/ads/nativ/NativeADDataRef;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdSplashThird;->tencentAd:Lcom/qq/e/ads/nativ/NativeADDataRef;
|
|
|
|
invoke-interface {v1}, Lcom/qq/e/ads/nativ/NativeADDataRef;->getImgUrl()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
.line 827
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->n:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
.line 828
|
|
new-instance v1, Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {v1, v2}, Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->p:Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
|
|
.line 829
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->p:Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
|
|
invoke-virtual {v1, p1}, Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V
|
|
|
|
.line 830
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 831
|
|
iget-boolean v1, p1, Lcom/moji/mjad/splash/data/AdSplashThird;->isShowAdSign:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 832
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_ad_text_size:I
|
|
|
|
invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v0, v2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 833
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget v1, Lcom/moji/mjad/R$string;->ad_skip_ad:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 835
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_text_size:I
|
|
|
|
invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v0, v2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 836
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
sget v1, Lcom/moji/mjad/R$string;->ad_skip:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
.line 839
|
|
:cond_1
|
|
:goto_0
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 841
|
|
:cond_2
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;J)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Landroid/view/View;Landroid/view/MotionEvent;)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Landroid/view/View;Landroid/view/MotionEvent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdSplash;Landroid/graphics/Bitmap;)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;Landroid/graphics/Bitmap;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdSplashThird;)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplashThird;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjad/splash/view/SplashViewCreater;Z)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/content/Context;)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x3
|
|
|
|
.line 1103
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
const-string v1, "android.permission.READ_PHONE_STATE"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const-string v1, "android.permission.WRITE_EXTERNAL_STORAGE"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
const-string v1, "android.permission.ACCESS_FINE_LOCATION"
|
|
|
|
const/4 v4, 0x2
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
.line 1104
|
|
invoke-static {}, Lcom/moji/tool/DeviceTool;->N()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/tool/permission/EasyPermissions;->a(Landroid/content/Context;[Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
:cond_0
|
|
const/4 v2, 0x1
|
|
|
|
:cond_1
|
|
return v2
|
|
.end method
|
|
|
|
.method private a(Ljava/io/File;Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
.line 1073
|
|
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 1075
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Ljava/io/File;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/mjad/splash/view/SplashViewCreater;I)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->g:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/RelativeLayout;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private b()V
|
|
.locals 2
|
|
|
|
.line 528
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v1, Lcom/moji/mjad/splash/view/SplashViewCreater$4;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$4;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 540
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v1, Lcom/moji/mjad/splash/view/SplashViewCreater$5;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$5;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 548
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->y:Landroid/view/ViewGroup;
|
|
|
|
new-instance v1, Lcom/moji/mjad/splash/view/SplashViewCreater$6;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$6;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 557
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v1, Lcom/moji/mjad/splash/view/SplashViewCreater$7;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$7;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 615
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->z:Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
new-instance v1, Lcom/moji/mjad/splash/view/SplashViewCreater$8;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$8;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/base/view/AdPressImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private b(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 871
|
|
invoke-direct {p0, p1, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private b(Z)V
|
|
.locals 1
|
|
|
|
.line 685
|
|
iget-boolean v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->u:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 687
|
|
iput-boolean v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->u:Z
|
|
|
|
.line 688
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 689
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;->cancel()V
|
|
|
|
.line 691
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 692
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
invoke-interface {v0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;->a(Z)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 693
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/mjad/splash/view/SplashViewCreater;Z)Z
|
|
.locals 0
|
|
|
|
.line 62
|
|
iput-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->N:Z
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->I:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private c()V
|
|
.locals 7
|
|
|
|
.line 647
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 648
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->clickArea:I
|
|
|
|
const-string v1, "sea"
|
|
|
|
.line 649
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "sea splash mSplashPercent:"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/16 v1, 0x64
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-le v0, v1, :cond_1
|
|
|
|
const/16 v0, 0x64
|
|
|
|
.line 651
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 652
|
|
iget-object v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v5, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
int-to-float v6, v0
|
|
|
|
invoke-direct {v5, v4, v2, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V
|
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 655
|
|
:cond_2
|
|
iget-object v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->q:Landroid/widget/RelativeLayout;
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 656
|
|
iget-object v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->q:Landroid/widget/RelativeLayout;
|
|
|
|
new-instance v5, Landroid/widget/LinearLayout$LayoutParams;
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
int-to-float v0, v1
|
|
|
|
invoke-direct {v5, v4, v2, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V
|
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic d(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/TextView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private d()V
|
|
.locals 4
|
|
|
|
.line 698
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 700
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->splashShowType:I
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-ne v0, v2, :cond_2
|
|
|
|
.line 701
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 702
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplash;->bitmap:Landroid/graphics/Bitmap;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
.line 703
|
|
invoke-direct {p0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->e()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 705
|
|
:cond_0
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplash;->filePath:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 706
|
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplash;->md5:Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0, v2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Ljava/io/File;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 707
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-virtual {v2}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/squareup/picasso/Picasso;->a(Landroid/content/Context;)Lcom/squareup/picasso/Picasso;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v0}, Lcom/squareup/picasso/Picasso;->a(Ljava/io/File;)Lcom/squareup/picasso/RequestCreator;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
new-instance v3, Lcom/moji/mjad/splash/view/SplashViewCreater$9;
|
|
|
|
invoke-direct {v3, p0}, Lcom/moji/mjad/splash/view/SplashViewCreater$9;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
|
|
invoke-virtual {v0, v2, v3}, Lcom/squareup/picasso/RequestCreator;->a(Landroid/widget/ImageView;Lcom/squareup/picasso/Callback;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 720
|
|
:cond_1
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 723
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->splashShowType:I
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-ne v0, v2, :cond_3
|
|
|
|
.line 724
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 726
|
|
:cond_3
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v2, "SplashAdFragment"
|
|
|
|
.line 729
|
|
invoke-static {v2, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 730
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 733
|
|
:cond_4
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic e(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private e()V
|
|
.locals 7
|
|
|
|
.line 739
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 740
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 742
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 743
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 745
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->A:Landroid/widget/LinearLayout;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 746
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->A:Landroid/widget/LinearLayout;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V
|
|
|
|
.line 748
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 749
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
.line 751
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 752
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
invoke-interface {v0}, Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;->a()V
|
|
|
|
.line 754
|
|
:cond_4
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 755
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
iget-wide v0, v0, Lcom/moji/mjad/splash/data/AdSplash;->id:J
|
|
|
|
invoke-direct {p0, v0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(J)V
|
|
|
|
.line 757
|
|
:cond_5
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 758
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjad/splash/control/SplashAdControl;->recordShow()V
|
|
|
|
.line 760
|
|
:cond_6
|
|
new-instance v0, Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
iget-wide v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->t:J
|
|
|
|
const-wide/16 v5, 0x3e8
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, p0
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;JJ)V
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
.line 761
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;->start()Landroid/os/CountDownTimer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic f(Lcom/moji/mjad/splash/view/SplashViewCreater;)Z
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-boolean p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->Q:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic g(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->o:Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic h(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->p:Lcom/moji/mjad/splash/control/SplashSmallGdtAdControl;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic i(Lcom/moji/mjad/splash/view/SplashViewCreater;)Z
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-boolean p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->N:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic j(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/data/AdSplash;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->m:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic k(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->M:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic l(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->c:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic m(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->a:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic n(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->g:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic o(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->b:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic p(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->n:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic q(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->C:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic r(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/RelativeLayout;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic s(Lcom/moji/mjad/splash/view/SplashViewCreater;)V
|
|
.locals 0
|
|
|
|
.line 62
|
|
invoke-direct {p0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->e()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic t(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/TextView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->F:Landroid/widget/TextView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic u(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/ImageView;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic v(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/LinearLayout;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->A:Landroid/widget/LinearLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic w(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/RelativeLayout;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic x(Lcom/moji/mjad/splash/view/SplashViewCreater;)Landroid/widget/RelativeLayout;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->D:Landroid/widget/RelativeLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic y(Lcom/moji/mjad/splash/view/SplashViewCreater;)I
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->j:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic z(Lcom/moji/mjad/splash/view/SplashViewCreater;)Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
.locals 0
|
|
|
|
.line 62
|
|
iget-object p0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->w:Lcom/moji/mjad/splash/view/SplashViewCreater$TimeCount;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;)Landroid/view/View;
|
|
.locals 0
|
|
|
|
.line 170
|
|
sget p1, Lcom/moji/mjad/R$layout;->layout_splash_ad:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->i:Landroid/view/View;
|
|
|
|
.line 171
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->i:Landroid/view/View;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Landroid/view/View;)V
|
|
|
|
.line 172
|
|
invoke-direct {p0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b()V
|
|
|
|
.line 173
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->i:Landroid/view/View;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic a(Ljava/lang/Object;Ljava/lang/String;)Landroid/view/View;
|
|
.locals 0
|
|
|
|
.line 62
|
|
check-cast p1, Lcom/moji/mjad/splash/data/AdMojiSplash;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 2
|
|
|
|
.line 925
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 926
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/app/Activity;)V
|
|
.locals 0
|
|
|
|
.line 816
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected a(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
.line 139
|
|
sget v0, Lcom/moji/mjad/R$id;->rl_gdt_skip:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->L:Landroid/widget/RelativeLayout;
|
|
|
|
.line 140
|
|
sget v0, Lcom/moji/mjad/R$id;->iv_gdt_skip:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->I:Landroid/widget/ImageView;
|
|
|
|
.line 141
|
|
sget v0, Lcom/moji/mjad/R$id;->tv_gdt_skip:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
.line 142
|
|
sget v0, Lcom/moji/mjad/R$id;->tv_splash_skip:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->K:Landroid/widget/TextView;
|
|
|
|
.line 143
|
|
sget v0, Lcom/moji/mjad/R$id;->rl_gdt_full_splash:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
.line 144
|
|
sget v0, Lcom/moji/mjad/R$id;->tv_small_gdt_title:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->F:Landroid/widget/TextView;
|
|
|
|
.line 145
|
|
sget v0, Lcom/moji/mjad/R$id;->iv_small_gdt_click:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->z:Lcom/moji/mjad/base/view/AdPressImageView;
|
|
|
|
.line 146
|
|
sget v0, Lcom/moji/mjad/R$id;->rl_gdt_small_splash:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->D:Landroid/widget/RelativeLayout;
|
|
|
|
.line 147
|
|
sget v0, Lcom/moji/mjad/R$id;->starBar:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->E:Lcom/moji/mjad/splash/view/StarBar;
|
|
|
|
.line 148
|
|
sget v0, Lcom/moji/mjad/R$id;->iv_small_gdt_splash:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->C:Landroid/widget/ImageView;
|
|
|
|
.line 149
|
|
sget v0, Lcom/moji/mjad/R$id;->ll_click_container:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/LinearLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->A:Landroid/widget/LinearLayout;
|
|
|
|
.line 150
|
|
sget v0, Lcom/moji/mjad/R$id;->rl_layout_skip:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
.line 151
|
|
sget v0, Lcom/moji/mjad/R$id;->rl_gdt_splash:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->y:Landroid/view/ViewGroup;
|
|
|
|
.line 154
|
|
sget v0, Lcom/moji/mjad/R$id;->imageView_bg:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
.line 155
|
|
sget v0, Lcom/moji/mjad/R$id;->click_view:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->l:Landroid/widget/RelativeLayout;
|
|
|
|
.line 156
|
|
sget v0, Lcom/moji/mjad/R$id;->layout_bottom:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->q:Landroid/widget/RelativeLayout;
|
|
|
|
.line 157
|
|
sget v0, Lcom/moji/mjad/R$id;->iv_splash_logo:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
.line 159
|
|
iget p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->j:I
|
|
|
|
int-to-long v0, p1
|
|
|
|
iput-wide v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->t:J
|
|
|
|
.line 160
|
|
iget-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->x:Z
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 161
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
sget v0, Lcom/moji/mjad/R$drawable;->splash:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
.line 162
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 164
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/16 v0, 0x8
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;)V
|
|
.locals 11
|
|
|
|
const-string v0, "SplashViewCreater"
|
|
|
|
const-string v1, "sea--splash--gdt splash-onLoadThirdAdListener:"
|
|
|
|
.line 441
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 442
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 443
|
|
new-instance v0, Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {v0, v2}, Lcom/moji/mjad/splash/control/SplashAdControl;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 444
|
|
iget-object v2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjad/splash/control/SplashAdControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V
|
|
|
|
.line 445
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 446
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SPLASH_REQUEST:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v4, "time:1050"
|
|
|
|
invoke-virtual {v2, v3, v4}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 447
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-virtual {v2, v3, v4, v5}, Lcom/moji/mjad/statistics/AdStatistics;->j(Ljava/lang/String;J)V
|
|
|
|
const-string v2, "tonglei---"
|
|
|
|
.line 448
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v4, "time2 "
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 449
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {p0, v2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Landroid/content/Context;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 450
|
|
new-instance v3, Lcom/qq/e/ads/splash/SplashAD;
|
|
|
|
iget-object v4, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
iget-object v5, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->y:Landroid/view/ViewGroup;
|
|
|
|
iget-object v6, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->L:Landroid/widget/RelativeLayout;
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v7, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->appId:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v8, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->adRequeestId:Ljava/lang/String;
|
|
|
|
new-instance v9, Lcom/moji/mjad/splash/view/SplashViewCreater$3;
|
|
|
|
invoke-direct {v9, p0, p2, p1, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater$3;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;Lcom/moji/mjad/splash/data/AdMojiSplash;Lcom/moji/mjad/splash/control/SplashAdControl;)V
|
|
|
|
const/16 v10, 0x5dc
|
|
|
|
invoke-direct/range {v3 .. v10}, Lcom/qq/e/ads/splash/SplashAD;-><init>(Landroid/app/Activity;Landroid/view/ViewGroup;Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Lcom/qq/e/ads/splash/SplashADListener;I)V
|
|
|
|
const-string p1, "tonglei---"
|
|
|
|
.line 500
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "time3 "
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p2, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 502
|
|
:cond_0
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SPLASH_GET_STAT:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v2, "No Permissions"
|
|
|
|
invoke-virtual {p1, v0, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 503
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 504
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
const/16 v0, 0x8
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
:cond_1
|
|
const-string p1, "SplashViewCreater"
|
|
|
|
const-string v0, "sea--splash--GDT-Splash-No Permissions:"
|
|
|
|
.line 506
|
|
invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 508
|
|
invoke-interface {p2, v1}, Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;->a(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 513
|
|
invoke-interface {p2, v1}, Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;->a(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 518
|
|
invoke-interface {p2, v1}, Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;->a(I)V
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;Z)V
|
|
.locals 10
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
.line 183
|
|
invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isValid()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
.line 184
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;
|
|
|
|
sget-object v1, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_THIRD_SDK_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;
|
|
|
|
if-ne v0, v1, :cond_a
|
|
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 185
|
|
new-instance v0, Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {v0, v1}, Lcom/moji/mjad/splash/control/SplashAdControl;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 186
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjad/splash/control/SplashAdControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V
|
|
|
|
.line 187
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->partener:Lcom/moji/mjad/enumdata/ThirdAdPartener;
|
|
|
|
sget-object v2, Lcom/moji/mjad/enumdata/ThirdAdPartener;->PARTENER_GDT:Lcom/moji/mjad/enumdata/ThirdAdPartener;
|
|
|
|
if-ne v1, v2, :cond_9
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->appId:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_9
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->adRequeestId:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_9
|
|
|
|
.line 188
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget v1, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->splashShowType:I
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-ne v1, v2, :cond_4
|
|
|
|
.line 189
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SPLASH_REQUEST:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v3, "time:1050"
|
|
|
|
invoke-virtual {v1, v2, v3}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 191
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplashThird;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-virtual {v1, v2, v3, v4}, Lcom/moji/mjad/statistics/AdStatistics;->j(Ljava/lang/String;J)V
|
|
|
|
.line 193
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {p0, v1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Landroid/content/Context;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 194
|
|
new-instance v2, Lcom/qq/e/ads/splash/SplashAD;
|
|
|
|
iget-object v3, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
iget-object v4, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->y:Landroid/view/ViewGroup;
|
|
|
|
iget-object v5, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->L:Landroid/widget/RelativeLayout;
|
|
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->appId:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->adRequeestId:Ljava/lang/String;
|
|
|
|
.line 195
|
|
invoke-virtual {p2}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
new-instance v8, Lcom/moji/mjad/splash/view/SplashViewCreater$1;
|
|
|
|
invoke-direct {v8, p0, p1, p3, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater$1;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdMojiSplash;ZLcom/moji/mjad/splash/control/SplashAdControl;)V
|
|
|
|
iget v9, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->k:I
|
|
|
|
invoke-direct/range {v2 .. v9}, Lcom/qq/e/ads/splash/SplashAD;-><init>(Landroid/app/Activity;Landroid/view/ViewGroup;Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Lcom/qq/e/ads/splash/SplashADListener;I)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 271
|
|
:cond_1
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p3
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SPLASH_GET_STAT:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v1, "No Permissions"
|
|
|
|
invoke-virtual {p3, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 272
|
|
iget-object p3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
.line 273
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p3
|
|
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v0, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->sessionId:Ljava/lang/String;
|
|
|
|
const-string v1, "No Permissions"
|
|
|
|
invoke-virtual {p3, v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_2
|
|
const-string p3, "SplashViewCreater"
|
|
|
|
const-string v0, "SplashViewCreater--GDT-Splash-No Permissions:"
|
|
|
|
.line 275
|
|
invoke-static {p3, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 276
|
|
iget-object p3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
.line 277
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 279
|
|
:cond_3
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 282
|
|
:cond_4
|
|
iget-object v0, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget v0, v0, Lcom/moji/mjad/splash/data/AdSplashThird;->splashShowType:I
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ne v0, v1, :cond_8
|
|
|
|
.line 283
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SMALL_SPLASH_REQUEST:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v2, "time:1050"
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
if-eqz p3, :cond_5
|
|
|
|
.line 285
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v1, v1, Lcom/moji/mjad/splash/data/AdSplashThird;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lcom/moji/mjad/statistics/AdStatistics;->j(Ljava/lang/String;J)V
|
|
|
|
.line 288
|
|
:cond_5
|
|
iget-object v0, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Landroid/content/Context;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 289
|
|
new-instance v0, Lcom/qq/e/ads/nativ/NativeAD;
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
iget-object v2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplashThird;->appId:Ljava/lang/String;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v3, v3, Lcom/moji/mjad/splash/data/AdSplashThird;->adRequeestId:Ljava/lang/String;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
new-instance v4, Lcom/moji/mjad/splash/view/SplashViewCreater$2;
|
|
|
|
invoke-direct {v4, p0, p1, p3}, Lcom/moji/mjad/splash/view/SplashViewCreater$2;-><init>(Lcom/moji/mjad/splash/view/SplashViewCreater;Lcom/moji/mjad/splash/data/AdMojiSplash;Z)V
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Lcom/qq/e/ads/nativ/NativeAD;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/qq/e/ads/nativ/NativeAD$NativeAdListener;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 351
|
|
:try_start_0
|
|
invoke-virtual {v0, p1}, Lcom/qq/e/ads/nativ/NativeAD;->loadAD(I)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string p3, "SplashViewCreater"
|
|
|
|
.line 353
|
|
invoke-static {p3, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 354
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 357
|
|
:cond_6
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p3
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SMALL_SPLASH_GET_STAT:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
const-string v1, "No Permissions"
|
|
|
|
invoke-virtual {p3, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 358
|
|
iget-object p3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
if-eqz p3, :cond_7
|
|
|
|
.line 359
|
|
invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;
|
|
|
|
move-result-object p3
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdSplashThird;->sessionId:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p3, p1, v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->k(Ljava/lang/String;J)V
|
|
|
|
:cond_7
|
|
const-string p1, "LoadGDTAd"
|
|
|
|
const-string p3, "splash LoadGDTAd---No Permissions:"
|
|
|
|
.line 361
|
|
invoke-static {p1, p3}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 362
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 365
|
|
:cond_8
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 368
|
|
:cond_9
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 371
|
|
:cond_a
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-direct {p0, p1, p3}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplash;Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 374
|
|
:cond_b
|
|
invoke-direct {p0, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;Z)V
|
|
.locals 5
|
|
|
|
.line 382
|
|
iput-boolean p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->Q:Z
|
|
|
|
const-string v0, "SplashViewCreater"
|
|
|
|
const-string v1, "sea--splash--ready show ad"
|
|
|
|
.line 383
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_9
|
|
|
|
.line 384
|
|
invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isValid()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
const-string v1, "SplashViewCreater"
|
|
|
|
.line 385
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "sea--splash--data vaild-adPositionStat:"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;
|
|
|
|
invoke-virtual {v3}, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->name()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 386
|
|
iget-object v1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;
|
|
|
|
sget-object v2, Lcom/moji/mjad/enumdata/MojiAdPositionStat;->AD_THIRD_SDK_PRIORITY:Lcom/moji/mjad/enumdata/MojiAdPositionStat;
|
|
|
|
if-ne v1, v2, :cond_8
|
|
|
|
iget-object v1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 387
|
|
new-instance v1, Lcom/moji/mjad/splash/control/SplashAdControl;
|
|
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->e:Landroid/content/Context;
|
|
|
|
invoke-direct {v1, v2}, Lcom/moji/mjad/splash/control/SplashAdControl;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 388
|
|
iget-object v2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
invoke-virtual {v1, v2}, Lcom/moji/mjad/splash/control/SplashAdControl;->setAdInfo(Lcom/moji/mjad/base/data/MojiRecordData;)V
|
|
|
|
.line 389
|
|
iget-object v2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->h:Landroid/app/Activity;
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
iget-object v2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object v2, v2, Lcom/moji/mjad/splash/data/AdSplashThird;->partener:Lcom/moji/mjad/enumdata/ThirdAdPartener;
|
|
|
|
sget-object v3, Lcom/moji/mjad/enumdata/ThirdAdPartener;->PARTENER_GDT:Lcom/moji/mjad/enumdata/ThirdAdPartener;
|
|
|
|
if-ne v2, v3, :cond_7
|
|
|
|
const-string v2, "SplashViewCreater"
|
|
|
|
.line 390
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v4, "sea--splash--show gdt ad-isLoadThirdAd:"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 391
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->splashShowType:I
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-ne p2, v2, :cond_4
|
|
|
|
.line 392
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p2
|
|
|
|
sget-object v2, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_GDT_SPLASH_SHOW:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
iget-object v3, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-wide v3, v3, Lcom/moji/mjad/splash/data/AdSplashThird;->id:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p2, v2, v3}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 393
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 394
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->r:Landroid/widget/ImageView;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 395
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->s:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
.line 396
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->H:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {p2, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
.line 397
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->A:Landroid/widget/LinearLayout;
|
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V
|
|
|
|
.line 398
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->B:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V
|
|
|
|
.line 399
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->I:Landroid/widget/ImageView;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 400
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->I:Landroid/widget/ImageView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$drawable;->skip_bg:I
|
|
|
|
invoke-virtual {p2, v2}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
.line 402
|
|
:cond_0
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 403
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-boolean p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->isShowAdSign:Z
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 404
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_ad_text_size:I
|
|
|
|
invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p2, v0, v2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 405
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
sget v0, Lcom/moji/mjad/R$string;->ad_skip_ad:I
|
|
|
|
invoke-virtual {p2, v0}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 407
|
|
:cond_1
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
sget v2, Lcom/moji/mjad/R$dimen;->mj_ad_skip_text_size:I
|
|
|
|
invoke-static {v2}, Lcom/moji/tool/DeviceTool;->a(I)F
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p2, v0, v2}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
.line 408
|
|
iget-object p2, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->J:Landroid/widget/TextView;
|
|
|
|
sget v0, Lcom/moji/mjad/R$string;->ad_skip:I
|
|
|
|
invoke-virtual {p2, v0}, Landroid/widget/TextView;->setText(I)V
|
|
|
|
.line 411
|
|
:cond_2
|
|
:goto_0
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-wide p1, p1, Lcom/moji/mjad/splash/data/AdSplashThird;->id:J
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(J)V
|
|
|
|
.line 412
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 413
|
|
iget-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
invoke-interface {p1}, Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;->a()V
|
|
|
|
.line 416
|
|
:cond_3
|
|
invoke-virtual {v1}, Lcom/moji/mjad/splash/control/SplashAdControl;->recordShow()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 419
|
|
:cond_4
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->splashShowType:I
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ne p2, v1, :cond_5
|
|
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
iget-object p2, p2, Lcom/moji/mjad/splash/data/AdSplashThird;->tencentAd:Lcom/qq/e/ads/nativ/NativeADDataRef;
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 420
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->thirdSpalsh:Lcom/moji/mjad/splash/data/AdSplashThird;
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdSplashThird;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 421
|
|
iget-object p2, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
const-string p2, "SplashViewCreater"
|
|
|
|
const-string v0, "sea--splash--gdt failed-ready show moji ad"
|
|
|
|
.line 422
|
|
invoke-static {p2, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 423
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 425
|
|
:cond_6
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 429
|
|
:cond_7
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
const-string p2, "SplashViewCreater"
|
|
|
|
const-string v0, "sea--splash--ready show moji ad"
|
|
|
|
.line 432
|
|
invoke-static {p2, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 433
|
|
iget-object p1, p1, Lcom/moji/mjad/splash/data/AdMojiSplash;->mojiSpalsh:Lcom/moji/mjad/splash/data/AdSplash;
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Lcom/moji/mjad/splash/data/AdSplash;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 436
|
|
:cond_9
|
|
invoke-direct {p0, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->b(Z)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;)V
|
|
.locals 0
|
|
|
|
.line 106
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->v:Lcom/moji/mjad/splash/view/SplashViewCreater$OnFinishListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;)V
|
|
.locals 0
|
|
|
|
.line 809
|
|
iput-object p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->R:Lcom/moji/mjad/splash/view/SplashViewCreater$OnViewShowListener;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Z)V
|
|
.locals 0
|
|
|
|
.line 114
|
|
iput-boolean p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->x:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(I)V
|
|
.locals 0
|
|
|
|
.line 820
|
|
iput p1, p0, Lcom/moji/mjad/splash/view/SplashViewCreater;->k:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 379
|
|
invoke-virtual {p0, p1, p2, v0}, Lcom/moji/mjad/splash/view/SplashViewCreater;->a(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;Z)V
|
|
|
|
return-void
|
|
.end method
|