/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
D | PlaybackControlGlue.java | 111 public static final int ACTION_PLAY_PAUSE = 0x40; field in PlaybackControlGlue 476 if (action == primaryActionsAdapter.lookup(ACTION_PLAY_PAUSE) in onKey() 647 if ((actions & ACTION_PLAY_PAUSE) != 0 && mPlayPauseAction == null) { in updateControlButtons() 649 primaryActionsAdapter.set(ACTION_PLAY_PAUSE, mPlayPauseAction); in updateControlButtons() 650 } else if ((actions & ACTION_PLAY_PAUSE) == 0 && mPlayPauseAction != null) { in updateControlButtons() 651 primaryActionsAdapter.clear(ACTION_PLAY_PAUSE); in updateControlButtons()
|
D | PlaybackBannerControlGlue.java | 93 ACTION_PLAY_PAUSE, 123 public static final int ACTION_PLAY_PAUSE = PlaybackBaseControlGlue.ACTION_PLAY_PAUSE; field in PlaybackBannerControlGlue 296 if ((supportedActions & ACTION_PLAY_PAUSE) != 0 && mPlayPauseAction == null) { in onCreatePrimaryActions() 300 } else if ((supportedActions & ACTION_PLAY_PAUSE) == 0 && mPlayPauseAction != null) { in onCreatePrimaryActions()
|
D | MediaControllerAdapter.java | 20 import static androidx.leanback.media.PlaybackBaseControlGlue.ACTION_PLAY_PAUSE; 289 if ((actionsFromController & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions() 290 supportedActions |= ACTION_PLAY_PAUSE; in getSupportedActions()
|
D | MediaControllerGlue.java | 177 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions() 178 result |= ACTION_PLAY_PAUSE; in getSupportedActions()
|
D | PlayerAdapter.java | 231 return PlaybackBaseControlGlue.ACTION_PLAY_PAUSE; in getSupportedActions()
|
D | MediaPlayerGlue.java | 310 return PlaybackControlGlue.ACTION_PLAY_PAUSE in getSupportedActions()
|
D | PlaybackBaseControlGlue.java | 84 public static final int ACTION_PLAY_PAUSE = 0x40; field in PlaybackBaseControlGlue
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 47 ACTION_SEEK_TO, ACTION_PLAY_PAUSE, ACTION_PLAY_FROM_MEDIA_ID, ACTION_PLAY_FROM_SEARCH, 121 public static final long ACTION_PLAY_PAUSE = 1 << 9; field in PlaybackState 593 return ACTION_PLAY_PAUSE; in getActionForRccFlag() 621 case (int) ACTION_PLAY_PAUSE: in getRccFlagForAction()
|
D | MediaSession.java | 895 boolean canPlay = (validActions & (PlaybackState.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending() 897 boolean canPause = (validActions & (PlaybackState.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending()
|
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
D | PlaybackStateCompat.java | 51 ACTION_SEEK_TO, ACTION_PLAY_PAUSE, ACTION_PLAY_FROM_MEDIA_ID, ACTION_PLAY_FROM_SEARCH, 63 ACTION_SKIP_TO_NEXT, ACTION_FAST_FORWARD, ACTION_PLAY_PAUSE}) 135 public static final long ACTION_PLAY_PAUSE = 1 << 9; field in PlaybackStateCompat 533 } else if (action == ACTION_PLAY_PAUSE) { in toKeyCode()
|
D | MediaSessionCompat.java | 1028 boolean canPlay = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending() 1030 boolean canPause = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending() 2127 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getRccTransportControlFlagsFromActions()
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | PlaybackTransportControlGlueSample.java | 339 } else if ((actionsFromPlayerAdapter & PlaybackBaseControlGlue.ACTION_PLAY_PAUSE) != 0) { in getPlaybackStateActions() 340 supportedActions |= PlaybackStateCompat.ACTION_PLAY_PAUSE; in getPlaybackStateActions()
|
D | PlaybackControlGlue.java | 180 return PlaybackControlGlue.ACTION_PLAY_PAUSE in getSupportedActions()
|
D | MediaSessionService.java | 625 | PlaybackStateCompat.ACTION_PLAY_PAUSE in getPlaybackStateActions()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | PlaybackFragmentTest.java | 103 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testSelectedListener() 170 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testClickedListener() 342 return PlaybackControlGlue.ACTION_PLAY_PAUSE; in onCreate()
|
D | PlaybackSupportFragmentTest.java | 100 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testSelectedListener() 167 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testClickedListener() 339 return PlaybackControlGlue.ACTION_PLAY_PAUSE; in onCreate()
|
D | PlaybackTestFragment.java | 283 return ACTION_PLAY_PAUSE | ACTION_FAST_FORWARD | ACTION_REWIND; in getSupportedActions()
|
D | PlaybackTestSupportFragment.java | 280 return ACTION_PLAY_PAUSE | ACTION_FAST_FORWARD | ACTION_REWIND; in getSupportedActions()
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
D | MediaRouteControllerDialog.java | 21 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PLAY_PAUSE; 1046 return (mState.getActions() & (ACTION_PLAY | ACTION_PLAY_PAUSE)) != 0; in isPlayActionSupported() 1050 return (mState.getActions() & (ACTION_PAUSE | ACTION_PLAY_PAUSE)) != 0; in isPauseActionSupported()
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
D | MediaRouteControllerDialog.java | 21 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PLAY_PAUSE; 1052 return (mState.getActions() & (ACTION_PLAY | ACTION_PLAY_PAUSE)) != 0; in isPlayActionSupported() 1056 return (mState.getActions() & (ACTION_PAUSE | ACTION_PLAY_PAUSE)) != 0; in isPauseActionSupported()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
D | MediaControllerAdapterTest.java | 742 | PlaybackStateCompat.ACTION_PLAY_PAUSE in getPlaybackStateActions()
|
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/ |
D | MediaSessionCompatCallbackTest.java | 778 | PlaybackStateCompat.ACTION_PLAY_PAUSE | PlaybackStateCompat.ACTION_STOP in setPlaybackState()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaSession2ImplBase.java | 917 | PlaybackStateCompat.ACTION_SEEK_TO | PlaybackStateCompat.ACTION_PLAY_PAUSE in getPlaybackStateCompat()
|
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/ |
D | MediaSessionCompatCallbackTest.java | 853 | PlaybackStateCompat.ACTION_PLAY_PAUSE | PlaybackStateCompat.ACTION_STOP in setPlaybackState()
|
/frameworks/support/media/api_legacy/ |
D | 26.0.0.txt | 564 field public static final long ACTION_PLAY_PAUSE = 512L; // 0x200L
|