- 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
3276 lines
71 KiB
Smali
3276 lines
71 KiB
Smali
.class public Lcom/applovin/exoplayer2/ui/e;
|
|
.super Landroid/widget/FrameLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/applovin/exoplayer2/ui/e$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private A:Z
|
|
|
|
.field private final a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.field private final b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.field private final c:Landroid/view/View;
|
|
|
|
.field private final d:Landroid/view/View;
|
|
|
|
.field private final f:Z
|
|
|
|
.field private final g:Landroid/widget/ImageView;
|
|
|
|
.field private final h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
.field private final i:Landroid/view/View;
|
|
|
|
.field private final j:Landroid/widget/TextView;
|
|
|
|
.field private final k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.field private final l:Landroid/widget/FrameLayout;
|
|
|
|
.field private final m:Landroid/widget/FrameLayout;
|
|
|
|
.field private n:Lcom/applovin/impl/qh;
|
|
|
|
.field private o:Z
|
|
|
|
.field private p:Lcom/applovin/exoplayer2/ui/d$e;
|
|
|
|
.field private q:Z
|
|
|
|
.field private r:Landroid/graphics/drawable/Drawable;
|
|
|
|
.field private s:I
|
|
|
|
.field private t:Z
|
|
|
|
.field private u:Ljava/lang/CharSequence;
|
|
|
|
.field private v:I
|
|
|
|
.field private w:Z
|
|
|
|
.field private x:Z
|
|
|
|
.field private y:Z
|
|
|
|
.field private z:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, v0}, Lcom/applovin/exoplayer2/ui/e;-><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 2
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/applovin/exoplayer2/ui/e;-><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 20
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
.line 3
|
|
invoke-direct/range {p0 .. p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 5
|
|
new-instance v3, Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
invoke-direct {v3, v1}, Lcom/applovin/exoplayer2/ui/e$a;-><init>(Lcom/applovin/exoplayer2/ui/e;)V
|
|
|
|
iput-object v3, v1, Lcom/applovin/exoplayer2/ui/e;->a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.line 7
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->isInEditMode()Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->c:Landroid/view/View;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
iput-boolean v6, v1, Lcom/applovin/exoplayer2/ui/e;->f:Z
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->i:Landroid/view/View;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->l:Landroid/widget/FrameLayout;
|
|
|
|
iput-object v5, v1, Lcom/applovin/exoplayer2/ui/e;->m:Landroid/widget/FrameLayout;
|
|
|
|
.line 19
|
|
new-instance v2, Landroid/widget/ImageView;
|
|
|
|
invoke-direct {v2, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 20
|
|
sget v0, Lcom/applovin/impl/xp;->a:I
|
|
|
|
const/16 v3, 0x17
|
|
|
|
if-lt v0, v3, :cond_0
|
|
|
|
.line 21
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v2}, Lcom/applovin/exoplayer2/ui/e;->b(Landroid/content/res/Resources;Landroid/widget/ImageView;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 23
|
|
:cond_0
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v2}, Lcom/applovin/exoplayer2/ui/e;->a(Landroid/content/res/Resources;Landroid/widget/ImageView;)V
|
|
|
|
.line 25
|
|
:goto_0
|
|
invoke-virtual {v1, v2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
sget v4, Lcom/applovin/sdk/R$layout;->applovin_exo_player_view:I
|
|
|
|
const/4 v7, 0x1
|
|
|
|
const/16 v8, 0x1388
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 45
|
|
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
move-result-object v9
|
|
|
|
sget-object v10, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView:[I
|
|
|
|
move/from16 v11, p3
|
|
|
|
.line 46
|
|
invoke-virtual {v9, v2, v10, v11, v6}, Landroid/content/res/Resources$Theme;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object v9
|
|
|
|
.line 49
|
|
:try_start_0
|
|
sget v10, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_shutter_background_color:I
|
|
|
|
invoke-virtual {v9, v10}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
move-result v10
|
|
|
|
.line 50
|
|
sget v11, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_shutter_background_color:I
|
|
|
|
invoke-virtual {v9, v11, v6}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result v11
|
|
|
|
.line 51
|
|
sget v12, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_player_layout_id:I
|
|
|
|
invoke-virtual {v9, v12, v4}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v4
|
|
|
|
.line 52
|
|
sget v12, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_use_artwork:I
|
|
|
|
invoke-virtual {v9, v12, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v12
|
|
|
|
.line 53
|
|
sget v13, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_default_artwork:I
|
|
|
|
.line 54
|
|
invoke-virtual {v9, v13, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v13
|
|
|
|
.line 55
|
|
sget v14, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_use_controller:I
|
|
|
|
invoke-virtual {v9, v14, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v14
|
|
|
|
.line 56
|
|
sget v15, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_surface_type:I
|
|
|
|
invoke-virtual {v9, v15, v7}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v15
|
|
|
|
.line 57
|
|
sget v5, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_resize_mode:I
|
|
|
|
invoke-virtual {v9, v5, v6}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v5
|
|
|
|
.line 58
|
|
sget v6, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_show_timeout:I
|
|
|
|
.line 59
|
|
invoke-virtual {v9, v6, v8}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result v8
|
|
|
|
.line 60
|
|
sget v6, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_hide_on_touch:I
|
|
|
|
.line 61
|
|
invoke-virtual {v9, v6, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v6
|
|
|
|
move/from16 p3, v4
|
|
|
|
.line 62
|
|
sget v4, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_auto_show:I
|
|
|
|
invoke-virtual {v9, v4, v7}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v4
|
|
|
|
.line 63
|
|
sget v7, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_show_buffering:I
|
|
|
|
move/from16 v17, v4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {v9, v7, v4}, Landroid/content/res/TypedArray;->getInteger(II)I
|
|
|
|
move-result v7
|
|
|
|
.line 64
|
|
sget v4, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_keep_content_on_player_reset:I
|
|
|
|
move/from16 v18, v5
|
|
|
|
iget-boolean v5, v1, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
.line 65
|
|
invoke-virtual {v9, v4, v5}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v4
|
|
|
|
iput-boolean v4, v1, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
.line 67
|
|
sget v4, Lcom/applovin/sdk/R$styleable;->AppLovinPlayerView_al_hide_during_ads:I
|
|
|
|
const/4 v5, 0x1
|
|
|
|
.line 68
|
|
invoke-virtual {v9, v4, v5}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v4
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 70
|
|
invoke-virtual {v9}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
move v9, v6
|
|
|
|
move/from16 v5, v17
|
|
|
|
move/from16 v6, v18
|
|
|
|
move/from16 v17, v14
|
|
|
|
move v14, v13
|
|
|
|
move v13, v12
|
|
|
|
move v12, v11
|
|
|
|
move v11, v10
|
|
|
|
move v10, v15
|
|
|
|
move/from16 v19, v4
|
|
|
|
move/from16 v4, p3
|
|
|
|
move/from16 p3, v8
|
|
|
|
move/from16 v8, v19
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 71
|
|
invoke-virtual {v9}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
.line 72
|
|
throw v0
|
|
|
|
:cond_2
|
|
move/from16 p3, v8
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x1
|
|
|
|
const/4 v9, 0x1
|
|
|
|
const/4 v10, 0x1
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
const/4 v13, 0x1
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/16 v17, 0x1
|
|
|
|
.line 75
|
|
:goto_1
|
|
invoke-static/range {p1 .. p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-virtual {v15, v4, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
const/high16 v4, 0x40000
|
|
|
|
.line 76
|
|
invoke-virtual {v1, v4}, Landroid/view/ViewGroup;->setDescendantFocusability(I)V
|
|
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_content_frame:I
|
|
|
|
.line 79
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 81
|
|
invoke-static {v4, v6}, Lcom/applovin/exoplayer2/ui/e;->a(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;I)V
|
|
|
|
:cond_3
|
|
sget v6, Lcom/applovin/sdk/R$id;->al_exo_shutter:I
|
|
|
|
.line 85
|
|
invoke-virtual {v1, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v1, Lcom/applovin/exoplayer2/ui/e;->c:Landroid/view/View;
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
if-eqz v11, :cond_4
|
|
|
|
.line 87
|
|
invoke-virtual {v6, v12}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
:cond_4
|
|
if-eqz v4, :cond_8
|
|
|
|
if-eqz v10, :cond_8
|
|
|
|
.line 93
|
|
new-instance v6, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
const/4 v11, -0x1
|
|
|
|
invoke-direct {v6, v11, v11}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
const/4 v11, 0x2
|
|
|
|
if-eq v10, v11, :cond_7
|
|
|
|
const/4 v11, 0x3
|
|
|
|
const-class v12, Landroid/content/Context;
|
|
|
|
if-eq v10, v11, :cond_6
|
|
|
|
const/4 v11, 0x4
|
|
|
|
if-eq v10, v11, :cond_5
|
|
|
|
.line 123
|
|
new-instance v10, Landroid/view/SurfaceView;
|
|
|
|
invoke-direct {v10, v0}, Landroid/view/SurfaceView;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v10, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
:goto_2
|
|
const/4 v11, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
:try_start_1
|
|
const-class v10, Lcom/applovin/impl/rq;
|
|
|
|
.line 125
|
|
sget v11, Lcom/applovin/impl/rq;->$r8$clinit:I
|
|
|
|
const/4 v11, 0x1
|
|
|
|
new-array v15, v11, [Ljava/lang/Class;
|
|
|
|
const/4 v11, 0x0
|
|
|
|
aput-object v12, v15, v11
|
|
|
|
.line 126
|
|
invoke-virtual {v10, v15}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v10
|
|
|
|
filled-new-array/range {p1 .. p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-virtual {v10, v11}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
check-cast v10, Landroid/view/View;
|
|
|
|
iput-object v10, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 128
|
|
new-instance v2, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v3, "video_decoder_gl_surface_view requires an ExoPlayer dependency"
|
|
|
|
invoke-direct {v2, v3, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
|
|
:cond_6
|
|
:try_start_2
|
|
const-class v10, Lcom/applovin/impl/rk;
|
|
|
|
.line 130
|
|
sget v11, Lcom/applovin/impl/rk;->$r8$clinit:I
|
|
|
|
const/4 v11, 0x1
|
|
|
|
new-array v15, v11, [Ljava/lang/Class;
|
|
|
|
const/16 v16, 0x0
|
|
|
|
aput-object v12, v15, v16
|
|
|
|
.line 132
|
|
invoke-virtual {v10, v15}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v10
|
|
|
|
filled-new-array/range {p1 .. p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v12
|
|
|
|
invoke-virtual {v10, v12}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
check-cast v10, Landroid/view/View;
|
|
|
|
iput-object v10, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
move v10, v11
|
|
|
|
goto :goto_4
|
|
|
|
:catch_1
|
|
move-exception v0
|
|
|
|
.line 134
|
|
new-instance v2, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v3, "spherical_gl_surface_view requires an ExoPlayer dependency"
|
|
|
|
invoke-direct {v2, v3, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
|
|
:cond_7
|
|
const/4 v11, 0x1
|
|
|
|
.line 135
|
|
new-instance v10, Landroid/view/TextureView;
|
|
|
|
invoke-direct {v10, v0}, Landroid/view/TextureView;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v10, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
:goto_3
|
|
const/4 v10, 0x0
|
|
|
|
:goto_4
|
|
iget-object v12, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 163
|
|
invoke-virtual {v12, v6}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
iget-object v6, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 167
|
|
invoke-virtual {v6, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
iget-object v6, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
const/4 v12, 0x0
|
|
|
|
.line 168
|
|
invoke-virtual {v6, v12}, Landroid/view/View;->setClickable(Z)V
|
|
|
|
iget-object v6, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 169
|
|
invoke-virtual {v4, v6, v12}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V
|
|
|
|
move v4, v10
|
|
|
|
goto :goto_5
|
|
|
|
:cond_8
|
|
const/4 v11, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_5
|
|
iput-boolean v4, v1, Lcom/applovin/exoplayer2/ui/e;->f:Z
|
|
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_ad_overlay:I
|
|
|
|
.line 176
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/widget/FrameLayout;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->l:Landroid/widget/FrameLayout;
|
|
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_overlay:I
|
|
|
|
.line 179
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/widget/FrameLayout;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->m:Landroid/widget/FrameLayout;
|
|
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_artwork:I
|
|
|
|
.line 182
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/widget/ImageView;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
if-eqz v13, :cond_9
|
|
|
|
if-eqz v4, :cond_9
|
|
|
|
move v4, v11
|
|
|
|
goto :goto_6
|
|
|
|
:cond_9
|
|
const/4 v4, 0x0
|
|
|
|
:goto_6
|
|
iput-boolean v4, v1, Lcom/applovin/exoplayer2/ui/e;->q:Z
|
|
|
|
if-eqz v14, :cond_a
|
|
|
|
.line 185
|
|
invoke-virtual/range {p0 .. p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4, v14}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->r:Landroid/graphics/drawable/Drawable;
|
|
|
|
:cond_a
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_subtitles:I
|
|
|
|
.line 189
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
if-eqz v4, :cond_b
|
|
|
|
.line 191
|
|
invoke-virtual {v4}, Lcom/applovin/exoplayer2/ui/SubtitleView;->c()V
|
|
|
|
.line 192
|
|
invoke-virtual {v4}, Lcom/applovin/exoplayer2/ui/SubtitleView;->d()V
|
|
|
|
:cond_b
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_buffering:I
|
|
|
|
.line 196
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->i:Landroid/view/View;
|
|
|
|
const/16 v6, 0x8
|
|
|
|
if-eqz v4, :cond_c
|
|
|
|
.line 198
|
|
invoke-virtual {v4, v6}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_c
|
|
iput v7, v1, Lcom/applovin/exoplayer2/ui/e;->s:I
|
|
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_error_message:I
|
|
|
|
.line 203
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/widget/TextView;
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
if-eqz v4, :cond_d
|
|
|
|
.line 205
|
|
invoke-virtual {v4, v6}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_d
|
|
sget v4, Lcom/applovin/sdk/R$id;->al_exo_controller:I
|
|
|
|
.line 209
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
sget v6, Lcom/applovin/sdk/R$id;->al_exo_controller_placeholder:I
|
|
|
|
.line 210
|
|
invoke-virtual {v1, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
if-eqz v4, :cond_e
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_e
|
|
if-eqz v6, :cond_f
|
|
|
|
.line 216
|
|
new-instance v4, Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
invoke-direct {v4, v0, v10, v7, v2}, Lcom/applovin/exoplayer2/ui/d;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;ILandroid/util/AttributeSet;)V
|
|
|
|
iput-object v4, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
sget v0, Lcom/applovin/sdk/R$id;->al_exo_controller:I
|
|
|
|
.line 217
|
|
invoke-virtual {v4, v0}, Landroid/view/View;->setId(I)V
|
|
|
|
.line 218
|
|
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v4, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 219
|
|
invoke-virtual {v6}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
.line 220
|
|
invoke-virtual {v0, v6}, Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I
|
|
|
|
move-result v2
|
|
|
|
.line 221
|
|
invoke-virtual {v0, v6}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
|
|
|
|
.line 222
|
|
invoke-virtual {v0, v4, v2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V
|
|
|
|
goto :goto_7
|
|
|
|
:cond_f
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
iput-object v0, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
:goto_7
|
|
iget-object v0, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
move/from16 v4, p3
|
|
|
|
goto :goto_8
|
|
|
|
:cond_10
|
|
move v4, v7
|
|
|
|
:goto_8
|
|
iput v4, v1, Lcom/applovin/exoplayer2/ui/e;->v:I
|
|
|
|
iput-boolean v9, v1, Lcom/applovin/exoplayer2/ui/e;->y:Z
|
|
|
|
iput-boolean v5, v1, Lcom/applovin/exoplayer2/ui/e;->w:Z
|
|
|
|
iput-boolean v8, v1, Lcom/applovin/exoplayer2/ui/e;->x:Z
|
|
|
|
if-eqz v17, :cond_11
|
|
|
|
if-eqz v0, :cond_11
|
|
|
|
move v6, v11
|
|
|
|
goto :goto_9
|
|
|
|
:cond_11
|
|
move v6, v7
|
|
|
|
:goto_9
|
|
iput-boolean v6, v1, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
.line 231
|
|
invoke-virtual/range {p0 .. p0}, Lcom/applovin/exoplayer2/ui/e;->c()V
|
|
|
|
.line 232
|
|
invoke-direct/range {p0 .. p0}, Lcom/applovin/exoplayer2/ui/e;->j()V
|
|
|
|
iget-object v0, v1, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz v0, :cond_12
|
|
|
|
.line 234
|
|
invoke-virtual {v0, v3}, Lcom/applovin/exoplayer2/ui/d;->a(Lcom/applovin/exoplayer2/ui/d$e;)V
|
|
|
|
:cond_12
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/applovin/exoplayer2/ui/e;)Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
.locals 0
|
|
|
|
.line 1343
|
|
iget-object p0, p0, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private a()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->c:Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 1364
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Landroid/content/res/Resources;Landroid/widget/ImageView;)V
|
|
.locals 1
|
|
|
|
sget v0, Lcom/applovin/sdk/R$drawable;->applovin_exo_edit_mode_logo:I
|
|
|
|
.line 1365
|
|
invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
sget v0, Lcom/applovin/sdk/R$color;->al_exo_edit_mode_background_color:I
|
|
|
|
.line 1366
|
|
invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getColor(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1, p0}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Landroid/view/TextureView;I)V
|
|
.locals 0
|
|
|
|
.line 1344
|
|
invoke-static {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->b(Landroid/view/TextureView;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;I)V
|
|
.locals 0
|
|
|
|
.line 1367
|
|
invoke-virtual {p0, p1}, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;->setResizeMode(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/applovin/exoplayer2/ui/e;Z)V
|
|
.locals 0
|
|
|
|
.line 1345
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->c(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Z)V
|
|
.locals 2
|
|
|
|
.line 1348
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->x:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1351
|
|
:cond_0
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1352
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/d;->c()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/d;->getShowTimeoutMs()I
|
|
|
|
move-result v0
|
|
|
|
if-gtz v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
.line 1353
|
|
:goto_0
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->e()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 1355
|
|
:cond_2
|
|
invoke-direct {p0, v1}, Lcom/applovin/exoplayer2/ui/e;->b(Z)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(I)Z
|
|
.locals 1
|
|
|
|
.line 0
|
|
const/16 v0, 0x13
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x10e
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x16
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x10f
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x14
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x10d
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x15
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x10c
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x17
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|
|
|
|
.method private a(Landroid/graphics/drawable/Drawable;)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1356
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
|
|
|
|
move-result v1
|
|
|
|
.line 1357
|
|
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
|
|
|
|
move-result v2
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
if-lez v2, :cond_0
|
|
|
|
int-to-float v1, v1
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
iget-object v2, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 1360
|
|
invoke-virtual {p0, v2, v1}, Lcom/applovin/exoplayer2/ui/e;->a(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;F)V
|
|
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
.line 1361
|
|
invoke-virtual {v1, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
.line 1362
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method private a(Lcom/applovin/impl/vd;)Z
|
|
.locals 2
|
|
|
|
.line 1336
|
|
iget-object p1, p1, Lcom/applovin/impl/vd;->l:[B
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 1339
|
|
:cond_0
|
|
array-length v1, p1
|
|
|
|
.line 1340
|
|
invoke-static {p1, v0, v1}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;
|
|
|
|
move-result-object p1
|
|
|
|
.line 1342
|
|
new-instance v0, Landroid/graphics/drawable/BitmapDrawable;
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/applovin/exoplayer2/ui/e;->a(Landroid/graphics/drawable/Drawable;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method private b()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const v1, 0x106000d
|
|
|
|
.line 8
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
.line 9
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static b(Landroid/content/res/Resources;Landroid/widget/ImageView;)V
|
|
.locals 2
|
|
|
|
sget v0, Lcom/applovin/sdk/R$drawable;->applovin_exo_edit_mode_logo:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 10
|
|
invoke-virtual {p0, v0, v1}, Landroid/content/res/Resources;->getDrawable(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
sget v0, Lcom/applovin/sdk/R$color;->al_exo_edit_mode_background_color:I
|
|
|
|
.line 11
|
|
invoke-virtual {p0, v0, v1}, Landroid/content/res/Resources;->getColor(ILandroid/content/res/Resources$Theme;)I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1, p0}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static b(Landroid/view/TextureView;I)V
|
|
.locals 6
|
|
|
|
.line 12
|
|
new-instance v0, Landroid/graphics/Matrix;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V
|
|
|
|
.line 13
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
move-result v2
|
|
|
|
int-to-float v2, v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
cmpl-float v4, v1, v3
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
cmpl-float v4, v2, v3
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/high16 v4, 0x40000000 # 2.0f
|
|
|
|
div-float v5, v1, v4
|
|
|
|
div-float v4, v2, v4
|
|
|
|
int-to-float p1, p1
|
|
|
|
.line 18
|
|
invoke-virtual {v0, p1, v5, v4}, Landroid/graphics/Matrix;->postRotate(FFF)Z
|
|
|
|
.line 21
|
|
new-instance p1, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {p1, v3, v3, v1, v2}, Landroid/graphics/RectF;-><init>(FFFF)V
|
|
|
|
.line 22
|
|
new-instance v3, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v3}, Landroid/graphics/RectF;-><init>()V
|
|
|
|
.line 23
|
|
invoke-virtual {v0, v3, p1}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;Landroid/graphics/RectF;)Z
|
|
|
|
.line 25
|
|
invoke-virtual {v3}, Landroid/graphics/RectF;->width()F
|
|
|
|
move-result p1
|
|
|
|
div-float/2addr v1, p1
|
|
|
|
.line 26
|
|
invoke-virtual {v3}, Landroid/graphics/RectF;->height()F
|
|
|
|
move-result p1
|
|
|
|
div-float/2addr v2, p1
|
|
|
|
.line 27
|
|
invoke-virtual {v0, v1, v2, v5, v4}, Landroid/graphics/Matrix;->postScale(FFFF)Z
|
|
|
|
.line 33
|
|
:cond_0
|
|
invoke-virtual {p0, v0}, Landroid/view/TextureView;->setTransform(Landroid/graphics/Matrix;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic b(Lcom/applovin/exoplayer2/ui/e;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->h()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private b(Z)V
|
|
.locals 1
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget p1, p0, Lcom/applovin/exoplayer2/ui/e;->v:I
|
|
|
|
.line 5
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowTimeoutMs(I)V
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 6
|
|
invoke-virtual {p1}, Lcom/applovin/exoplayer2/ui/d;->g()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic c(Lcom/applovin/exoplayer2/ui/e;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Lcom/applovin/exoplayer2/ui/e;->z:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private c(Z)V
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 5
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->k()Lcom/applovin/impl/po;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/applovin/impl/po;->a()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 15
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->a()V
|
|
|
|
.line 18
|
|
:cond_1
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->A()Lcom/applovin/impl/to;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
.line 19
|
|
:goto_0
|
|
iget v3, p1, Lcom/applovin/impl/to;->a:I
|
|
|
|
if-ge v2, v3, :cond_4
|
|
|
|
.line 20
|
|
invoke-virtual {p1, v2}, Lcom/applovin/impl/to;->a(I)Lcom/applovin/impl/so;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
move v4, v1
|
|
|
|
.line 22
|
|
:goto_1
|
|
invoke-interface {v3}, Lcom/applovin/impl/so;->b()I
|
|
|
|
move-result v5
|
|
|
|
if-ge v4, v5, :cond_3
|
|
|
|
.line 23
|
|
invoke-interface {v3, v4}, Lcom/applovin/impl/so;->a(I)Lcom/applovin/impl/f9;
|
|
|
|
move-result-object v5
|
|
|
|
.line 24
|
|
iget-object v5, v5, Lcom/applovin/impl/f9;->m:Ljava/lang/String;
|
|
|
|
invoke-static {v5}, Lcom/applovin/impl/if;->e(Ljava/lang/String;)I
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x2
|
|
|
|
if-ne v5, v6, :cond_2
|
|
|
|
.line 27
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->b()V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 35
|
|
:cond_4
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->a()V
|
|
|
|
.line 37
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->m()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 38
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->C()Lcom/applovin/impl/vd;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->a(Lcom/applovin/impl/vd;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->r:Landroid/graphics/drawable/Drawable;
|
|
|
|
.line 41
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->a(Landroid/graphics/drawable/Drawable;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_6
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->b()V
|
|
|
|
return-void
|
|
|
|
:cond_7
|
|
:goto_2
|
|
iget-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
if-nez p1, :cond_8
|
|
|
|
.line 48
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->b()V
|
|
|
|
.line 49
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->a()V
|
|
|
|
:cond_8
|
|
return-void
|
|
.end method
|
|
|
|
.method private d()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->l()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 static synthetic d(Lcom/applovin/exoplayer2/ui/e;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->g()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic e(Lcom/applovin/exoplayer2/ui/e;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->j()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private e()Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->o()I
|
|
|
|
move-result v0
|
|
|
|
iget-boolean v2, p0, Lcom/applovin/exoplayer2/ui/e;->w:Z
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-eq v0, v2, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
.line 9
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->l()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public static synthetic f(Lcom/applovin/exoplayer2/ui/e;)Landroid/view/View;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Lcom/applovin/exoplayer2/ui/e;->c:Landroid/view/View;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic g(Lcom/applovin/exoplayer2/ui/e;)Lcom/applovin/impl/qh;
|
|
.locals 0
|
|
|
|
.line 260
|
|
iget-object p0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private g()Z
|
|
.locals 2
|
|
|
|
.line 261
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 264
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/d;->c()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 265
|
|
invoke-direct {p0, v1}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->y:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 267
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/d;->a()V
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v1
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private h()V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->z()Lcom/applovin/impl/xq;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Lcom/applovin/impl/xq;->f:Lcom/applovin/impl/xq;
|
|
|
|
.line 3
|
|
:goto_0
|
|
iget v1, v0, Lcom/applovin/impl/xq;->a:I
|
|
|
|
.line 4
|
|
iget v2, v0, Lcom/applovin/impl/xq;->b:I
|
|
|
|
.line 5
|
|
iget v3, v0, Lcom/applovin/impl/xq;->c:I
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
int-to-float v1, v1
|
|
|
|
.line 7
|
|
iget v0, v0, Lcom/applovin/impl/xq;->d:F
|
|
|
|
mul-float/2addr v1, v0
|
|
|
|
int-to-float v0, v2
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
move v1, v4
|
|
|
|
:goto_2
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 9
|
|
instance-of v2, v0, Landroid/view/TextureView;
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
cmpl-float v2, v1, v4
|
|
|
|
if-lez v2, :cond_4
|
|
|
|
const/16 v2, 0x5a
|
|
|
|
if-eq v3, v2, :cond_3
|
|
|
|
const/16 v2, 0x10e
|
|
|
|
if-ne v3, v2, :cond_4
|
|
|
|
:cond_3
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
div-float v1, v2, v1
|
|
|
|
:cond_4
|
|
iget v2, p0, Lcom/applovin/exoplayer2/ui/e;->z:I
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
iget-object v2, p0, Lcom/applovin/exoplayer2/ui/e;->a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.line 18
|
|
invoke-virtual {v0, v2}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
|
|
|
|
:cond_5
|
|
iput v3, p0, Lcom/applovin/exoplayer2/ui/e;->z:I
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
iget-object v2, p0, Lcom/applovin/exoplayer2/ui/e;->a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.line 24
|
|
invoke-virtual {v0, v2}, Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
|
|
|
|
:cond_6
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 26
|
|
check-cast v0, Landroid/view/TextureView;
|
|
|
|
iget v2, p0, Lcom/applovin/exoplayer2/ui/e;->z:I
|
|
|
|
invoke-static {v0, v2}, Lcom/applovin/exoplayer2/ui/e;->b(Landroid/view/TextureView;I)V
|
|
|
|
:cond_7
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
iget-boolean v2, p0, Lcom/applovin/exoplayer2/ui/e;->f:Z
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
move v4, v1
|
|
|
|
.line 31
|
|
:goto_3
|
|
invoke-virtual {p0, v0, v4}, Lcom/applovin/exoplayer2/ui/e;->a(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic h(Lcom/applovin/exoplayer2/ui/e;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->i()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private i()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->i:Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 5
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->o()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
iget v0, p0, Lcom/applovin/exoplayer2/ui/e;->s:I
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eq v0, v2, :cond_1
|
|
|
|
if-ne v0, v3, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->l()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v3, v1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->i:Landroid/view/View;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/16 v1, 0x8
|
|
|
|
.line 8
|
|
:goto_1
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic i(Lcom/applovin/exoplayer2/ui/e;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->l()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private j()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-boolean v2, p0, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->y:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Lcom/applovin/sdk/R$string;->al_exo_controls_hide:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 8
|
|
:cond_1
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 14
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Lcom/applovin/sdk/R$string;->al_exo_controls_show:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 15
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 16
|
|
:cond_3
|
|
:goto_0
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic j(Lcom/applovin/exoplayer2/ui/e;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->k()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private k()V
|
|
.locals 1
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->x:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Lcom/applovin/exoplayer2/ui/e;->c()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
invoke-direct {p0, v0}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic k(Lcom/applovin/exoplayer2/ui/e;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->d()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private l()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->u:Ljava/lang/CharSequence;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->c()Lcom/applovin/impl/nh;
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
.line 14
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic l(Lcom/applovin/exoplayer2/ui/e;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-boolean p0, p0, Lcom/applovin/exoplayer2/ui/e;->x:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private m()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->q:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
.line 2
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private n()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;F)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1347
|
|
invoke-virtual {p1, p2}, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;->setAspectRatio(F)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
.line 1346
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->a(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public c()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/d;->a()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1
|
|
invoke-interface {v0}, Lcom/applovin/impl/qh;->d()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-super {p0, p1}, Landroid/view/View;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I
|
|
|
|
move-result v0
|
|
|
|
invoke-direct {p0, v0}, Lcom/applovin/exoplayer2/ui/e;->a(I)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iget-object v2, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
invoke-virtual {v2}, Lcom/applovin/exoplayer2/ui/d;->c()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
.line 9
|
|
invoke-direct {p0, v1}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 11
|
|
:cond_1
|
|
invoke-virtual {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->a(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
invoke-super {p0, p1}, Landroid/view/View;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 16
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 18
|
|
invoke-direct {p0, v1}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
.line 19
|
|
:cond_4
|
|
:goto_0
|
|
invoke-direct {p0, v1}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 1
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->e()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-direct {p0, v0}, Lcom/applovin/exoplayer2/ui/e;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getAdOverlayInfos()Ljava/util/List;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/applovin/impl/t;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->m:Landroid/widget/FrameLayout;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3
|
|
new-instance v2, Lcom/applovin/impl/t;
|
|
|
|
const/4 v3, 0x3
|
|
|
|
const-string v4, "Transparent overlay does not impact viewability"
|
|
|
|
invoke-direct {v2, v1, v3, v4}, Lcom/applovin/impl/t;-><init>(Landroid/view/View;ILjava/lang/String;)V
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 10
|
|
new-instance v2, Lcom/applovin/impl/t;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v1, v3}, Lcom/applovin/impl/t;-><init>(Landroid/view/View;I)V
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 12
|
|
:cond_1
|
|
invoke-static {v0}, Lcom/applovin/impl/eb;->a(Ljava/util/Collection;)Lcom/applovin/impl/eb;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getAdViewGroup()Landroid/view/ViewGroup;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->l:Landroid/widget/FrameLayout;
|
|
|
|
const-string v1, "exo_ad_overlay must be present for ad playback"
|
|
|
|
.line 1
|
|
invoke-static {v0, v1}, Lcom/applovin/impl/b1;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getControllerAutoShow()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->w:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getControllerHideOnTouch()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->y:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getControllerShowTimeoutMs()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/applovin/exoplayer2/ui/e;->v:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDefaultArtwork()Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->r:Landroid/graphics/drawable/Drawable;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getOverlayFrameLayout()Landroid/widget/FrameLayout;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->m:Landroid/widget/FrameLayout;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPlayer()Lcom/applovin/impl/qh;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getResizeMode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;->getResizeMode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getSubtitleView()Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUseArtwork()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->q:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getUseController()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getVideoSurfaceView()Landroid/view/View;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
iget-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->A:Z
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iput-boolean v1, p0, Lcom/applovin/exoplayer2/ui/e;->A:Z
|
|
|
|
.line 11
|
|
invoke-virtual {p0}, Lcom/applovin/exoplayer2/ui/e;->performClick()Z
|
|
|
|
return v0
|
|
|
|
:cond_2
|
|
return v1
|
|
|
|
:cond_3
|
|
iput-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->A:Z
|
|
|
|
return v0
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public onTrackballEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public performClick()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/view/View;->performClick()Z
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->g()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public setAspectRatioListener(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout$b;)V
|
|
.locals 1
|
|
.param p1 # Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout$b;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;->setAspectRatioListener(Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout$b;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControlDispatcher(Lcom/applovin/impl/t4;)V
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 942
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 943
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setControlDispatcher(Lcom/applovin/impl/t4;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControllerAutoShow(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->w:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControllerHideDuringAds(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->x:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControllerHideOnTouch(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->y:Z
|
|
|
|
.line 3
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->j()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControllerShowTimeoutMs(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iput p1, p0, Lcom/applovin/exoplayer2/ui/e;->v:I
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Lcom/applovin/exoplayer2/ui/d;->c()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Lcom/applovin/exoplayer2/ui/e;->f()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setControllerVisibilityListener(Lcom/applovin/exoplayer2/ui/d$e;)V
|
|
.locals 2
|
|
.param p1 # Lcom/applovin/exoplayer2/ui/d$e;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->p:Lcom/applovin/exoplayer2/ui/d$e;
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 6
|
|
invoke-virtual {v1, v0}, Lcom/applovin/exoplayer2/ui/d;->b(Lcom/applovin/exoplayer2/ui/d$e;)V
|
|
|
|
:cond_1
|
|
iput-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->p:Lcom/applovin/exoplayer2/ui/d$e;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->a(Lcom/applovin/exoplayer2/ui/d$e;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setCustomErrorMessage(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->j:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Z)V
|
|
|
|
iput-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->u:Ljava/lang/CharSequence;
|
|
|
|
.line 3
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->l()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setDefaultArtwork(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
.param p1 # Landroid/graphics/drawable/Drawable;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->r:Landroid/graphics/drawable/Drawable;
|
|
|
|
if-eq v0, p1, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->r:Landroid/graphics/drawable/Drawable;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 3
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->c(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setErrorMessageProvider(Lcom/applovin/impl/t7;)V
|
|
.locals 0
|
|
.param p1 # Lcom/applovin/impl/t7;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/applovin/impl/t7;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 766
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->l()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setKeepContentOnPlayerReset(Z)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
if-eq v0, p1, :cond_0
|
|
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->t:Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 3
|
|
invoke-direct {p0, p1}, Lcom/applovin/exoplayer2/ui/e;->c(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPlayer(Lcom/applovin/impl/qh;)V
|
|
.locals 6
|
|
.param p1 # Lcom/applovin/impl/qh;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
move v0, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, v2
|
|
|
|
:goto_0
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Z)V
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 3
|
|
invoke-interface {p1}, Lcom/applovin/impl/qh;->p()Landroid/os/Looper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v1
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v0, v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
move v0, v3
|
|
|
|
.line 4
|
|
:goto_2
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->a(Z)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
if-ne v0, p1, :cond_3
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
const/16 v1, 0x1a
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
iget-object v4, p0, Lcom/applovin/exoplayer2/ui/e;->a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.line 11
|
|
invoke-interface {v0, v4}, Lcom/applovin/impl/qh;->a(Lcom/applovin/impl/qh$e;)V
|
|
|
|
.line 12
|
|
invoke-interface {v0, v1}, Lcom/applovin/impl/qh;->b(I)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
iget-object v4, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 13
|
|
instance-of v5, v4, Landroid/view/TextureView;
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
.line 14
|
|
check-cast v4, Landroid/view/TextureView;
|
|
|
|
invoke-interface {v0, v4}, Lcom/applovin/impl/qh;->b(Landroid/view/TextureView;)V
|
|
|
|
goto :goto_3
|
|
|
|
.line 15
|
|
:cond_4
|
|
instance-of v5, v4, Landroid/view/SurfaceView;
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
.line 16
|
|
check-cast v4, Landroid/view/SurfaceView;
|
|
|
|
invoke-interface {v0, v4}, Lcom/applovin/impl/qh;->b(Landroid/view/SurfaceView;)V
|
|
|
|
:cond_5
|
|
:goto_3
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 21
|
|
invoke-virtual {v0, v4}, Lcom/applovin/exoplayer2/ui/SubtitleView;->setCues(Ljava/util/List;)V
|
|
|
|
:cond_6
|
|
iput-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
.line 24
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 25
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setPlayer(Lcom/applovin/impl/qh;)V
|
|
|
|
.line 27
|
|
:cond_7
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->i()V
|
|
|
|
.line 28
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->l()V
|
|
|
|
.line 29
|
|
invoke-direct {p0, v3}, Lcom/applovin/exoplayer2/ui/e;->c(Z)V
|
|
|
|
if-eqz p1, :cond_c
|
|
|
|
.line 31
|
|
invoke-interface {p1, v1}, Lcom/applovin/impl/qh;->b(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 32
|
|
instance-of v1, v0, Landroid/view/TextureView;
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 33
|
|
check-cast v0, Landroid/view/TextureView;
|
|
|
|
invoke-interface {p1, v0}, Lcom/applovin/impl/qh;->a(Landroid/view/TextureView;)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 34
|
|
:cond_8
|
|
instance-of v1, v0, Landroid/view/SurfaceView;
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
.line 35
|
|
check-cast v0, Landroid/view/SurfaceView;
|
|
|
|
invoke-interface {p1, v0}, Lcom/applovin/impl/qh;->a(Landroid/view/SurfaceView;)V
|
|
|
|
.line 37
|
|
:cond_9
|
|
:goto_4
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->h()V
|
|
|
|
:cond_a
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
const/16 v0, 0x1b
|
|
|
|
.line 39
|
|
invoke-interface {p1, v0}, Lcom/applovin/impl/qh;->b(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->h:Lcom/applovin/exoplayer2/ui/SubtitleView;
|
|
|
|
.line 40
|
|
invoke-interface {p1}, Lcom/applovin/impl/qh;->x()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/applovin/exoplayer2/ui/SubtitleView;->setCues(Ljava/util/List;)V
|
|
|
|
:cond_b
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->a:Lcom/applovin/exoplayer2/ui/e$a;
|
|
|
|
.line 42
|
|
invoke-interface {p1, v0}, Lcom/applovin/impl/qh;->b(Lcom/applovin/impl/qh$e;)V
|
|
|
|
.line 43
|
|
invoke-direct {p0, v2}, Lcom/applovin/exoplayer2/ui/e;->a(Z)V
|
|
|
|
goto :goto_5
|
|
|
|
.line 45
|
|
:cond_c
|
|
invoke-virtual {p0}, Lcom/applovin/exoplayer2/ui/e;->c()V
|
|
|
|
:goto_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRepeatToggleModes(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setRepeatToggleModes(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setResizeMode(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->b:Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/AspectRatioFrameLayout;->setResizeMode(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowBuffering(I)V
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/applovin/exoplayer2/ui/e;->s:I
|
|
|
|
if-eq v0, p1, :cond_0
|
|
|
|
iput p1, p0, Lcom/applovin/exoplayer2/ui/e;->s:I
|
|
|
|
.line 3
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->i()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowFastForwardButton(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowFastForwardButton(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowMultiWindowTimeBar(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowMultiWindowTimeBar(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowNextButton(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowNextButton(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowPreviousButton(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowPreviousButton(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowRewindButton(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowRewindButton(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShowShuffleButton(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Lcom/applovin/exoplayer2/ui/d;->setShowShuffleButton(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setShutterBackgroundColor(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->c:Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setBackgroundColor(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUseArtwork(Z)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v1, p0, Lcom/applovin/exoplayer2/ui/e;->g:Landroid/widget/ImageView;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v1, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 1
|
|
:goto_1
|
|
invoke-static {v1}, Lcom/applovin/impl/b1;->b(Z)V
|
|
|
|
iget-boolean v1, p0, Lcom/applovin/exoplayer2/ui/e;->q:Z
|
|
|
|
if-eq v1, p1, :cond_2
|
|
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->q:Z
|
|
|
|
.line 4
|
|
invoke-direct {p0, v0}, Lcom/applovin/exoplayer2/ui/e;->c(Z)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUseController(Z)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 1
|
|
:goto_1
|
|
invoke-static {v0}, Lcom/applovin/impl/b1;->b(Z)V
|
|
|
|
iget-boolean v0, p0, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
if-ne v0, p1, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iput-boolean p1, p0, Lcom/applovin/exoplayer2/ui/e;->o:Z
|
|
|
|
.line 6
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->n()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->n:Lcom/applovin/impl/qh;
|
|
|
|
.line 7
|
|
invoke-virtual {p1, v0}, Lcom/applovin/exoplayer2/ui/d;->setPlayer(Lcom/applovin/impl/qh;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 9
|
|
invoke-virtual {p1}, Lcom/applovin/exoplayer2/ui/d;->a()V
|
|
|
|
iget-object p1, p0, Lcom/applovin/exoplayer2/ui/e;->k:Lcom/applovin/exoplayer2/ui/d;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 10
|
|
invoke-virtual {p1, v0}, Lcom/applovin/exoplayer2/ui/d;->setPlayer(Lcom/applovin/impl/qh;)V
|
|
|
|
.line 12
|
|
:cond_4
|
|
:goto_2
|
|
invoke-direct {p0}, Lcom/applovin/exoplayer2/ui/e;->j()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setVisibility(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/exoplayer2/ui/e;->d:Landroid/view/View;
|
|
|
|
.line 2
|
|
instance-of v1, v0, Landroid/view/SurfaceView;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|