WebPlayerView$2.smali
.class Lim/tpelyyftgw/ui/components/WebPlayerView$2;
.super Ljava/lang/Object;
.source "WebPlayerView.java"
# interfaces
.implements Landroid/view/TextureView$SurfaceTextureListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/components/WebPlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/components/WebPlayerView;)V
.registers 2
.param p1, "this$0" # Lim/tpelyyftgw/ui/components/WebPlayerView;
.line 1137
iput-object p1, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onSurfaceTextureAvailable(Landroid/graphics/SurfaceTexture;II)V
.registers 4
.param p1, "surface" # Landroid/graphics/SurfaceTexture;
.param p2, "width" # I
.param p3, "height" # I
.line 1141
return-void
.end method
.method public onSurfaceTextureDestroyed(Landroid/graphics/SurfaceTexture;)Z
.registers 4
.param p1, "surface" # Landroid/graphics/SurfaceTexture;
.line 1150
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2600(Lim/tpelyyftgw/ui/components/WebPlayerView;)Z
move-result v0
if-eqz v0, :cond_2f
.line 1151
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2700(Lim/tpelyyftgw/ui/components/WebPlayerView;)Z
move-result v0
if-eqz v0, :cond_16
.line 1152
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
const/4 v1, 0x2
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2802(Lim/tpelyyftgw/ui/components/WebPlayerView;I)I
.line 1154
:cond_16
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2900(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/view/TextureView;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/view/TextureView;->setSurfaceTexture(Landroid/graphics/SurfaceTexture;)V
.line 1155
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2900(Lim/tpelyyftgw/ui/components/WebPlayerView;)Landroid/view/TextureView;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/TextureView;->setVisibility(I)V
.line 1156
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2602(Lim/tpelyyftgw/ui/components/WebPlayerView;Z)Z
.line 1157
return v1
.line 1159
:cond_2f
const/4 v0, 0x1
return v0
.end method
.method public onSurfaceTextureSizeChanged(Landroid/graphics/SurfaceTexture;II)V
.registers 4
.param p1, "surface" # Landroid/graphics/SurfaceTexture;
.param p2, "width" # I
.param p3, "height" # I
.line 1146
return-void
.end method
.method public onSurfaceTextureUpdated(Landroid/graphics/SurfaceTexture;)V
.registers 4
.param p1, "surface" # Landroid/graphics/SurfaceTexture;
.line 1164
iget-object v0, p0, Lim/tpelyyftgw/ui/components/WebPlayerView$2;->this$0:Lim/tpelyyftgw/ui/components/WebPlayerView;
invoke-static {v0}, Lim/tpelyyftgw/ui/components/WebPlayerView;->access$2800(Lim/tpelyyftgw/ui/components/WebPlayerView;)I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_24
.line 1165
iget-object v0, p0, 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
new-instance v1, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;
invoke-direct {v1, p0}, Lim/tpelyyftgw/ui/components/WebPlayerView$2$1;-><init>(Lim/tpelyyftgw/ui/components/WebPlayerView$2;)V
invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
.line 1182
iget-object v0, p0, 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;->invalidate()V
.line 1184
:cond_24
return-void
.end method