EmbedBottomSheet$5.smali
.class Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;
.super Ljava/lang/Object;
.source "EmbedBottomSheet.java"
# interfaces
.implements Lim/tpelyyftgw/ui/components/WebPlayerView$WebPlayerViewDelegate;
# 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;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 379
iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public checkInlinePermissions()Z
.registers 2
.line 635
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->checkInlinePermissions()Z
move-result v0
return v0
.end method
.method public getTextureViewContainer()Landroid/view/ViewGroup;
.registers 2
.line 640
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->container:Lim/tpelyyftgw/ui/actionbar/BottomSheet$ContainerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$4200(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/actionbar/BottomSheet$ContainerView;
move-result-object v0
return-object v0
.end method
.method public onInitFailed()V
.registers 8
.line 382
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->webView:Landroid/webkit/WebView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setVisibility(I)V
.line 383
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->imageButtonsContainer:Landroid/widget/LinearLayout;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/LinearLayout;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V
.line 384
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->copyTextButton:Landroid/widget/TextView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/TextView;
move-result-object v0
const/4 v1, 0x4
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
.line 385
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->webView:Landroid/webkit/WebView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;
move-result-object v0
const/4 v2, 0x1
invoke-virtual {v0, v2}, Landroid/webkit/WebView;->setKeepScreenOn(Z)V
.line 386
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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, v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->setVisibility(I)V
.line 387
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->getControlsView()Landroid/view/View;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 388
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->getTextureView()Landroid/view/TextureView;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/view/TextureView;->setVisibility(I)V
.line 389
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->getTextureImageView()Landroid/widget/ImageView;
move-result-object v0
if-eqz v0, :cond_63
.line 390
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->getTextureImageView()Landroid/widget/ImageView;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
.line 392
:cond_63
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v1
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
invoke-virtual/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/WebPlayerView;->loadVideo(Ljava/lang/String;Lim/tpelyyftgw/tgnet/TLRPC$Photo;Ljava/lang/Object;Ljava/lang/String;Z)Z
.line 393
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
.line 394
.local v0, "args":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;"
const-string v1, "Referer"
const-string v2, "http://youtube.com"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 396
:try_start_7d
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->webView:Landroid/webkit/WebView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->embedUrl:Ljava/lang/String;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2, v0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;Ljava/util/Map;)V
:try_end_8c
.catch Ljava/lang/Exception; {:try_start_7d .. :try_end_8c} :catch_8d
.line 399
goto :goto_91
.line 397
:catch_8d
move-exception v1
.line 398
.local v1, "e":Ljava/lang/Exception;
invoke-static {v1}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 400
.end local v1 # "e":Ljava/lang/Exception;
:goto_91
return-void
.end method
.method public onInlineSurfaceTextureReady()V
.registers 2
.line 451
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->isInline()Z
move-result v0
if-eqz v0, :cond_11
.line 452
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->dismissInternal()V
.line 454
:cond_11
return-void
.end method
.method public onPlayStateChanged(Lim/tpelyyftgw/ui/components/WebPlayerView;Z)V
.registers 5
.param p1, "playerView" # Lim/tpelyyftgw/ui/components/WebPlayerView;
.param p2, "playing" # Z
.line 618
const/16 v0, 0x80
if-eqz p2, :cond_17
.line 620
:try_start_4
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v1
invoke-virtual {v1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/Window;->addFlags(I)V
:try_end_11
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_11} :catch_12
goto :goto_16
.line 621
:catch_12
move-exception v0
.line 622
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 623
.end local v0 # "e":Ljava/lang/Exception;
:goto_16
goto :goto_29
.line 626
:cond_17
:try_start_17
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v1
invoke-virtual {v1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/Window;->clearFlags(I)V
:try_end_24
.catch Ljava/lang/Exception; {:try_start_17 .. :try_end_24} :catch_25
.line 629
goto :goto_29
.line 627
:catch_25
move-exception v0
.line 628
.restart local v0 # "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 631
.end local v0 # "e":Ljava/lang/Exception;
:goto_29
return-void
.end method
.method public onSharePressed()V
.registers 1
.line 614
return-void
.end method
.method public onSwitchInlineMode(Landroid/view/View;ZFIZ)Landroid/view/TextureView;
.registers 21
.param p1, "controlsView" # Landroid/view/View;
.param p2, "inline" # Z
.param p3, "aspectRatio" # F
.param p4, "rotation" # I
.param p5, "animated" # Z
.line 567
move-object v0, p0
const/4 v1, 0x0
if-eqz p2, :cond_2d
.line 568
move-object/from16 v9, p1
invoke-virtual {v9, v1}, Landroid/view/View;->setTranslationY(F)V
.line 569
iget-object v1, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
new-instance v2, Lim/tpelyyftgw/ui/components/PipVideoView;
invoke-direct {v2}, Lim/tpelyyftgw/ui/components/PipVideoView;-><init>()V
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->pipVideoView:Lim/tpelyyftgw/ui/components/PipVideoView;
invoke-static {v1, v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$302(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Lim/tpelyyftgw/ui/components/PipVideoView;)Lim/tpelyyftgw/ui/components/PipVideoView;
.line 570
iget-object v1, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->pipVideoView:Lim/tpelyyftgw/ui/components/PipVideoView;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$300(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/PipVideoView;
move-result-object v2
iget-object v1, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v3
iget-object v4, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
const/4 v8, 0x0
move-object/from16 v5, p1
move/from16 v6, p3
move/from16 v7, p4
invoke-virtual/range {v2 .. v8}, Lim/tpelyyftgw/ui/components/PipVideoView;->show(Landroid/app/Activity;Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Landroid/view/View;FILandroid/webkit/WebView;)Landroid/view/TextureView;
move-result-object v1
return-object v1
.line 573
:cond_2d
move-object/from16 v9, p1
if-eqz p5, :cond_162
.line 574
iget-object v2, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
const/4 v3, 0x1
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->animationInProgress:Z
invoke-static {v2, v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3502(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z
.line 576
iget-object v2, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getAspectRatioView()Landroid/view/View;
move-result-object v2
.line 577
.local v2, "view":Landroid/view/View;
iget-object v4, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v4}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v4
invoke-virtual {v2, v4}, Landroid/view/View;->getLocationInWindow([I)V
.line 578
iget-object v4, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v4}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v4
const/4 v5, 0x0
aget v6, v4, v5
iget-object v7, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# invokes: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->getLeftInset()I
invoke-static {v7}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3700(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)I
move-result v7
sub-int/2addr v6, v7
aput v6, v4, v5
.line 579
iget-object v4, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v4}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v4
aget v6, v4, v3
int-to-float v6, v6
iget-object v7, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v7}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3800(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v7
invoke-virtual {v7}, Landroid/view/ViewGroup;->getTranslationY()F
move-result v7
sub-float/2addr v6, v7
float-to-int v6, v6
aput v6, v4, v3
.line 581
iget-object v4, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v4}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v4
invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getTextureView()Landroid/view/TextureView;
move-result-object v4
.line 582
.local v4, "textureView":Landroid/view/TextureView;
iget-object v6, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v6}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v6
invoke-virtual {v6}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getTextureImageView()Landroid/widget/ImageView;
move-result-object v6
.line 583
.local v6, "textureImageView":Landroid/widget/ImageView;
new-instance v7, Landroid/animation/AnimatorSet;
invoke-direct {v7}, Landroid/animation/AnimatorSet;-><init>()V
.line 584
.local v7, "animatorSet":Landroid/animation/AnimatorSet;
const/16 v8, 0xa
new-array v8, v8, [Landroid/animation/Animator;
sget-object v10, Landroid/view/View;->SCALE_X:Landroid/util/Property;
new-array v11, v3, [F
const/high16 v12, 0x3f800000 # 1.0f
aput v12, v11, v5
.line 585
invoke-static {v6, v10, v11}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v10
aput-object v10, v8, v5
sget-object v10, Landroid/view/View;->SCALE_Y:Landroid/util/Property;
new-array v11, v3, [F
aput v12, v11, v5
.line 586
invoke-static {v6, v10, v11}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v10
aput-object v10, v8, v3
const/4 v10, 0x2
sget-object v11, Landroid/view/View;->TRANSLATION_X:Landroid/util/Property;
new-array v13, v3, [F
iget-object v14, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 587
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v14}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v14
aget v14, v14, v5
int-to-float v14, v14
aput v14, v13, v5
invoke-static {v6, v11, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/4 v10, 0x3
sget-object v11, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v13, v3, [F
iget-object v14, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 588
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v14}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v14
aget v14, v14, v3
int-to-float v14, v14
aput v14, v13, v5
invoke-static {v6, v11, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/4 v10, 0x4
sget-object v11, Landroid/view/View;->SCALE_X:Landroid/util/Property;
new-array v13, v3, [F
aput v12, v13, v5
.line 589
invoke-static {v4, v11, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/4 v10, 0x5
sget-object v11, Landroid/view/View;->SCALE_Y:Landroid/util/Property;
new-array v13, v3, [F
aput v12, v13, v5
.line 590
invoke-static {v4, v11, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/4 v10, 0x6
sget-object v11, Landroid/view/View;->TRANSLATION_X:Landroid/util/Property;
new-array v12, v3, [F
iget-object v13, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 591
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v13}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v13
aget v13, v13, v5
int-to-float v13, v13
aput v13, v12, v5
invoke-static {v4, v11, v12}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/4 v10, 0x7
sget-object v11, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v12, v3, [F
iget-object v13, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 592
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->position:[I
invoke-static {v13}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)[I
move-result-object v13
aget v13, v13, v3
int-to-float v13, v13
aput v13, v12, v5
invoke-static {v4, v11, v12}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v11
aput-object v11, v8, v10
const/16 v10, 0x8
iget-object v11, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 593
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v11}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v11
sget-object v12, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v13, v3, [F
aput v1, v13, v5
invoke-static {v11, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v1
aput-object v1, v8, v10
const/16 v1, 0x9
iget-object v10, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 594
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->backDrawable:Landroid/graphics/drawable/ColorDrawable;
invoke-static {v10}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$4000(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/graphics/drawable/ColorDrawable;
move-result-object v10
sget-object v11, Lim/tpelyyftgw/ui/components/AnimationProperties;->COLOR_DRAWABLE_ALPHA:Landroid/util/Property;
new-array v3, v3, [I
const/16 v12, 0x33
aput v12, v3, v5
invoke-static {v10, v11, v3}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Landroid/util/Property;[I)Landroid/animation/ObjectAnimator;
move-result-object v3
aput-object v3, v8, v1
.line 584
invoke-virtual {v7, v8}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
.line 596
new-instance v1, Landroid/view/animation/DecelerateInterpolator;
invoke-direct {v1}, Landroid/view/animation/DecelerateInterpolator;-><init>()V
invoke-virtual {v7, v1}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V
.line 597
const-wide/16 v10, 0xfa
invoke-virtual {v7, v10, v11}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;
.line 598
new-instance v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5$2;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5$2;-><init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;)V
invoke-virtual {v7, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 604
invoke-virtual {v7}, Landroid/animation/AnimatorSet;->start()V
.line 605
.end local v2 # "view":Landroid/view/View;
.end local v4 # "textureView":Landroid/view/TextureView;
.end local v6 # "textureImageView":Landroid/widget/ImageView;
.end local v7 # "animatorSet":Landroid/animation/AnimatorSet;
goto :goto_16b
.line 606
:cond_162
iget-object v2, v0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$4100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v2
invoke-virtual {v2, v1}, Landroid/view/ViewGroup;->setTranslationY(F)V
.line 608
:goto_16b
const/4 v1, 0x0
return-object v1
.end method
.method public onSwitchToFullscreen(Landroid/view/View;ZFIZ)Landroid/view/TextureView;
.registers 10
.param p1, "controlsView" # Landroid/view/View;
.param p2, "fullscreen" # Z
.param p3, "aspectRatio" # F
.param p4, "rotation" # I
.param p5, "byButton" # Z
.line 404
const/4 v0, 0x0
if-eqz p2, :cond_8c
.line 405
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V
.line 406
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v1
const/high16 v2, 0x3f800000 # 1.0f
invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setAlpha(F)V
.line 407
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v1
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getAspectRatioView()Landroid/view/View;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
.line 408
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->wasInLandscape:Z
invoke-static {v1, v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1702(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z
.line 410
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenedByButton:Z
invoke-static {v1, p5}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1802(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z
.line 411
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v1
if-eqz v1, :cond_c0
.line 413
:try_start_3c
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
iget-object v2, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v2
invoke-virtual {v2}, Landroid/app/Activity;->getRequestedOrientation()I
move-result v2
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->prevOrientation:I
invoke-static {v1, v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2002(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;I)I
.line 414
if-eqz p5, :cond_7b
.line 415
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v1
const-string v2, "window"
invoke-virtual {v1, v2}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/view/WindowManager;
.line 416
.local v1, "manager":Landroid/view/WindowManager;
invoke-interface {v1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
move-result-object v2
invoke-virtual {v2}, Landroid/view/Display;->getRotation()I
move-result v2
.line 417
.local v2, "displayRotation":I
const/4 v3, 0x3
if-ne v2, v3, :cond_72
.line 418
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v0
const/16 v3, 0x8
invoke-virtual {v0, v3}, Landroid/app/Activity;->setRequestedOrientation(I)V
goto :goto_7b
.line 420
:cond_72
iget-object v3, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v3
invoke-virtual {v3, v0}, Landroid/app/Activity;->setRequestedOrientation(I)V
.line 423
.end local v1 # "manager":Landroid/view/WindowManager;
.end local v2 # "displayRotation":I
:cond_7b
:goto_7b
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v0
const/16 v1, 0x404
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setSystemUiVisibility(I)V
:try_end_86
.catch Ljava/lang/Exception; {:try_start_3c .. :try_end_86} :catch_87
goto :goto_8b
.line 424
:catch_87
move-exception v0
.line 425
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 426
.end local v0 # "e":Ljava/lang/Exception;
:goto_8b
goto :goto_c0
.line 429
:cond_8c
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v1
const/4 v2, 0x4
invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V
.line 430
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenedByButton:Z
invoke-static {v1, v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1802(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Z)Z
.line 432
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v1
if-eqz v1, :cond_c0
.line 434
:try_start_a3
iget-object v1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v1}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2200(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->setSystemUiVisibility(I)V
.line 435
iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
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$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->prevOrientation:I
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
:try_end_bb
.catch Ljava/lang/Exception; {:try_start_a3 .. :try_end_bb} :catch_bc
.line 438
goto :goto_c0
.line 436
:catch_bc
move-exception v0
.line 437
.restart local v0 # "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 441
.end local v0 # "e":Ljava/lang/Exception;
:cond_c0
:goto_c0
const/4 v0, 0x0
return-object v0
.end method
.method public onVideoSizeChanged(FI)V
.registers 3
.param p1, "aspectRatio" # F
.param p2, "rotation" # I
.line 447
return-void
.end method
.method public prepareToSwitchInlineMode(ZLjava/lang/Runnable;FZ)V
.registers 21
.param p1, "inline" # Z
.param p2, "switchInlineModeRunnable" # Ljava/lang/Runnable;
.param p3, "aspectRatio" # F
.param p4, "animated" # Z
.line 458
move-object/from16 v1, p0
const/16 v2, 0x15
const/4 v3, 0x0
const/4 v4, 0x4
const/high16 v5, 0x41200000 # 10.0f
const/4 v6, 0x1
if-eqz p1, :cond_1c1
.line 459
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v0
const/4 v7, 0x0
if-eqz v0, :cond_3a
.line 461
:try_start_14
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2300(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v0
invoke-virtual {v0, v7}, Landroid/view/ViewGroup;->setSystemUiVisibility(I)V
.line 462
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->prevOrientation:I
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2000(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)I
move-result v0
const/4 v8, -0x2
if-eq v0, v8, :cond_35
.line 463
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v0
iget-object v8, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->prevOrientation:I
invoke-static {v8}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2000(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)I
move-result v8
invoke-virtual {v0, v8}, Landroid/app/Activity;->setRequestedOrientation(I)V
:try_end_35
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_35} :catch_36
.line 467
:cond_35
goto :goto_3a
.line 465
:catch_36
move-exception v0
.line 466
.local v0, "e":Ljava/lang/Exception;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 470
.end local v0 # "e":Ljava/lang/Exception;
:cond_3a
:goto_3a
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
move-result v0
if-nez v0, :cond_68
.line 471
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v0
iget-object v8, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v8
invoke-virtual {v8}, Landroid/view/ViewGroup;->getMeasuredHeight()I
move-result v8
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v9
add-int/2addr v8, v9
int-to-float v8, v8
invoke-virtual {v0, v8}, Landroid/view/ViewGroup;->setTranslationY(F)V
.line 472
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->backDrawable:Landroid/graphics/drawable/ColorDrawable;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2600(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/graphics/drawable/ColorDrawable;
move-result-object v0
invoke-virtual {v0, v7}, Landroid/graphics/drawable/ColorDrawable;->setAlpha(I)V
.line 475
:cond_68
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V
.line 476
if-eqz p4, :cond_195
.line 477
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
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;->getTextureView()Landroid/view/TextureView;
move-result-object v0
.line 478
.local v0, "textureView":Landroid/view/TextureView;
iget-object v3, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v3
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getControlsView()Landroid/view/View;
move-result-object v3
.line 479
.local v3, "controlsView":Landroid/view/View;
iget-object v8, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v8
invoke-virtual {v8}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getTextureImageView()Landroid/widget/ImageView;
move-result-object v8
.line 481
.local v8, "textureImageView":Landroid/widget/ImageView;
invoke-static/range {p3 .. p3}, Lim/tpelyyftgw/ui/components/PipVideoView;->getPipRect(F)Lim/tpelyyftgw/ui/components/Rect;
move-result-object v9
.line 483
.local v9, "rect":Lim/tpelyyftgw/ui/components/Rect;
iget v10, v9, Lim/tpelyyftgw/ui/components/Rect;->width:F
invoke-virtual {v0}, Landroid/view/TextureView;->getWidth()I
move-result v11
int-to-float v11, v11
div-float/2addr v10, v11
.line 484
.local v10, "scale":F
sget v11, Landroid/os/Build$VERSION;->SDK_INT:I
if-lt v11, v2, :cond_a5
.line 485
iget v2, v9, Lim/tpelyyftgw/ui/components/Rect;->y:F
sget v11, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
int-to-float v11, v11
add-float/2addr v2, v11
iput v2, v9, Lim/tpelyyftgw/ui/components/Rect;->y:F
.line 488
:cond_a5
new-instance v2, Landroid/animation/AnimatorSet;
invoke-direct {v2}, Landroid/animation/AnimatorSet;-><init>()V
.line 489
.local v2, "animatorSet":Landroid/animation/AnimatorSet;
const/16 v11, 0xc
new-array v11, v11, [Landroid/animation/Animator;
sget-object v12, Landroid/view/View;->SCALE_X:Landroid/util/Property;
new-array v13, v6, [F
aput v10, v13, v7
.line 490
invoke-static {v8, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v7
sget-object v12, Landroid/view/View;->SCALE_Y:Landroid/util/Property;
new-array v13, v6, [F
aput v10, v13, v7
.line 491
invoke-static {v8, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v6
const/4 v12, 0x2
sget-object v13, Landroid/view/View;->TRANSLATION_X:Landroid/util/Property;
new-array v14, v6, [F
iget v15, v9, Lim/tpelyyftgw/ui/components/Rect;->x:F
aput v15, v14, v7
.line 492
invoke-static {v8, v13, v14}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v13
aput-object v13, v11, v12
const/4 v12, 0x3
sget-object v13, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v14, v6, [F
iget v15, v9, Lim/tpelyyftgw/ui/components/Rect;->y:F
aput v15, v14, v7
.line 493
invoke-static {v8, v13, v14}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v13
aput-object v13, v11, v12
sget-object v12, Landroid/view/View;->SCALE_X:Landroid/util/Property;
new-array v13, v6, [F
aput v10, v13, v7
.line 494
invoke-static {v0, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v4
const/4 v4, 0x5
sget-object v12, Landroid/view/View;->SCALE_Y:Landroid/util/Property;
new-array v13, v6, [F
aput v10, v13, v7
.line 495
invoke-static {v0, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v4
const/4 v4, 0x6
sget-object v12, Landroid/view/View;->TRANSLATION_X:Landroid/util/Property;
new-array v13, v6, [F
iget v14, v9, Lim/tpelyyftgw/ui/components/Rect;->x:F
aput v14, v13, v7
.line 496
invoke-static {v0, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v4
const/4 v4, 0x7
sget-object v12, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v13, v6, [F
iget v14, v9, Lim/tpelyyftgw/ui/components/Rect;->y:F
aput v14, v13, v7
.line 497
invoke-static {v0, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v12
aput-object v12, v11, v4
const/16 v4, 0x8
iget-object v12, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 498
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v12}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2700(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v12
sget-object v13, Landroid/view/View;->TRANSLATION_Y:Landroid/util/Property;
new-array v14, v6, [F
iget-object v15, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v15}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2800(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v15
invoke-virtual {v15}, Landroid/view/ViewGroup;->getMeasuredHeight()I
move-result v15
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v5
add-int/2addr v15, v5
int-to-float v5, v15
aput v5, v14, v7
invoke-static {v12, v13, v14}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v5
aput-object v5, v11, v4
const/16 v4, 0x9
iget-object v5, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 499
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->backDrawable:Landroid/graphics/drawable/ColorDrawable;
invoke-static {v5}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$2900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/graphics/drawable/ColorDrawable;
move-result-object v5
sget-object v12, Lim/tpelyyftgw/ui/components/AnimationProperties;->COLOR_DRAWABLE_ALPHA:Landroid/util/Property;
new-array v13, v6, [I
aput v7, v13, v7
invoke-static {v5, v12, v13}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Landroid/util/Property;[I)Landroid/animation/ObjectAnimator;
move-result-object v5
aput-object v5, v11, v4
const/16 v4, 0xa
iget-object v5, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
.line 500
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v5}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v5
sget-object v12, Landroid/view/View;->ALPHA:Landroid/util/Property;
new-array v13, v6, [F
const/4 v14, 0x0
aput v14, v13, v7
invoke-static {v5, v12, v13}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v5
aput-object v5, v11, v4
const/16 v4, 0xb
sget-object v5, Landroid/view/View;->ALPHA:Landroid/util/Property;
new-array v6, v6, [F
aput v14, v6, v7
.line 501
invoke-static {v3, v5, v6}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;
move-result-object v5
aput-object v5, v11, v4
.line 489
invoke-virtual {v2, v11}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V
.line 503
new-instance v4, Landroid/view/animation/DecelerateInterpolator;
invoke-direct {v4}, Landroid/view/animation/DecelerateInterpolator;-><init>()V
invoke-virtual {v2, v4}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V
.line 504
const-wide/16 v4, 0xfa
invoke-virtual {v2, v4, v5}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;
.line 505
new-instance v4, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5$1;
move-object/from16 v7, p2
invoke-direct {v4, v1, v7}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5$1;-><init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;Ljava/lang/Runnable;)V
invoke-virtual {v2, v4}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 515
invoke-virtual {v2}, Landroid/animation/AnimatorSet;->start()V
.line 516
.end local v0 # "textureView":Landroid/view/TextureView;
.end local v2 # "animatorSet":Landroid/animation/AnimatorSet;
.end local v3 # "controlsView":Landroid/view/View;
.end local v8 # "textureImageView":Landroid/widget/ImageView;
.end local v9 # "rect":Lim/tpelyyftgw/ui/components/Rect;
.end local v10 # "scale":F
goto/16 :goto_279
.line 517
:cond_195
move-object/from16 v7, p2
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
move-result v0
if-nez v0, :cond_1b7
.line 518
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v0
const/high16 v2, 0x3f800000 # 1.0f
invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setAlpha(F)V
.line 519
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->fullscreenVideoContainer:Landroid/widget/FrameLayout;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1100(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/widget/FrameLayout;
move-result-object v0
invoke-virtual {v0, v4}, Landroid/widget/FrameLayout;->setVisibility(I)V
.line 521
:cond_1b7
invoke-interface/range {p2 .. p2}, Ljava/lang/Runnable;->run()V
.line 522
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->dismissInternal()V
goto/16 :goto_279
.line 525
:cond_1c1
move-object/from16 v7, p2
sget-boolean v0, Lim/tpelyyftgw/messenger/ApplicationLoader;->mainInterfacePaused:Z
if-eqz v0, :cond_1de
.line 527
:try_start_1c7
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->parentActivity:Landroid/app/Activity;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$1900(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/app/Activity;
move-result-object v0
new-instance v8, Landroid/content/Intent;
sget-object v9, Lim/tpelyyftgw/messenger/ApplicationLoader;->applicationContext:Landroid/content/Context;
const-class v10, Lim/tpelyyftgw/messenger/BringAppForegroundService;
invoke-direct {v8, v9, v10}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
invoke-virtual {v0, v8}, Landroid/app/Activity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
:try_end_1d9
.catchall {:try_start_1c7 .. :try_end_1d9} :catchall_1da
.line 530
goto :goto_1de
.line 528
:catchall_1da
move-exception v0
.line 529
.local v0, "e":Ljava/lang/Throwable;
invoke-static {v0}, Lim/tpelyyftgw/messenger/FileLog;->e(Ljava/lang/Throwable;)V
.line 533
.end local v0 # "e":Ljava/lang/Throwable;
:cond_1de
:goto_1de
if-eqz p4, :cond_238
.line 534
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->onShowListener:Landroid/content/DialogInterface$OnShowListener;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3000(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/content/DialogInterface$OnShowListener;
move-result-object v3
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V
.line 535
invoke-static/range {p3 .. p3}, Lim/tpelyyftgw/ui/components/PipVideoView;->getPipRect(F)Lim/tpelyyftgw/ui/components/Rect;
move-result-object v0
.line 537
.local v0, "rect":Lim/tpelyyftgw/ui/components/Rect;
iget-object v3, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v3
invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getTextureView()Landroid/view/TextureView;
move-result-object v3
.line 538
.local v3, "textureView":Landroid/view/TextureView;
iget-object v8, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->videoView:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v8}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/WebPlayerView;
move-result-object v8
invoke-virtual {v8}, Lim/tpelyyftgw/ui/components/WebPlayerView;->getTextureImageView()Landroid/widget/ImageView;
move-result-object v8
.line 539
.restart local v8 # "textureImageView":Landroid/widget/ImageView;
iget v9, v0, Lim/tpelyyftgw/ui/components/Rect;->width:F
invoke-virtual {v3}, Landroid/view/TextureView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v10
iget v10, v10, Landroid/view/ViewGroup$LayoutParams;->width:I
int-to-float v10, v10
div-float/2addr v9, v10
.line 540
.local v9, "scale":F
sget v10, Landroid/os/Build$VERSION;->SDK_INT:I
if-lt v10, v2, :cond_217
.line 541
iget v2, v0, Lim/tpelyyftgw/ui/components/Rect;->y:F
sget v10, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I
int-to-float v10, v10
add-float/2addr v2, v10
iput v2, v0, Lim/tpelyyftgw/ui/components/Rect;->y:F
.line 543
:cond_217
invoke-virtual {v8, v9}, Landroid/widget/ImageView;->setScaleX(F)V
.line 544
invoke-virtual {v8, v9}, Landroid/widget/ImageView;->setScaleY(F)V
.line 545
iget v2, v0, Lim/tpelyyftgw/ui/components/Rect;->x:F
invoke-virtual {v8, v2}, Landroid/widget/ImageView;->setTranslationX(F)V
.line 546
iget v2, v0, Lim/tpelyyftgw/ui/components/Rect;->y:F
invoke-virtual {v8, v2}, Landroid/widget/ImageView;->setTranslationY(F)V
.line 547
invoke-virtual {v3, v9}, Landroid/view/TextureView;->setScaleX(F)V
.line 548
invoke-virtual {v3, v9}, Landroid/view/TextureView;->setScaleY(F)V
.line 549
iget v2, v0, Lim/tpelyyftgw/ui/components/Rect;->x:F
invoke-virtual {v3, v2}, Landroid/view/TextureView;->setTranslationX(F)V
.line 550
iget v2, v0, Lim/tpelyyftgw/ui/components/Rect;->y:F
invoke-virtual {v3, v2}, Landroid/view/TextureView;->setTranslationY(F)V
.line 551
.end local v0 # "rect":Lim/tpelyyftgw/ui/components/Rect;
.end local v3 # "textureView":Landroid/view/TextureView;
.end local v8 # "textureImageView":Landroid/widget/ImageView;
.end local v9 # "scale":F
goto :goto_246
.line 552
:cond_238
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->pipVideoView:Lim/tpelyyftgw/ui/components/PipVideoView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$300(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/PipVideoView;
move-result-object v0
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/PipVideoView;->close()V
.line 553
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->pipVideoView:Lim/tpelyyftgw/ui/components/PipVideoView;
invoke-static {v0, v3}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$302(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Lim/tpelyyftgw/ui/components/PipVideoView;)Lim/tpelyyftgw/ui/components/PipVideoView;
.line 555
:goto_246
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0, v6}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->setShowWithoutAnimation(Z)V
.line 556
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->show()V
.line 557
if-eqz p4, :cond_279
.line 558
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# setter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->waitingForDraw:I
invoke-static {v0, v4}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3102(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;I)I
.line 559
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->backDrawable:Landroid/graphics/drawable/ColorDrawable;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3200(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/graphics/drawable/ColorDrawable;
move-result-object v0
invoke-virtual {v0, v6}, Landroid/graphics/drawable/ColorDrawable;->setAlpha(I)V
.line 560
iget-object v0, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3400(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v0
iget-object v2, v1, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$5;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
# getter for: Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->containerView:Landroid/view/ViewGroup;
invoke-static {v2}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$3300(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/view/ViewGroup;
move-result-object v2
invoke-virtual {v2}, Landroid/view/ViewGroup;->getMeasuredHeight()I
move-result v2
invoke-static {v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v3
add-int/2addr v2, v3
int-to-float v2, v2
invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setTranslationY(F)V
.line 563
:cond_279
:goto_279
return-void
.end method