- 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
458 lines
10 KiB
Smali
458 lines
10 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/player/ui/p;
|
|
.super Lcom/fyber/inneractive/sdk/player/ui/k;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public a0:Landroid/widget/TextView;
|
|
|
|
.field public b0:Landroid/widget/TextView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Lcom/fyber/inneractive/sdk/flow/e;Lcom/fyber/inneractive/sdk/player/ui/a;Lcom/fyber/inneractive/sdk/config/global/s;ZLjava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct/range {p0 .. p6}, Lcom/fyber/inneractive/sdk/player/ui/k;-><init>(Landroid/content/Context;Lcom/fyber/inneractive/sdk/flow/e;Lcom/fyber/inneractive/sdk/player/ui/a;Lcom/fyber/inneractive/sdk/config/global/s;ZLjava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final b(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->a0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x4
|
|
|
|
.line 2
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Z)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->l:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->u:Landroid/view/ViewGroup;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 3
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
filled-new-array {v0}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v3, "end card is visible and requested to show last frame image with value of %s"
|
|
|
|
invoke-static {v3, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->l:Landroid/widget/ImageView;
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->p:Lcom/fyber/inneractive/sdk/model/vast/h;
|
|
|
|
.line 4
|
|
sget-object v4, Lcom/fyber/inneractive/sdk/model/vast/h;->FMP_End_Card:Lcom/fyber/inneractive/sdk/model/vast/h;
|
|
|
|
if-ne v3, v4, :cond_0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
move v1, v2
|
|
|
|
:cond_0
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->l:Landroid/widget/ImageView;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
move v1, v2
|
|
|
|
.line 6
|
|
:cond_2
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 2
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->T:Lcom/fyber/inneractive/sdk/ui/IAsmoothProgressBar;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x4
|
|
|
|
.line 4
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public getMuteUnMuteButtonResourceId()I
|
|
.locals 1
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$id;->ia_iv_mute_button:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTrackingFriendlyView()[Landroid/view/View;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x7
|
|
|
|
new-array v0, v0, [Landroid/view/View;
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->Q:Landroid/widget/TextView;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->a0:Landroid/widget/TextView;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->R:Landroid/widget/ImageView;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->T:Lcom/fyber/inneractive/sdk/ui/IAsmoothProgressBar;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->U:Landroid/view/View;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/s;->x:Landroid/widget/TextView;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getVideoProgressBarResourceId()I
|
|
.locals 1
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$id;->ia_video_progressbar:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getVideoViewLayoutId()I
|
|
.locals 1
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$layout;->ia_layout_video_view:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final h(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x4
|
|
|
|
.line 2
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final j()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public final m()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->Q:Landroid/widget/TextView;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, -0x2
|
|
|
|
.line 2
|
|
iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->Q:Landroid/widget/TextView;
|
|
|
|
.line 3
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->Q:Landroid/widget/TextView;
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
sget v2, Lcom/fyber/inneractive/sdk/R$dimen;->ia_video_overlay_text_large_for_cta:I
|
|
|
|
.line 5
|
|
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v2, v1}, Landroid/widget/TextView;->setTextSize(IF)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final n()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->a0:Landroid/widget/TextView;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/k;->T:Lcom/fyber/inneractive/sdk/ui/IAsmoothProgressBar;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public final s()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Lcom/fyber/inneractive/sdk/player/ui/k;->s()V
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$id;->ia_tv_remaining_time:I
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->a0:Landroid/widget/TextView;
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$id;->ia_tv_skip:I
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
const/4 v1, 0x6
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v0, v1}, Lcom/fyber/inneractive/sdk/player/ui/s;->a(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRemainingTime(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->a0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSkipText(Ljava/lang/String;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget v0, Lcom/fyber/inneractive/sdk/R$string;->ia_video_before_skip_format:I
|
|
|
|
.line 3
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
.line 4
|
|
sget-object v2, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->L:Lcom/fyber/inneractive/sdk/config/IAConfigManager;
|
|
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->u:Lcom/fyber/inneractive/sdk/config/e;
|
|
|
|
.line 5
|
|
invoke-virtual {v2}, Lcom/fyber/inneractive/sdk/config/e;->a()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
.line 6
|
|
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
.line 7
|
|
invoke-virtual {v2, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 8
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v1, v0, p1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/p;->b0:Landroid/widget/TextView;
|
|
|
|
.line 9
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|