You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
4.3 KiB
147 lines
4.3 KiB
.class Lcom/viatech/VrPlayer/VideoView$1; |
|
.super Ljava/lang/Object; |
|
.source "VideoView.java" |
|
|
|
# interfaces |
|
.implements Landroid/view/TextureView$SurfaceTextureListener; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/VrPlayer/VideoView;->initSphericalMediaPlayer()V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/VrPlayer/VideoView;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 58 |
|
iput-object p1, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onSurfaceTextureAvailable(Landroid/graphics/SurfaceTexture;II)V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 61 |
|
const-string v0, "Vpai_VideoView" |
|
|
|
const-string v1, "onSurfaceTextureAvailable()" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 62 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/VrPlayer/VideoView;->access$000(Lcom/viatech/VrPlayer/VideoView;)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 63 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/VrPlayer/VideoView;->access$000(Lcom/viatech/VrPlayer/VideoView;)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 67 |
|
return-void |
|
.end method |
|
|
|
.method public onSurfaceTextureDestroyed(Landroid/graphics/SurfaceTexture;)Z |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v2, 0x0 |
|
|
|
.line 76 |
|
const-string v0, "Vpai_VideoView" |
|
|
|
const-string v1, "onSurfaceTextureDestroyed()" |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 77 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/VrPlayer/VideoView;->access$000(Lcom/viatech/VrPlayer/VideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->releaseResources()V |
|
|
|
.line 78 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0, v2}, Lcom/viatech/VrPlayer/VideoView;->access$102(Lcom/viatech/VrPlayer/VideoView;Landroid/view/Surface;)Landroid/view/Surface; |
|
|
|
.line 79 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/VrPlayer/VideoView;->access$200(Lcom/viatech/VrPlayer/VideoView;)Lcom/viatech/VrPlayer/VrMediaPlayer; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Lcom/viatech/VrPlayer/VrMediaPlayer;->setSurface(Landroid/view/Surface;)V |
|
|
|
.line 80 |
|
const/4 v0, 0x0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public onSurfaceTextureSizeChanged(Landroid/graphics/SurfaceTexture;II)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 71 |
|
iget-object v0, p0, Lcom/viatech/VrPlayer/VideoView$1;->this$0:Lcom/viatech/VrPlayer/VideoView; |
|
|
|
invoke-static {v0}, Lcom/viatech/VrPlayer/VideoView;->access$000(Lcom/viatech/VrPlayer/VideoView;)Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, p2, p3}, Lcom/via/vpailib/vpaiinterface/SphericalMediaPlayer;->updatePending(II)V |
|
|
|
.line 72 |
|
return-void |
|
.end method |
|
|
|
.method public onSurfaceTextureUpdated(Landroid/graphics/SurfaceTexture;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 86 |
|
return-void |
|
.end method
|
|
|