class android.widget.VideoView$2 implements android.media.MediaPlayer$OnPreparedListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: android.widget.VideoView$2
super_class: java.lang.Object
{
final android.widget.VideoView this$0;
descriptor: Landroid/widget/VideoView;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(android.widget.VideoView);
descriptor: (Landroid/widget/VideoView;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // android.widget.VideoView$2 this
0: .line 465
aload 0 /* this */
aload 1
putfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // android.widget.VideoView$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/widget/VideoView$2;
MethodParameters:
Name Flags
this$0 final
public void onPrepared(android.media.MediaPlayer);
descriptor: (Landroid/media/MediaPlayer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 // android.widget.VideoView$2 this
start local 1 // android.media.MediaPlayer mp
0: .line 467
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
iconst_2
putfield android.widget.VideoView.mCurrentState:I
1: .line 470
aload 1 /* mp */
iconst_0
2: .line 471
iconst_0
3: .line 470
invokevirtual android.media.MediaPlayer.getMetadata:(ZZ)Landroid/media/Metadata;
astore 2 /* data */
start local 2 // android.media.Metadata data
4: .line 473
aload 2 /* data */
ifnull 18
5: .line 474
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 2 /* data */
iconst_1
invokevirtual android.media.Metadata.has:(I)Z
ifeq 7
6: .line 475
aload 2 /* data */
iconst_1
invokevirtual android.media.Metadata.getBoolean:(I)Z
ifne 7
iconst_0
goto 8
StackMap locals: android.widget.VideoView$2 android.media.MediaPlayer android.media.Metadata
StackMap stack: android.widget.VideoView
7: iconst_1
8: .line 474
StackMap locals: android.widget.VideoView$2 android.media.MediaPlayer android.media.Metadata
StackMap stack: android.widget.VideoView int
putfield android.widget.VideoView.mCanPause:Z
9: .line 476
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 2 /* data */
iconst_2
invokevirtual android.media.Metadata.has:(I)Z
ifeq 11
10: .line 477
aload 2 /* data */
iconst_2
invokevirtual android.media.Metadata.getBoolean:(I)Z
ifne 11
iconst_0
goto 12
StackMap locals:
StackMap stack: android.widget.VideoView
11: iconst_1
12: .line 476
StackMap locals: android.widget.VideoView$2 android.media.MediaPlayer android.media.Metadata
StackMap stack: android.widget.VideoView int
putfield android.widget.VideoView.mCanSeekBack:Z
13: .line 478
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 2 /* data */
iconst_3
invokevirtual android.media.Metadata.has:(I)Z
ifeq 15
14: .line 479
aload 2 /* data */
iconst_3
invokevirtual android.media.Metadata.getBoolean:(I)Z
ifne 15
iconst_0
goto 16
StackMap locals:
StackMap stack: android.widget.VideoView
15: iconst_1
16: .line 478
StackMap locals: android.widget.VideoView$2 android.media.MediaPlayer android.media.Metadata
StackMap stack: android.widget.VideoView int
putfield android.widget.VideoView.mCanSeekForward:Z
17: .line 480
goto 19
18: .line 481
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
iconst_1
dup_x1
putfield android.widget.VideoView.mCanSeekForward:Z
dup_x1
putfield android.widget.VideoView.mCanSeekBack:Z
putfield android.widget.VideoView.mCanPause:Z
19: .line 484
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mOnPreparedListener:Landroid/media/MediaPlayer$OnPreparedListener;
ifnull 21
20: .line 485
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mOnPreparedListener:Landroid/media/MediaPlayer$OnPreparedListener;
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaPlayer:Landroid/media/MediaPlayer;
invokeinterface android.media.MediaPlayer$OnPreparedListener.onPrepared:(Landroid/media/MediaPlayer;)V
21: .line 487
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
ifnull 23
22: .line 488
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
iconst_1
invokevirtual android.widget.MediaController.setEnabled:(Z)V
23: .line 490
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 1 /* mp */
invokevirtual android.media.MediaPlayer.getVideoWidth:()I
putfield android.widget.VideoView.mVideoWidth:I
24: .line 491
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
aload 1 /* mp */
invokevirtual android.media.MediaPlayer.getVideoHeight:()I
putfield android.widget.VideoView.mVideoHeight:I
25: .line 493
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mSeekWhenPrepared:I
istore 3 /* seekToPosition */
start local 3 // int seekToPosition
26: .line 494
iload 3 /* seekToPosition */
ifeq 28
27: .line 495
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
iload 3 /* seekToPosition */
invokevirtual android.widget.VideoView.seekTo:(I)V
28: .line 497
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoWidth:I
ifeq 41
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoHeight:I
ifeq 41
29: .line 499
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
invokevirtual android.widget.VideoView.getHolder:()Landroid/view/SurfaceHolder;
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoWidth:I
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoHeight:I
invokeinterface android.view.SurfaceHolder.setFixedSize:(II)V
30: .line 500
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mSurfaceWidth:I
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoWidth:I
if_icmpne 43
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mSurfaceHeight:I
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mVideoHeight:I
if_icmpne 43
31: .line 504
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mTargetState:I
iconst_3
if_icmpne 36
32: .line 505
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
invokevirtual android.widget.VideoView.start:()V
33: .line 506
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
ifnull 43
34: .line 507
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
invokevirtual android.widget.MediaController.show:()V
35: .line 509
goto 43
StackMap locals:
StackMap stack:
36: aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
invokevirtual android.widget.VideoView.isPlaying:()Z
ifne 43
37: .line 510
iload 3 /* seekToPosition */
ifne 38
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
invokevirtual android.widget.VideoView.getCurrentPosition:()I
ifle 43
38: .line 511
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
ifnull 43
39: .line 513
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mMediaController:Landroid/widget/MediaController;
iconst_0
invokevirtual android.widget.MediaController.show:(I)V
40: .line 517
goto 43
41: .line 520
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
getfield android.widget.VideoView.mTargetState:I
iconst_3
if_icmpne 43
42: .line 521
aload 0 /* this */
getfield android.widget.VideoView$2.this$0:Landroid/widget/VideoView;
invokevirtual android.widget.VideoView.start:()V
43: .line 524
StackMap locals:
StackMap stack:
return
end local 3 // int seekToPosition
end local 2 // android.media.Metadata data
end local 1 // android.media.MediaPlayer mp
end local 0 // android.widget.VideoView$2 this
LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Landroid/widget/VideoView$2;
0 44 1 mp Landroid/media/MediaPlayer;
4 44 2 data Landroid/media/Metadata;
26 44 3 seekToPosition I
MethodParameters:
Name Flags
mp
}
SourceFile: "VideoView.java"
EnclosingMethod: android.widget.VideoView
NestHost: android.widget.VideoView
InnerClasses:
public abstract OnPreparedListener = android.media.MediaPlayer$OnPreparedListener of android.media.MediaPlayer
android.widget.VideoView$2