Searched refs:mVideoView (Results 1 – 7 of 7) sorted by relevance
79 private final VideoView mVideoView; field in MoviePlayer103 if (mVideoView.isPlaying()) {123 mVideoView = (VideoView) rootView.findViewById(R.id.surface_view); in MoviePlayer()132 mVideoView.setOnErrorListener(this); in MoviePlayer()133 mVideoView.setOnCompletionListener(this); in MoviePlayer()134 mVideoView.setVideoURI(mUri); in MoviePlayer()139 int session = mVideoView.getAudioSessionId(); in MoviePlayer()147 mVideoView.setOnTouchListener(new View.OnTouchListener() { in MoviePlayer()154 mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { in MoviePlayer()157 if (!mVideoView.canSeekForward() || !mVideoView.canSeekBackward()) { in MoviePlayer()[all …]
48 private VideoView mVideoView; field in TrimVideo100 mVideoView = (VideoView) rootView.findViewById(R.id.surface_view); in onCreate()107 mVideoView.setOnErrorListener(this); in onCreate()108 mVideoView.setOnCompletionListener(this); in onCreate()109 mVideoView.setVideoURI(mUri); in onCreate()118 mVideoView.seekTo(mVideoPosition); in onResume()119 mVideoView.resume(); in onResume()129 mVideoPosition = mVideoView.getCurrentPosition(); in onPause()130 mVideoView.suspend(); in onPause()145 mVideoView.stopPlayback(); in onDestroy()[all …]
62 private final VideoView mVideoView; field in VideoThumbnailView89 mVideoView = new VideoView(context); in VideoThumbnailView()93 mVideoView.setFocusable(false); in VideoThumbnailView()94 mVideoView.setFocusableInTouchMode(false); in VideoThumbnailView()95 mVideoView.clearFocus(); in VideoThumbnailView()96 addView(mVideoView, 0, new ViewGroup.LayoutParams( in VideoThumbnailView()98 mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { in VideoThumbnailView()108 mVideoView.setOnCompletionListener(new MediaPlayer.OnCompletionListener() { in VideoThumbnailView()114 mVideoView.setOnErrorListener(new MediaPlayer.OnErrorListener() { in VideoThumbnailView()121 mVideoView = null; in VideoThumbnailView()[all …]
57 private final VideoView mVideoView; field in MovieViewControl71 if (mVideoView.isPlaying()) {81 mVideoView = (VideoView) rootView.findViewById(R.id.surface_view); in MovieViewControl()96 mVideoView.setOnErrorListener(this); in MovieViewControl()97 mVideoView.setOnCompletionListener(this); in MovieViewControl()98 mVideoView.setVideoURI(mUri); in MovieViewControl()100 mVideoView.setMediaController(mMediaController); in MovieViewControl()103 mVideoView.requestFocus(); in MovieViewControl()123 mVideoView.seekTo(bookmark); in MovieViewControl()124 mVideoView.start(); in MovieViewControl()[all …]
43 private final ImageView mVideoView; field in VideoItem.VideoViewHolder47 mVideoView = videoView; in VideoViewHolder()198 .into(getViewHolder(view).mVideoView); in renderThumbnail()208 Glide.clear(getViewHolder(view).mVideoView); in recycle()230 .into(viewHolder.mVideoView); in renderTiny()
48 private VideoView mVideoView; field in VideoPlayerActivity66 mVideoView = findViewById(R.id.video_view); in onCreate()88 SessionToken token = mVideoView.getSessionToken(); in onAttachedToWindow()119 mVideoView.setMediaItem(mediaItem); in handleIntent()
46 private VideoView mVideoView; field in AudioPlayerActivity119 mVideoView = findViewById(R.id.video_view); in onCreate()141 mVideoView.setMediaItem(mediaItem); in handleIntent()