l.smali
.class public Lcom/kwai/player/a/l;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/kwai/player/a/l$a;,
Lcom/kwai/player/a/l$c;,
Lcom/kwai/player/a/l$b;
}
.end annotation
# instance fields
.field protected a:Lcom/kwai/player/a/i;
.field private b:I
.field private c:I
.field private d:Landroid/content/Context;
.field private e:Z
.field private f:Lcom/kwai/player/a/h;
.field private g:Lcom/kwai/player/a/j;
.field private h:Z
.field private i:Lcom/kwai/player/a/f;
# direct methods
.method public constructor <init>(Lcom/kwai/player/a/l$a;)V
.registers 4
const/4 v1, 0x0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput v1, p0, Lcom/kwai/player/a/l;->b:I
const/4 v0, 0x1
iput v0, p0, Lcom/kwai/player/a/l;->c:I
iput-boolean v1, p0, Lcom/kwai/player/a/l;->h:Z
invoke-static {p1}, Lcom/kwai/player/a/l$a;->a(Lcom/kwai/player/a/l$a;)Landroid/content/Context;
move-result-object v0
iput-object v0, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-static {p1}, Lcom/kwai/player/a/l$a;->b(Lcom/kwai/player/a/l$a;)I
move-result v0
iput v0, p0, Lcom/kwai/player/a/l;->b:I
invoke-static {p1}, Lcom/kwai/player/a/l$a;->c(Lcom/kwai/player/a/l$a;)Z
move-result v0
iput-boolean v0, p0, Lcom/kwai/player/a/l;->e:Z
invoke-static {p1}, Lcom/kwai/player/a/l$a;->d(Lcom/kwai/player/a/l$a;)I
move-result v0
iput v0, p0, Lcom/kwai/player/a/l;->c:I
invoke-static {}, Lcom/kwai/player/a/h;->d()Lcom/kwai/player/a/h$a;
move-result-object v0
invoke-virtual {v0}, Lcom/kwai/player/a/h$a;->a()Lcom/kwai/player/a/h;
move-result-object v0
iput-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
new-instance v0, Lcom/kwai/player/a/i;
iget v1, p0, Lcom/kwai/player/a/l;->c:I
invoke-direct {v0, v1}, Lcom/kwai/player/a/i;-><init>(I)V
iput-object v0, p0, Lcom/kwai/player/a/l;->a:Lcom/kwai/player/a/i;
invoke-virtual {p0}, Lcom/kwai/player/a/l;->a()V
return-void
.end method
.method static synthetic a(Lcom/kwai/player/a/l;)Lcom/kwai/player/a/h;
.registers 2
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
return-object v0
.end method
.method private a(Z)V
.registers 4
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
invoke-virtual {v0, p1}, Lcom/kwai/player/a/f;->b(Z)V
:cond_9
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
iget-boolean v1, p0, Lcom/kwai/player/a/l;->e:Z
invoke-virtual {v0, v1}, Lcom/kwai/player/a/f;->a(Z)V
return-void
.end method
.method private b(Z)V
.registers 5
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_f
if-eqz p1, :cond_f
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Lcom/kwai/player/a/j;->a(Landroid/content/Context;Z)V
:cond_e
:goto_e
return-void
:cond_f
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_e
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-virtual {v0, v1}, Lcom/kwai/player/a/j;->a(Landroid/content/Context;)V
goto :goto_e
.end method
.method public static e()Lcom/kwai/player/a/l$a;
.registers 1
new-instance v0, Lcom/kwai/player/a/l$a;
invoke-direct {v0}, Lcom/kwai/player/a/l$a;-><init>()V
return-object v0
.end method
# virtual methods
.method public a()V
.registers 2
invoke-virtual {p0}, Lcom/kwai/player/a/l;->b()V
invoke-virtual {p0}, Lcom/kwai/player/a/l;->c()V
iget v0, p0, Lcom/kwai/player/a/l;->b:I
invoke-virtual {p0, v0}, Lcom/kwai/player/a/l;->a(I)V
return-void
.end method
.method public a(I)V
.registers 7
const/4 v4, 0x0
const/4 v3, 0x1
const-string v0, "KwaiVR"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "setInteractiveMode: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
iput p1, p0, Lcom/kwai/player/a/l;->b:I
iget v0, p0, Lcom/kwai/player/a/l;->b:I
packed-switch v0, :pswitch_data_38
:goto_21
return-void
:pswitch_22
invoke-direct {p0, v4}, Lcom/kwai/player/a/l;->a(Z)V
invoke-direct {p0, v3}, Lcom/kwai/player/a/l;->b(Z)V
goto :goto_21
:pswitch_29
invoke-direct {p0, v3}, Lcom/kwai/player/a/l;->a(Z)V
invoke-direct {p0, v4}, Lcom/kwai/player/a/l;->b(Z)V
goto :goto_21
:pswitch_30
invoke-direct {p0, v3}, Lcom/kwai/player/a/l;->a(Z)V
invoke-direct {p0, v3}, Lcom/kwai/player/a/l;->b(Z)V
goto :goto_21
nop
:pswitch_data_38
.packed-switch 0x0
:pswitch_22
:pswitch_29
:pswitch_30
.end packed-switch
.end method
.method public a(II)V
.registers 4
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
invoke-virtual {v0, p1, p2}, Lcom/kwai/player/a/h;->a(II)V
:cond_9
return-void
.end method
.method public a(Landroid/view/MotionEvent;)Z
.registers 5
const/4 v0, 0x0
iget-boolean v1, p0, Lcom/kwai/player/a/l;->h:Z
if-nez v1, :cond_d
const-string v1, "KwaiVR"
const-string v2, "handleTouchEvent: mInteractive is not Valid"
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:goto_c
return v0
:cond_d
iget-object v1, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
if-eqz v1, :cond_18
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
invoke-virtual {v0, p1}, Lcom/kwai/player/a/f;->a(Landroid/view/MotionEvent;)Z
move-result v0
goto :goto_c
:cond_18
const-string v1, "KwaiVR"
const-string v2, "handleTouchEvent: mGestureHelper nil"
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_c
.end method
.method public b()V
.registers 3
new-instance v0, Lcom/kwai/player/a/f;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/kwai/player/a/f;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
if-eqz v0, :cond_17
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
new-instance v1, Lcom/kwai/player/a/l$1;
invoke-direct {v1, p0}, Lcom/kwai/player/a/l$1;-><init>(Lcom/kwai/player/a/l;)V
invoke-virtual {v0, v1}, Lcom/kwai/player/a/f;->a(Lcom/kwai/player/a/l$b;)V
:cond_17
return-void
.end method
.method public c()V
.registers 3
new-instance v0, Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-direct {v0, v1}, Lcom/kwai/player/a/j;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_17
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
new-instance v1, Lcom/kwai/player/a/l$2;
invoke-direct {v1, p0}, Lcom/kwai/player/a/l$2;-><init>(Lcom/kwai/player/a/l;)V
invoke-virtual {v0, v1}, Lcom/kwai/player/a/j;->a(Lcom/kwai/player/a/l$c;)V
:cond_17
return-void
.end method
.method public d()[F
.registers 2
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
invoke-virtual {v0}, Lcom/kwai/player/a/h;->e()[F
move-result-object v0
:goto_a
return-object v0
:cond_b
const/4 v0, 0x0
goto :goto_a
.end method
.method public f()Lcom/kwai/player/a/g;
.registers 2
iget-object v0, p0, Lcom/kwai/player/a/l;->a:Lcom/kwai/player/a/i;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/kwai/player/a/l;->a:Lcom/kwai/player/a/i;
invoke-virtual {v0}, Lcom/kwai/player/a/i;->a()Lcom/kwai/player/a/g;
move-result-object v0
:goto_a
return-object v0
:cond_b
const/4 v0, 0x0
goto :goto_a
.end method
.method public g()V
.registers 3
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/kwai/player/a/l;->h:Z
const-string v0, "KwaiVR"
const-string v1, "set interactive valid"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public h()V
.registers 4
const/4 v2, 0x0
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
if-eqz v0, :cond_d
iget-object v0, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/kwai/player/a/f;->b(Z)V
iput-object v2, p0, Lcom/kwai/player/a/l;->i:Lcom/kwai/player/a/f;
:cond_d
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_1a
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-virtual {v0, v1}, Lcom/kwai/player/a/j;->a(Landroid/content/Context;)V
iput-object v2, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
:cond_1a
return-void
.end method
.method public i()I
.registers 2
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
invoke-virtual {v0}, Lcom/kwai/player/a/h;->g()I
:cond_9
const/4 v0, 0x0
return v0
.end method
.method public j()V
.registers 4
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_c
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Lcom/kwai/player/a/j;->a(Landroid/content/Context;Z)V
:cond_c
return-void
.end method
.method public k()V
.registers 3
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/kwai/player/a/l;->g:Lcom/kwai/player/a/j;
iget-object v1, p0, Lcom/kwai/player/a/l;->d:Landroid/content/Context;
invoke-virtual {v0, v1}, Lcom/kwai/player/a/j;->a(Landroid/content/Context;)V
:cond_b
return-void
.end method
.method public l()Z
.registers 3
const/4 v0, 0x0
iget v1, p0, Lcom/kwai/player/a/l;->c:I
packed-switch v1, :pswitch_data_a
:goto_6
return v0
:pswitch_7
const/4 v0, 0x1
goto :goto_6
nop
:pswitch_data_a
.packed-switch 0x1
:pswitch_7
.end packed-switch
.end method
.method public m()[F
.registers 2
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/kwai/player/a/l;->f:Lcom/kwai/player/a/h;
invoke-virtual {v0}, Lcom/kwai/player/a/h;->h()[F
move-result-object v0
:goto_a
return-object v0
:cond_b
const/4 v0, 0x0
goto :goto_a
.end method