Home
last modified time | relevance | path

Searched refs:mVideoView (Results 1 – 5 of 5) 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/Mms/src/com/android/mms/ui/
DSlideView.java62 private VideoView mVideoView; field in SlideView
141 if (mVideoView == null) { in setVideo()
142 mVideoView = new VideoView(mContext); in setVideo()
143 addView(mVideoView, new LayoutParams( in setVideo()
146 mVideoView.setBackgroundColor(0xFFFF0000); in setVideo()
153 mVideoView.setVisibility(View.VISIBLE); in setVideo()
154 mVideoView.setVideoURI(video); in setVideo()
261 if (mVideoView != null && !mConformanceMode) { in setVideoRegion()
262 mVideoView.setLayoutParams(new LayoutParams(width, height, left, top)); in setVideoRegion()
287 if (mVideoView != null) { in setVideoVisibility()
[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/
DLocalMediaData.java843 fillImageView(context, viewHolder.mVideoView, thumbWidth, thumbHeight, in getView()
868 Glide.clear(videoViewHolder.mVideoView); in recycle()
886 private final ImageView mVideoView; field in LocalMediaData.VideoViewHolder
890 mVideoView = videoView; in VideoViewHolder()