- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
721 lines
18 KiB
Smali
721 lines
18 KiB
Smali
.class public Lcom/mbridge/msdk/out/MBBannerView;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/mbridge/msdk/out/BaseExtraInterfaceForHandler;
|
|
|
|
|
|
# instance fields
|
|
.field private bidToken:Ljava/lang/String;
|
|
|
|
.field private controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.field private hadAttached:Z
|
|
|
|
.field private isVisible:Z
|
|
|
|
.field private mBannerAdListener:Lcom/mbridge/msdk/out/BannerAdListener;
|
|
|
|
.field private mBridgeIds:Lcom/mbridge/msdk/out/MBridgeIds;
|
|
|
|
.field private unitId:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 39
|
|
invoke-direct {p0, p1, v0}, Lcom/mbridge/msdk/out/MBBannerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 43
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/mbridge/msdk/out/MBBannerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 47
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p2, 0x0
|
|
|
|
iput-boolean p2, p0, Lcom/mbridge/msdk/out/MBBannerView;->hadAttached:Z
|
|
|
|
iput-boolean p2, p0, Lcom/mbridge/msdk/out/MBBannerView;->isVisible:Z
|
|
|
|
.line 48
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1}, Lcom/mbridge/msdk/foundation/controller/a;->a(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$000(Lcom/mbridge/msdk/out/MBBannerView;)Lcom/mbridge/msdk/mbbanner/a/a;
|
|
.locals 0
|
|
|
|
.line 28
|
|
iget-object p0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private callbackAndReportFail(Lcom/mbridge/msdk/foundation/same/report/d/c;Lcom/mbridge/msdk/foundation/c/b;)V
|
|
.locals 2
|
|
|
|
const-string v0, ""
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 126
|
|
:try_start_0
|
|
invoke-virtual {p2}, Lcom/mbridge/msdk/foundation/c/b;->b()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 128
|
|
:cond_0
|
|
:goto_0
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/foundation/same/report/d/c;->a(Lcom/mbridge/msdk/foundation/c/b;)V
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 129
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/foundation/same/report/d/c;->c(Z)V
|
|
|
|
const-string p2, "2000047"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 130
|
|
invoke-static {p2, p1, v1}, Lcom/mbridge/msdk/mbbanner/common/d/a;->a(Ljava/lang/String;Lcom/mbridge/msdk/foundation/same/report/d/c;Lcom/mbridge/msdk/foundation/same/report/d/e;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
const-string p2, "BannerView"
|
|
|
|
.line 132
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p2, p1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:goto_2
|
|
iget-object p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBannerAdListener:Lcom/mbridge/msdk/out/BannerAdListener;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p2, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBridgeIds:Lcom/mbridge/msdk/out/MBridgeIds;
|
|
|
|
.line 135
|
|
invoke-interface {p1, p2, v0}, Lcom/mbridge/msdk/out/BannerAdListener;->onLoadFailed(Lcom/mbridge/msdk/out/MBridgeIds;Ljava/lang/String;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private delayedNotify()V
|
|
.locals 3
|
|
|
|
.line 224
|
|
new-instance v0, Lcom/mbridge/msdk/out/MBBannerView$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/mbridge/msdk/out/MBBannerView$1;-><init>(Lcom/mbridge/msdk/out/MBBannerView;)V
|
|
|
|
const-wide/16 v1, 0xc8
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private updateAttachedState(Z)V
|
|
.locals 1
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->hadAttached:Z
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 188
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->b(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getCreativeIdWithUnitId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 149
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/mbbanner/a/a;->b()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v0, ""
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRequestId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 142
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/mbbanner/a/a;->a()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v0, ""
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public init(Lcom/mbridge/msdk/out/BannerSize;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iput-object p3, p0, Lcom/mbridge/msdk/out/MBBannerView;->unitId:Ljava/lang/String;
|
|
|
|
.line 53
|
|
new-instance v0, Lcom/mbridge/msdk/out/MBridgeIds;
|
|
|
|
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v1, ""
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v1, p2
|
|
|
|
:goto_0
|
|
invoke-direct {v0, v1, p3}, Lcom/mbridge/msdk/out/MBridgeIds;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBridgeIds:Lcom/mbridge/msdk/out/MBridgeIds;
|
|
|
|
.line 54
|
|
invoke-static {p3}, Lcom/mbridge/msdk/foundation/tools/ak;->e(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 55
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 56
|
|
invoke-static {p3, v0}, Lcom/mbridge/msdk/foundation/tools/ak;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 58
|
|
:cond_1
|
|
new-instance v0, Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lcom/mbridge/msdk/mbbanner/a/a;-><init>(Lcom/mbridge/msdk/out/MBBannerView;Lcom/mbridge/msdk/out/BannerSize;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
iget-boolean p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->isVisible:Z
|
|
|
|
.line 59
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->c(Z)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
iget-boolean p2, p0, Lcom/mbridge/msdk/out/MBBannerView;->hadAttached:Z
|
|
|
|
.line 60
|
|
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/mbbanner/a/a;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public load()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->bidToken:Ljava/lang/String;
|
|
|
|
.line 84
|
|
invoke-static {v0}, Lcom/mbridge/msdk/mbbanner/common/d/a;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->unitId:Ljava/lang/String;
|
|
|
|
.line 85
|
|
invoke-static {v1, v0}, Lcom/mbridge/msdk/mbbanner/common/d/a;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/mbridge/msdk/foundation/same/report/d/c;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "0"
|
|
|
|
.line 86
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/foundation/same/report/d/c;->i(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-boolean v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->hadAttached:Z
|
|
|
|
.line 89
|
|
invoke-virtual {v2, v1}, Lcom/mbridge/msdk/mbbanner/a/a;->b(Z)V
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
const-string v2, ""
|
|
|
|
.line 90
|
|
invoke-virtual {v1, v2, v0}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 92
|
|
:cond_0
|
|
new-instance v2, Lcom/mbridge/msdk/foundation/c/b;
|
|
|
|
const v3, 0xd6daa
|
|
|
|
invoke-direct {v2, v3}, Lcom/mbridge/msdk/foundation/c/b;-><init>(I)V
|
|
|
|
.line 93
|
|
invoke-virtual {v2, v0}, Lcom/mbridge/msdk/foundation/c/b;->b(Ljava/lang/String;)V
|
|
|
|
.line 94
|
|
invoke-direct {p0, v1, v2}, Lcom/mbridge/msdk/out/MBBannerView;->callbackAndReportFail(Lcom/mbridge/msdk/foundation/same/report/d/c;Lcom/mbridge/msdk/foundation/c/b;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public loadFromBid(Ljava/lang/String;)V
|
|
.locals 3
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->bidToken:Ljava/lang/String;
|
|
|
|
.line 100
|
|
invoke-static {p1}, Lcom/mbridge/msdk/mbbanner/common/d/a;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->unitId:Ljava/lang/String;
|
|
|
|
.line 101
|
|
invoke-static {v1, v0}, Lcom/mbridge/msdk/mbbanner/common/d/a;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/mbridge/msdk/foundation/same/report/d/c;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "1"
|
|
|
|
.line 102
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/foundation/same/report/d/c;->i(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 105
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
iget-boolean v2, p0, Lcom/mbridge/msdk/out/MBBannerView;->hadAttached:Z
|
|
|
|
.line 106
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/mbbanner/a/a;->b(Z)V
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 108
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/mbbanner/a/a;->a(I)V
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.line 109
|
|
invoke-virtual {v1, p1, v0}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 111
|
|
:cond_0
|
|
new-instance p1, Lcom/mbridge/msdk/foundation/c/b;
|
|
|
|
const v2, 0xd6da3
|
|
|
|
invoke-direct {p1, v2}, Lcom/mbridge/msdk/foundation/c/b;-><init>(I)V
|
|
|
|
.line 112
|
|
invoke-virtual {p1, v0}, Lcom/mbridge/msdk/foundation/c/b;->b(Ljava/lang/String;)V
|
|
|
|
.line 113
|
|
invoke-direct {p0, v1, p1}, Lcom/mbridge/msdk/out/MBBannerView;->callbackAndReportFail(Lcom/mbridge/msdk/foundation/same/report/d/c;Lcom/mbridge/msdk/foundation/c/b;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 116
|
|
:cond_1
|
|
new-instance p1, Lcom/mbridge/msdk/foundation/c/b;
|
|
|
|
const v2, 0xd6daa
|
|
|
|
invoke-direct {p1, v2}, Lcom/mbridge/msdk/foundation/c/b;-><init>(I)V
|
|
|
|
.line 117
|
|
invoke-virtual {p1, v0}, Lcom/mbridge/msdk/foundation/c/b;->b(Ljava/lang/String;)V
|
|
|
|
.line 118
|
|
invoke-direct {p0, v1, p1}, Lcom/mbridge/msdk/out/MBBannerView;->callbackAndReportFail(Lcom/mbridge/msdk/foundation/same/report/d/c;Lcom/mbridge/msdk/foundation/c/b;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAttachedToWindow()V
|
|
.locals 1
|
|
|
|
.line 174
|
|
invoke-super {p0}, Landroid/view/View;->onAttachedToWindow()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 175
|
|
invoke-direct {p0, v0}, Lcom/mbridge/msdk/out/MBBannerView;->updateAttachedState(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDetachedFromWindow()V
|
|
.locals 1
|
|
|
|
.line 180
|
|
invoke-super {p0}, Landroid/view/View;->onDetachedFromWindow()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 181
|
|
invoke-direct {p0, v0}, Lcom/mbridge/msdk/out/MBBannerView;->updateAttachedState(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPause()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->bidToken:Ljava/lang/String;
|
|
|
|
.line 243
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.line 244
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/mbbanner/a/a;->e()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->bidToken:Ljava/lang/String;
|
|
|
|
.line 249
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget-boolean v0, Lcom/mbridge/msdk/foundation/d/b;->c:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.line 250
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/mbbanner/a/a;->f()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSizeChanged(IIII)V
|
|
.locals 1
|
|
|
|
.line 236
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/view/View;->onSizeChanged(IIII)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 238
|
|
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/mbridge/msdk/mbbanner/a/a;->a(IIII)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onVisibilityChanged(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
.line 211
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, p1
|
|
|
|
:goto_0
|
|
iput-boolean v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->isVisible:Z
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
.line 215
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/out/MBBannerView;->delayedNotify()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 217
|
|
:cond_1
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->c(Z)V
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onWindowVisibilityChanged(I)V
|
|
.locals 2
|
|
|
|
.line 194
|
|
invoke-super {p0, p1}, Landroid/view/View;->onWindowVisibilityChanged(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v1, v0
|
|
|
|
:goto_0
|
|
iput-boolean v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->isVisible:Z
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 199
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/out/MBBannerView;->delayedNotify()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 201
|
|
:cond_1
|
|
sget-boolean p1, Lcom/mbridge/msdk/foundation/d/b;->c:Z
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.line 204
|
|
invoke-virtual {p1, v0}, Lcom/mbridge/msdk/mbbanner/a/a;->c(Z)V
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public release()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBannerAdListener:Lcom/mbridge/msdk/out/BannerAdListener;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iput-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBannerAdListener:Lcom/mbridge/msdk/out/BannerAdListener;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 166
|
|
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Lcom/mbridge/msdk/out/BannerAdListener;)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
.line 167
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/mbbanner/a/a;->c()V
|
|
|
|
.line 169
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->removeAllViews()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setAllowShowCloseBtn(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 79
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBannerAdListener(Lcom/mbridge/msdk/out/BannerAdListener;)V
|
|
.locals 1
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/out/MBBannerView;->mBannerAdListener:Lcom/mbridge/msdk/out/BannerAdListener;
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 157
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Lcom/mbridge/msdk/out/BannerAdListener;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setExtraInfo(Lorg/json/JSONObject;)V
|
|
.locals 2
|
|
|
|
.line 256
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/out/MBBannerView;->unitId:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/mbridge/msdk/foundation/controller/a;->a(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRefreshTime(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 72
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->a(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public updateBannerSize(Lcom/mbridge/msdk/out/BannerSize;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/out/MBBannerView;->controller:Lcom/mbridge/msdk/mbbanner/a/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 65
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/mbbanner/a/a;->a(Lcom/mbridge/msdk/out/BannerSize;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|