Home
last modified time | relevance | path

Searched refs:mVideoPosition (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java60 private int mVideoPosition = 0; field in TrimVideo
118 mVideoView.seekTo(mVideoPosition); in onResume()
129 mVideoPosition = mVideoView.getCurrentPosition(); in onPause()
161 savedInstanceState.putInt(KEY_VIDEO_POSITION, mVideoPosition); in onSaveInstanceState()
170 mVideoPosition = savedInstanceState.getInt(KEY_VIDEO_POSITION, 0); in onRestoreInstanceState()
177 mVideoPosition = mVideoView.getCurrentPosition(); in setProgress()
180 if (mVideoPosition < mTrimStartTime) { in setProgress()
182 mVideoPosition = mTrimStartTime; in setProgress()
186 if (mVideoPosition >= mTrimEndTime && mTrimEndTime > 0) { in setProgress()
187 if (mVideoPosition > mTrimEndTime) { in setProgress()
[all …]
DMoviePlayer.java88 private int mVideoPosition = 0; field in MoviePlayer
190 mVideoPosition = savedInstance.getInt(KEY_VIDEO_POSITION, 0); in MoviePlayer()
243 outState.putInt(KEY_VIDEO_POSITION, mVideoPosition); in onSaveInstanceState()
280 mVideoPosition = mVideoView.getCurrentPosition(); in onPause()
281 mBookmarker.setBookmark(mUri, mVideoPosition, mVideoView.getDuration()); in onPause()
288 mVideoView.seekTo(mVideoPosition); in onResume()