.class Lcom/viatech/vpaiphoto/VPaiPhotoView$2; .super Ljava/lang/Object; .source "VPaiPhotoView.java" # interfaces .implements Landroid/view/TextureView$SurfaceTextureListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/vpaiphoto/VPaiPhotoView;->h()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Lcom/viatech/vpaiphoto/VPaiPhotoView; # direct methods .method constructor (Lcom/viatech/vpaiphoto/VPaiPhotoView;)V .locals 0 .prologue .line 125 iput-object p1, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onSurfaceTextureAvailable(Landroid/graphics/SurfaceTexture;II)V .locals 2 .prologue .line 128 invoke-static {}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f()Ljava/lang/String; move-result-object v0 const-string v1, "onSurfaceTextureAvailable()" invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 129 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 const/4 v1, 0x1 invoke-virtual {v0, p1, p2, p3, v1}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->surfaceAvailable(Landroid/graphics/SurfaceTexture;III)V .line 130 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)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 131 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)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 132 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)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 133 return-void .end method .method public onSurfaceTextureDestroyed(Landroid/graphics/SurfaceTexture;)Z .locals 2 .prologue .line 143 invoke-static {}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f()Ljava/lang/String; move-result-object v0 const-string v1, "onSurfaceTextureDestroyed()" invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 144 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->releaseResources()V .line 145 const/4 v0, 0x0 return v0 .end method .method public onSurfaceTextureSizeChanged(Landroid/graphics/SurfaceTexture;II)V .locals 2 .prologue .line 137 invoke-static {}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->f()Ljava/lang/String; move-result-object v0 const-string v1, "onSurfaceTextureSizeChanged()" invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 138 iget-object v0, p0, Lcom/viatech/vpaiphoto/VPaiPhotoView$2;->a:Lcom/viatech/vpaiphoto/VPaiPhotoView; invoke-static {v0}, Lcom/viatech/vpaiphoto/VPaiPhotoView;->a(Lcom/viatech/vpaiphoto/VPaiPhotoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; move-result-object v0 invoke-virtual {v0, p2, p3}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->updatePending(II)V .line 139 return-void .end method .method public onSurfaceTextureUpdated(Landroid/graphics/SurfaceTexture;)V .locals 0 .prologue .line 150 return-void .end method