Home
last modified time | relevance | path

Searched refs:mVideoView (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java79 private final VideoView mVideoView; field in MoviePlayer
103 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 …]
DTrimVideo.java48 private VideoView mVideoView; field in TrimVideo
100 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 …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java62 private final VideoView mVideoView; field in VideoThumbnailView
89 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 …]
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java57 private final VideoView mVideoView; field in MovieViewControl
71 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 …]
/packages/apps/Camera2/src/com/android/camera/data/
DVideoItem.java43 private final ImageView mVideoView; field in VideoItem.VideoViewHolder
47 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()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DVideoPlayerActivity.java48 private VideoView mVideoView; field in VideoPlayerActivity
66 mVideoView = findViewById(R.id.video_view); in onCreate()
88 SessionToken token = mVideoView.getSessionToken(); in onAttachedToWindow()
119 mVideoView.setMediaItem(mediaItem); in handleIntent()
DAudioPlayerActivity.java46 private VideoView mVideoView; field in AudioPlayerActivity
119 mVideoView = findViewById(R.id.video_view); in onCreate()
141 mVideoView.setMediaItem(mediaItem); in handleIntent()