WebPlayerView$2$1.smali
.class Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;
.super Ljava/lang/Object;
.source "WebPlayerView.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnPreDrawListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/components/WebPlayerView$2;->onSurfaceTextureUpdated(Landroid/graphics/SurfaceTexture;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/WebPlayerView$2;)V
.registers 2
.param p1, "this$1" # Lim/tpelyyftgw/ui/components/WebPlayerView$2;
.line 1165
iput-object p1, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public synthetic lambda$onPreDraw$0$WebPlayerView$2$1()V
.registers 2
.line 1177
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3300(Lim/tpelyyftgw/ui/components/WebPlayerView;)Lim/tpelyyftgw/ui/components/WebPlayerView$WebPlayerViewDelegate;
move-result-object v0
invoke-interface {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView$WebPlayerViewDelegate;->onInlineSurfaceTextureReady()V
return-void
.end method
.method public onPreDraw()Z
.registers 3
.line 1168
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3000(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/view/TextureView;
move-result-object v0
invoke-virtual {v0}, Landroid/view/TextureView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
move-result-object v0
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
.line 1169
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3100(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/widget/ImageView;
move-result-object v0
if-eqz v0, :cond_4d
.line 1170
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3100(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/widget/ImageView;
move-result-object v0
const/4 v1, 0x4
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
.line 1171
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3100(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/widget/ImageView;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.line 1172
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3200(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/graphics/Bitmap;
move-result-object v0
if-eqz v0, :cond_4d
.line 1173
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3200(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/graphics/Bitmap;
move-result-object v0
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
.line 1174
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$3202(Lim/tpelyyftgw/ui/components/WebPlayerView;Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
.line 1177
:cond_4d
new-instance v0, Lim/tpelyyftgw/ui/components/-$$Lambda$WebPlayerView$2$1$zfqXEFeb8fmhAzFMCsBcD0ORRa8;
invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/-$$Lambda$WebPlayerView$2$1$zfqXEFeb8fmhAzFMCsBcD0ORRa8;-><init>(Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;)V
invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;)V
.line 1178
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;->this$1:Lim/tpelyyftgw/ui/components/WebPlayerView$2;
iget-object v0, v0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
const/4 v1, 0x0
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2802(Lim/tpelyyftgw/ui/components/WebPlayerView;I)I
.line 1179
const/4 v0, 0x1
return v0
.end method