Home
last modified time | relevance | path

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

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java66 private int mSeekToPos; field in LocalPlayer
116 mSeekToPos = (int)item.getPosition(); in play()
144 mSeekToPos = pos; in seek()
148 mSeekToPos = pos; in seek()
158 item.setPosition(mSeekToPos > 0 ? in getStatus()
159 mSeekToPos : mMediaPlayer.getCurrentPosition()); in getStatus()
227 if (mSeekToPos > 0) { in onPrepared()
229 Log.d(TAG, "seek to initial pos: " + mSeekToPos); in onPrepared()
231 mMediaPlayer.seekTo(mSeekToPos); in onPrepared()
282 mSeekToPos = 0; in onSeekComplete()
[all …]
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java64 private int mSeekToPos; field in LocalPlayer
119 mSeekToPos = (int)item.getPosition(); in play()
147 mSeekToPos = pos; in seek()
151 mSeekToPos = pos; in seek()
161 item.setPosition(mSeekToPos > 0 ? in getStatus()
162 mSeekToPos : mMediaPlayer.getCurrentPosition()); in getStatus()
230 if (mSeekToPos > 0) { in onPrepared()
232 Log.d(TAG, "seek to initial pos: " + mSeekToPos); in onPrepared()
234 mMediaPlayer.seekTo(mSeekToPos); in onPrepared()
285 mSeekToPos = 0; in onSeekComplete()
[all …]