Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameActivity.java61 boolean mPaused; field in GameActivity.Content
71 if (!mPaused) {
97 if (!mPaused && (diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0 in onSystemUiVisibilityChange()
128 setGamePaused(!mPaused); in onClick()
133 mPaused = paused; in setGamePaused()
151 if (!mPaused) { in updateNavVisibility()
DVideoPlayerActivity.java70 boolean mPaused; field in VideoPlayerActivity.Content
135 setPlayPaused(!mPaused); in onClick()
148 mPaused = paused; in setPlayPaused()
168 if (!mMenusOpen && !mPaused) { in setNavVisibility()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java45 private boolean mPaused; field in SessionManager
184 mPaused = true; in pause()
192 mPaused = false; in resume()
202 mPaused = false; in stop()
210 mPaused = false; in startSession()
231 .setQueuePaused(mPaused) in getSessionStatus()
328 item.setState(mPaused ? MediaItemStatus.PLAYBACK_STATE_PAUSED in updatePlaybackState()
333 } else if (mPaused && item.getState() == MediaItemStatus.PLAYBACK_STATE_PLAYING) { in updatePlaybackState()
336 } else if (!mPaused && item.getState() == MediaItemStatus.PLAYBACK_STATE_PAUSED) { in updatePlaybackState()
DMainActivity.java92 private boolean mPaused; field in MainActivity
153 (mPaused ? 0 : (SystemClock.elapsedRealtime() - item.getTimestamp()));
316 mPaused = !mPaused; in onCreate()
317 if (mPaused) { in onCreate()
329 mPaused = false; in onCreate()
424 mPaused = !mPaused; in handleMediaKey()
425 if (mPaused) { in handleMediaKey()
434 if (mPaused) { in handleMediaKey()
435 mPaused = false; in handleMediaKey()
442 if (!mPaused) { in handleMediaKey()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java74 private boolean mPaused; field in PresentationWithMediaRouterActivity
111 mPaused = false; in onResume()
124 mPaused = true; in onPause()
199 if (mPaused) { in updateContents()
209 if (mPaused) { in updateContents()