Home
last modified time | relevance | path

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

/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java210 int newPosition = getCurrentPosition() + FAST_FORWARD_REWIND_STEP; in onKey() local
212 newPosition = getCurrentPosition() - FAST_FORWARD_REWIND_STEP; in onKey()
215 if (newPosition < 0) newPosition = 0; in onKey()
216 if (newPosition > getMediaDuration()) newPosition = getMediaDuration(); in onKey()
217 seekTo(newPosition); in onKey()
284 protected void seekTo(int newPosition) { in seekTo() argument
285 mPlayer.seekTo(newPosition); in seekTo()