PlayerView$a.smali

.class public final Lcom/garena/videolib/player/PlayerView$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/google/android/exoplayer2/a2$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/garena/videolib/player/PlayerView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "a"
.end annotation


# instance fields
.field public final synthetic a:Lcom/garena/videolib/player/PlayerView;


# direct methods
.method public constructor <init>(Lcom/garena/videolib/player/PlayerView;)V
    .registers 2

    iput-object p1, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final synthetic A(Lcom/google/android/exoplayer2/l1;)V
    .registers 2

    return-void
.end method

.method public final synthetic B(Z)V
    .registers 2

    return-void
.end method

.method public final synthetic C(Lcom/google/android/exoplayer2/a2$b;)V
    .registers 2

    return-void
.end method

.method public final synthetic D(IZ)V
    .registers 3

    return-void
.end method

.method public final synthetic E(I)V
    .registers 2

    return-void
.end method

.method public final synthetic F()V
    .registers 1

    return-void
.end method

.method public final synthetic H(Lcom/google/android/exoplayer2/x1;)V
    .registers 2

    return-void
.end method

.method public final synthetic J()V
    .registers 1

    return-void
.end method

.method public final L(Lcom/google/android/exoplayer2/x1;)V
    .registers 2

    invoke-static {p1}, Ljava/util/Objects;->toString(Ljava/lang/Object;)Ljava/lang/String;

    return-void
.end method

.method public final synthetic M(Lcom/google/android/exoplayer2/audio/d;)V
    .registers 2

    return-void
.end method

.method public final O(ZI)V
    .registers 3

    .line 1
    iget-object p2, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 2
    iput-boolean p1, p2, Lcom/garena/videolib/player/PlayerView;->i:Z

    return-void
.end method

.method public final synthetic R(Z)V
    .registers 2

    return-void
.end method

.method public final synthetic T(I)V
    .registers 2

    return-void
.end method

.method public final synthetic U(Lcom/google/android/exoplayer2/a2$a;)V
    .registers 2

    return-void
.end method

.method public final V(I)V
    .registers 5

    .line 1
    iget-object v0, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 2
    iget-boolean v1, v0, Lcom/garena/videolib/player/PlayerView;->g:Z

    if-eqz v1, :cond_1c

    .line 3
    iget v1, v0, Lcom/garena/videolib/player/PlayerView;->h:I

    if-lez v1, :cond_1c

    const/4 v2, 0x3

    if-ne p1, v2, :cond_1c

    .line 4
    iget-boolean p1, v0, Lcom/garena/videolib/player/PlayerView;->i:Z

    if-eqz p1, :cond_1c

    .line 5
    iget-object p1, v0, Lcom/garena/videolib/player/PlayerView;->d:Lcom/google/android/exoplayer2/t0;

    int-to-long v0, v1

    .line 6
    invoke-virtual {p1, v0, v1}, Lcom/google/android/exoplayer2/e;->a(J)V

    .line 7
    iget-object p1, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    const/4 v0, -0x1

    .line 8
    iput v0, p1, Lcom/garena/videolib/player/PlayerView;->h:I

    :cond_1c
    return-void
.end method

.method public final synthetic W(Lcom/google/android/exoplayer2/n;)V
    .registers 2

    return-void
.end method

.method public final synthetic Y()V
    .registers 1

    return-void
.end method

.method public final synthetic Z(Lcom/google/android/exoplayer2/z1;)V
    .registers 2

    return-void
.end method

.method public final synthetic a(Z)V
    .registers 2

    return-void
.end method

.method public final a0(Lcom/google/android/exoplayer2/t2;)V
    .registers 2

    invoke-static {p1}, Ljava/util/Objects;->toString(Ljava/lang/Object;)Ljava/lang/String;

    return-void
.end method

.method public final b0(Z)V
    .registers 2

    return-void
.end method

.method public final synthetic d0(F)V
    .registers 2

    return-void
.end method

.method public final synthetic e0(ZI)V
    .registers 3

    return-void
.end method

.method public final f(Lcom/google/android/exoplayer2/video/p;)V
    .registers 12

    .line 1
    iget-object v0, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 2
    iget-object v0, v0, Lcom/garena/videolib/player/PlayerView;->e:Landroid/view/TextureView;

    .line 3
    invoke-virtual {v0}, Landroid/view/View;->getWidth()I

    move-result v0

    .line 4
    iget-object v1, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 5
    iget-object v1, v1, Lcom/garena/videolib/player/PlayerView;->e:Landroid/view/TextureView;

    .line 6
    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v1

    int-to-float v0, v0

    const/high16 v2, 0x40000000    # 2.0f

    div-float v3, v0, v2

    int-to-float v1, v1

    div-float v2, v1, v2

    .line 7
    new-instance v4, Landroid/graphics/Matrix;

    invoke-direct {v4}, Landroid/graphics/Matrix;-><init>()V

    .line 8
    iget v5, p1, Lcom/google/android/exoplayer2/video/p;->c:I

    .line 9
    iget v6, p1, Lcom/google/android/exoplayer2/video/p;->a:I

    .line 10
    iget v7, p1, Lcom/google/android/exoplayer2/video/p;->b:I

    .line 11
    iget p1, p1, Lcom/google/android/exoplayer2/video/p;->d:F

    int-to-float v8, v5

    .line 12
    invoke-virtual {v4, v8, v3, v2}, Landroid/graphics/Matrix;->postRotate(FFF)Z

    const/16 v8, 0x5a

    const/high16 v9, 0x3f800000    # 1.0f

    if-eq v5, v8, :cond_45

    const/16 v8, 0x10e

    if-ne v5, v8, :cond_34

    goto :goto_45

    .line 13
    :cond_34
    iget-object v0, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 14
    iget-object v0, v0, Lcom/garena/videolib/player/PlayerView;->f:Lcom/google/android/exoplayer2/ui/AspectRatioFrameLayout;

    if-nez v7, :cond_3b

    goto :goto_41

    :cond_3b
    int-to-float v1, v6

    mul-float v1, v1, p1

    int-to-float p1, v7

    div-float v9, v1, p1

    .line 15
    :goto_41
    invoke-virtual {v0, v9}, Lcom/google/android/exoplayer2/ui/AspectRatioFrameLayout;->setAspectRatio(F)V

    goto :goto_5b

    :cond_45
    :goto_45
    div-float/2addr v1, v0

    div-float v0, v9, v1

    .line 16
    invoke-virtual {v4, v0, v1, v3, v2}, Landroid/graphics/Matrix;->postScale(FFFF)Z

    .line 17
    iget-object v0, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 18
    iget-object v0, v0, Lcom/garena/videolib/player/PlayerView;->f:Lcom/google/android/exoplayer2/ui/AspectRatioFrameLayout;

    if-nez v6, :cond_52

    goto :goto_58

    :cond_52
    int-to-float v1, v7

    mul-float v1, v1, p1

    int-to-float p1, v6

    div-float v9, v1, p1

    .line 19
    :goto_58
    invoke-virtual {v0, v9}, Lcom/google/android/exoplayer2/ui/AspectRatioFrameLayout;->setAspectRatio(F)V

    .line 20
    :goto_5b
    iget-object p1, p0, Lcom/garena/videolib/player/PlayerView$a;->a:Lcom/garena/videolib/player/PlayerView;

    .line 21
    iget-object p1, p1, Lcom/garena/videolib/player/PlayerView;->e:Landroid/view/TextureView;

    .line 22
    invoke-virtual {p1, v4}, Landroid/view/TextureView;->setTransform(Landroid/graphics/Matrix;)V

    return-void
.end method

.method public final synthetic f0(I)V
    .registers 2

    return-void
.end method

.method public final synthetic h0(Lcom/google/android/exoplayer2/j1;I)V
    .registers 3

    return-void
.end method

.method public final synthetic m(Lcom/google/android/exoplayer2/metadata/Metadata;)V
    .registers 2

    return-void
.end method

.method public final synthetic o(Ljava/util/List;)V
    .registers 2

    return-void
.end method

.method public final synthetic onPositionDiscontinuity()V
    .registers 1

    return-void
.end method

.method public final synthetic onSurfaceSizeChanged(II)V
    .registers 3

    return-void
.end method

.method public final synthetic u(Lcom/google/android/exoplayer2/text/c;)V
    .registers 2

    return-void
.end method

.method public final synthetic y(Lcom/google/android/exoplayer2/a2$d;Lcom/google/android/exoplayer2/a2$d;I)V
    .registers 4

    return-void
.end method