Home
last modified time | relevance | path

Searched refs:mPaused (Results 1 – 7 of 7) 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/Support7Demos/src/com/example/android/supportv7/media/
DSessionManager.java43 private boolean mPaused; field in SessionManager
54 return hasSession() && mPaused; in isPaused()
184 mPaused = true; in pause()
196 mPaused = false; in resume()
210 mPaused = false; in stop()
218 mPaused = false; in startSession()
239 .setQueuePaused(mPaused) in getSessionStatus()
336 item.setState(mPaused ? MediaItemStatus.PLAYBACK_STATE_PAUSED in updatePlaybackState()
341 } else if (mPaused && item.getState() == MediaItemStatus.PLAYBACK_STATE_PLAYING) { in updatePlaybackState()
344 } else if (!mPaused && item.getState() == MediaItemStatus.PLAYBACK_STATE_PAUSED) { in updatePlaybackState()
/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()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DTransportControllerActivity.java115 boolean mPaused; field in TransportControllerActivity.Content
216 mPaused = false; in start()
225 mPaused = true; in pause()
235 if (mNavVisible && !mPaused) { in scheduleProgressUpdater()
258 if (!mMenusOpen && !mPaused) { in setNavVisibility()