Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DPlayerActivity.java78 private int mDuration; field in PlayerActivity
245 updateSeekbar(currentPos, mDuration); in run()
308 mDuration = mp.getDuration(); in setupControlsCallbacks()
309 mEndText.setText(formatTimeSignature(mDuration)); in setupControlsCallbacks()
310 mSeekbar.setMax(mDuration); in setupControlsCallbacks()
336 int delta = (int) (mDuration / SCRUB_SEGMENT_DIVISOR); in onKeyDown()
340 Log.v("keycode", "duration " + mDuration + " delta:" + delta); in onKeyDown()
358 if (currentPos < mDuration) in onKeyDown()
371 mStartText.setText(formatTimeSignature(mDuration)); in updateSeekbar()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DPlaybackOverlayFragment.java105 private long mDuration; field in PlaybackOverlayFragment
238 mDuration = Long.parseLong(time); in getDuration()
239 return (int) mDuration; in getDuration()
388 if (currentTime > (int) mDuration) { in fastForward()
389 currentTime = (int) mDuration; in fastForward()
397 if (currentTime < 0 || currentTime > (int) mDuration) { in fastRewind()