.class Lcom/viatech/vpaiphoto/VPaiVideoView$5; .super Ljava/lang/Object; .source "VPaiVideoView.java" # interfaces .implements Landroid/view/TextureView$SurfaceTextureListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/vpaiphoto/VPaiVideoView;->m()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Lcom/viatech/vpaiphoto/VPaiVideoView; # direct methods .method constructor (Lcom/viatech/vpaiphoto/VPaiVideoView;)V .locals 0 .prologue .line 1106 iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onSurfaceTextureAvailable(Landroid/graphics/SurfaceTexture;II)V .locals 3 .prologue .line 1109 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 const/4 v1, 0x0 invoke-virtual {v0, p1, p2, p3, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->surfaceAvailable(Landroid/graphics/SurfaceTexture;III)V .line 1110 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; move-result-object v1 invoke-virtual {v1}, Lcom/viatech/Config;->b()I move-result v1 invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setInteractiveMode(I)V .line 1111 invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; move-result-object v0 invoke-virtual {v0}, Lcom/viatech/Config;->e()I move-result v0 .line 1112 if-eqz v0, :cond_0 .line 1113 add-int/lit8 v0, v0, 0x1 .line 1115 :cond_0 iget-object v1, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v1}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v1 invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; move-result-object v2 invoke-virtual {v2}, Lcom/viatech/Config;->f()I move-result v2 invoke-virtual {v1, v0, v2}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setVideoMode(II)V .line 1116 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; move-result-object v1 invoke-virtual {v1}, Lcom/viatech/Config;->d()I move-result v1 invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setProjectionMode(I)V .line 1117 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-static {}, Lcom/viatech/Config;->a()Lcom/viatech/Config; move-result-object v1 invoke-virtual {v1}, Lcom/viatech/Config;->c()I move-result v1 invoke-virtual {v0, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->setDisplayMode(I)V .line 1118 return-void .end method .method public onSurfaceTextureDestroyed(Landroid/graphics/SurfaceTexture;)Z .locals 1 .prologue .line 1128 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->releaseResources()V .line 1129 const/4 v0, 0x0 return v0 .end method .method public onSurfaceTextureSizeChanged(Landroid/graphics/SurfaceTexture;II)V .locals 2 .prologue .line 1122 const-string v0, "VPaiVideoView" const-string v1, "onSurfaceTextureSizeChanged()" invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 1123 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiVideoView$5;->a:Lcom/viatech/vpaiphoto/VPaiVideoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiVideoView;->u(Lcom/viatech/vpaiphoto/VPaiVideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-virtual {v0, p2, p3}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->updatePending(II)V .line 1124 return-void .end method .method public onSurfaceTextureUpdated(Landroid/graphics/SurfaceTexture;)V .locals 0 .prologue .line 1134 return-void .end method