Home
last modified time | relevance | path

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

/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DArticleFragment.java27 int mCurrentPosition = -1; field in ArticleFragment
37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION); in onCreateView()
56 } else if (mCurrentPosition != -1) { in onStart()
58 updateArticleView(mCurrentPosition); in onStart()
65 mCurrentPosition = position; in updateArticleView()
73 outState.putInt(ARG_POSITION, mCurrentPosition); in onSaveInstanceState()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java70 private volatile int mCurrentPosition; field in Playback
113 mCurrentPosition = getCurrentStreamPosition(); in stop()
142 mMediaPlayer.getCurrentPosition() : mCurrentPosition; in getCurrentStreamPosition()
152 mCurrentPosition = 0; in play()
204 mCurrentPosition = mMediaPlayer.getCurrentPosition(); in pause()
222 mCurrentPosition = position; in seekTo()
293 mCurrentPosition); in configMediaPlayerState()
294 if (mCurrentPosition == mMediaPlayer.getCurrentPosition()) { in configMediaPlayerState()
298 mMediaPlayer.seekTo(mCurrentPosition); in configMediaPlayerState()
350 mCurrentPosition = mp.getCurrentPosition(); in onSeekComplete()