Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java59 private int mTrimEndTime = 0; field in TrimVideo
160 savedInstanceState.putInt(KEY_TRIM_END, mTrimEndTime); in onSaveInstanceState()
169 mTrimEndTime = savedInstanceState.getInt(KEY_TRIM_END, 0); in onRestoreInstanceState()
186 if (mVideoPosition >= mTrimEndTime && mTrimEndTime > 0) { in setProgress()
187 if (mVideoPosition > mTrimEndTime) { in setProgress()
188 mVideoView.seekTo(mTrimEndTime); in setProgress()
189 mVideoPosition = mTrimEndTime; in setProgress()
196 if (duration > 0 && mTrimEndTime == 0) { in setProgress()
197 mTrimEndTime = duration; in setProgress()
199 mController.setTimes(mVideoPosition, duration, mTrimStartTime, mTrimEndTime); in setProgress()
[all …]
DTrimTimeBar.java50 private int mTrimEndTime; field in TrimTimeBar
58 mTrimEndTime = 0; in TrimTimeBar()
99 mTrimEndScrubberLeft = getBarPosFromTime(mTrimEndTime) in updatePlayedBarAndScrubberFromTime()
113 if (mTotalTime > 0 && mTrimEndTime == 0) { in initTrimTimeIfNeeded()
114 mTrimEndTime = mTotalTime; in initTrimTimeIfNeeded()
128 && mTrimStartTime == trimStartTime && mTrimEndTime == trimEndTime) { in setTime()
134 mTrimEndTime = trimEndTime; in setTime()
221 mTrimEndTime = getScrubberTime(mTrimEndScrubberLeft, trimEndScrubberTipOffset()); in updateTimeFromPos()