Searched refs:mVideoView (Results 1 – 5 of 5) sorted by relevance
57 private MyVideoView mVideoView = null; field in VideoViewTest75 mVideoView = findViewById(R.id.video_view); in onCreate()76 mVideoView.setActivity(this); in onCreate()86 mVideoView.setViewType(VideoView2.VIEW_TYPE_TEXTUREVIEW); in onCreate()88 mVideoView.setVideoUri(contentUri); in onCreate()91 mVideoView.setMediaControlView2(mMediaControlView, 2000); in onCreate()103 if (mVideoView.isAttachedToWindow()) { in onResume()104 mVideoView.getMediaController().getTransportControls().play(); in onResume()105 mVideoView.getMediaController().registerCallback(mMediaControllerCallback); in onResume()107 mVideoView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onResume()[all …]
43 private VideoDumpView mVideoView; field in VideoDumpActivity58 mVideoView.onPause(); in onPause()64 mVideoView.onResume(); in onResume()68 mVideoView = new VideoDumpView(this); in createView()69 mVideoView.setMediaController(new MediaController(context)); in createView()72 mainLayout.addView(mVideoView, new LinearLayout.LayoutParams( in createView()80 if (mVideoView != null) { in onStop()81 if (mVideoView.isPlaying()) { in onStop()82 mVideoView.stopPlayback(); in onStop()
32 private VideoView mVideoView; field in VideoActivity42 mVideoView = new VideoView(this); in onCreate()43 mVideoView.setOnPreparedListener(new OnPreparedListener() { in onCreate()49 setContentView(mVideoView); in onCreate()59 mVideoView.setVideoURI(uri); in playVideo()60 mVideoView.start(); in playVideo()82 if (mVideoView != null) { in onStop()83 mVideoView.stopPlayback(); in onStop()
35 private VideoView mVideoView; field in VideoViewCaptureActivity41 mVideoView = new VideoView(this); in onCreate()42 mVideoView.setOnPreparedListener(mp -> { in onCreate()46 mVideoView.start(); in onCreate()50 mVideoView.setVideoURI(uri); in onCreate()58 PixelCopy.request(mVideoView, b, in onCreate()73 }, mVideoView.getHandler()); in onCreate()81 layout.addView(mVideoView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
89 private VideoView2 mVideoView; field in VideoView2Test103 mVideoView = (VideoView2) mActivity.findViewById(R.id.videoview); in setup()127 if (!mVideoView.isAttachedToWindow()) { in setup()128 mVideoView.addOnAttachStateChangeListener(mockAttachListener); in setup()129 verify(mockAttachListener, timeout(TIME_OUT)).onViewAttachedToWindow(same(mVideoView)); in setup()131 mController = mVideoView.getMediaController(); in setup()184 mVideoView.setVideoPath(mVideoPath); in testPlayVideo()218 mVideoView.setOnViewTypeChangedListener(mockViewTypeListener); in testPlayVideoOnTextureView()219 mVideoView.setViewType(mVideoView.VIEW_TYPE_TEXTUREVIEW); in testPlayVideoOnTextureView()221 mVideoView.setVideoPath(mVideoPath); in testPlayVideoOnTextureView()[all …]