YoutubeVideoComponent$b.smali

.class public final Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/util/bl;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 283
    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

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

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    const-string v0, "YoutubeVideoView"

    const-string v1, "onEnterFullScreen"

    .line 1071
    invoke-static {v0, v1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 287
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    const/4 v1, -0x1

    if-eqz v0, :cond_18

    invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_18

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 288
    :cond_18
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    if-eqz v0, :cond_28

    invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_28

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 289
    :cond_28
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    if-eqz v0, :cond_34

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroidx/cardview/widget/CardView;->setRadius(F)V

    .line 290
    :cond_34
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->v(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroid/widget/FrameLayout;

    move-result-object v0

    if-eqz v0, :cond_42

    const v1, 0x7f0600a2

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    :cond_42
    return-void
.end method

.method public final b()V
    .registers 3

    const-string v0, "YoutubeVideoView"

    const-string v1, "onExitFullScreen"

    .line 2071
    invoke-static {v0, v1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 295
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_18

    invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_18

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 296
    :cond_18
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    if-eqz v0, :cond_28

    invoke-virtual {v0}, Landroidx/cardview/widget/CardView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_28

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 297
    :cond_28
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->u(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroidx/cardview/widget/CardView;

    move-result-object v0

    if-eqz v0, :cond_39

    const/high16 v1, 0x40c00000    # 6.0f

    invoke-static {v1}, Lcom/imo/android/imoim/util/ay;->b(F)F

    move-result v1

    invoke-virtual {v0, v1}, Landroidx/cardview/widget/CardView;->setRadius(F)V

    .line 298
    :cond_39
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent$b;->a:Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;->v(Lcom/imo/android/imoim/voiceroom/room/view/youtubevideo/YoutubeVideoComponent;)Landroid/widget/FrameLayout;

    move-result-object v0

    if-eqz v0, :cond_47

    const v1, 0x7f0603d2

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    :cond_47
    return-void
.end method