EmbedBottomSheet$8.smali

.class Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;
.super Landroid/view/OrientationEventListener;
.source "EmbedBottomSheet.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/EmbedBottomSheet;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
    .param p2, "x0"    # Landroid/content/Context;

    .line 896
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-direct {p0, p2}, Landroid/view/OrientationEventListener;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public onOrientationChanged(I)V
    .registers 4
    .param p1, "orientation"    # I

    .line 899
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$4600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/OrientationEventListener;

    move-result-object v0

    if-eqz v0, :cond_6b

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_15

    goto :goto_6b

    .line 902
    :cond_15
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_6a

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->isInFullscreen()Z

    move-result v0

    if-eqz v0, :cond_6a

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1800(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Z

    move-result v0

    if-eqz v0, :cond_6a

    .line 903
    const/16 v0, 0xf0

    if-lt p1, v0, :cond_40

    const/16 v0, 0x12c

    if-gt p1, v0, :cond_40

    .line 904
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1702(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z

    goto :goto_6a

    .line 905
    :cond_40
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1700(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Z

    move-result v0

    if-eqz v0, :cond_6a

    const/16 v0, 0x14a

    if-ge p1, v0, :cond_50

    const/16 v0, 0x1e

    if-gt p1, v0, :cond_6a

    .line 906
    :cond_50
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2000(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/app/Activity;->setRequestedOrientation(I)V

    .line 907
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1802(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z

    .line 908
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$8;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1702(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z

    .line 911
    :cond_6a
    :goto_6a
    return-void

    .line 900
    :cond_6b
    :goto_6b
    return-void
.end method