EmbedBottomSheet$YoutubeProxy.smali

.class Lim/tpelyyftgw/ui/components/EmbedBottomSheet$YoutubeProxy;
.super Ljava/lang/Object;
.source "EmbedBottomSheet.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "YoutubeProxy"
.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 private constructor <init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)V
    .registers 2

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

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

    return-void
.end method

.method synthetic constructor <init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Lim/tpelyyftgw/ui/components/EmbedBottomSheet$1;)V
    .registers 3
    .param p1, "x0"    # Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
    .param p2, "x1"    # Lim/tpelyyftgw/ui/components/EmbedBottomSheet$1;

    .line 94
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$YoutubeProxy;-><init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)V

    return-void
.end method


# virtual methods
.method public synthetic lambda$postEvent$0$EmbedBottomSheet$YoutubeProxy()V
    .registers 3

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

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

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setVisibility(I)V

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

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

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$200(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

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

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$200(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/ImageView;

    move-result-object v0

    const/high16 v1, 0x3f800000    # 1.0f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(F)V

    .line 103
    return-void
.end method

.method public postEvent(Ljava/lang/String;Ljava/lang/String;)V
    .registers 4
    .param p1, "eventName"    # Ljava/lang/String;
    .param p2, "eventData"    # Ljava/lang/String;
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 97
    const-string v0, "loaded"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    .line 98
    new-instance v0, Lim/tpelyyftgw/ui/components/-$$Lambda$EmbedBottomSheet$YoutubeProxy$3HxdT-EV-uL7I41cpLVsuvVyRI4;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$EmbedBottomSheet$YoutubeProxy$3HxdT-EV-uL7I41cpLVsuvVyRI4;-><init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet$YoutubeProxy;)V

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V

    .line 105
    :cond_10
    return-void
.end method