Home
last modified time | relevance | path

Searched refs:ACTION_PLAY_PAUSE (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPlaybackControlGlueTest.java101 return ACTION_REWIND | ACTION_FAST_FORWARD | ACTION_PLAY_PAUSE; in getSupportedActions()
176 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testFastForwardToMaxThenReset()
221 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testFastRewindToMaxThenReset()
266 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testFastForwardAbortKeyCodes()
324 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testRewindAbortKeyCodes()
382 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnFF()
401 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnPlay()
417 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnPause()
434 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testMediaPlayButtonOnFF()
453 .lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testMediaPlayButtonOnPlay()
[all …]
DPlaybackControlSupportGlueTest.java104 return ACTION_REWIND | ACTION_FAST_FORWARD | ACTION_PLAY_PAUSE; in getSupportedActions()
179 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testFastForwardToMaxThenReset()
224 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testFastRewindToMaxThenReset()
269 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testFastForwardAbortKeyCodes()
327 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testRewindAbortKeyCodes()
385 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnFF()
404 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnPlay()
420 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testMediaPauseButtonOnPause()
437 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testMediaPlayButtonOnFF()
456 .lookup(PlaybackControlSupportGlue.ACTION_PLAY_PAUSE); in testMediaPlayButtonOnPlay()
[all …]
DPlaybackSupportFragmentTest.java103 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()
DPlaybackFragmentTest.java100 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()
DPlaybackTestFragment.java279 return ACTION_PLAY_PAUSE | ACTION_FAST_FORWARD | ACTION_REWIND; in getSupportedActions()
DPlaybackTestSupportFragment.java282 return ACTION_PLAY_PAUSE | ACTION_FAST_FORWARD | ACTION_REWIND; in getSupportedActions()
DPlaybackOverlayTestFragment.java325 return PlaybackControlGlue.ACTION_PLAY_PAUSE in getSupportedActions()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBannerControlGlue.java74 ACTION_PLAY_PAUSE,
102 public static final int ACTION_PLAY_PAUSE = 0x40; field in PlaybackBannerControlGlue
263 if ((supportedActions & ACTION_PLAY_PAUSE) != 0 && mPlayPauseAction == null) { in onCreatePrimaryActions()
267 } else if ((supportedActions & ACTION_PLAY_PAUSE) == 0 && mPlayPauseAction != null) { in onCreatePrimaryActions()
585 return PlaybackBannerControlGlue.ACTION_PLAY_PAUSE; in getSupportedActions()
DPlaybackControlGlue.java109 public static final int ACTION_PLAY_PAUSE = 0x40; field in PlaybackControlGlue
473 if (action == primaryActionsAdapter.lookup(ACTION_PLAY_PAUSE) in onKey()
644 if ((actions & ACTION_PLAY_PAUSE) != 0 && mPlayPauseAction == null) { in updateControlButtons()
646 primaryActionsAdapter.set(ACTION_PLAY_PAUSE, mPlayPauseAction); in updateControlButtons()
647 } else if ((actions & ACTION_PLAY_PAUSE) == 0 && mPlayPauseAction != null) { in updateControlButtons()
648 primaryActionsAdapter.clear(ACTION_PLAY_PAUSE); in updateControlButtons()
DMediaControllerGlue.java174 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions()
175 result |= ACTION_PLAY_PAUSE; in getSupportedActions()
DMediaPlayerGlue.java304 return PlaybackControlGlue.ACTION_PLAY_PAUSE in getSupportedActions()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlSupportGlue.java43 public static final int ACTION_PLAY_PAUSE = PlaybackControlGlue.ACTION_PLAY_PAUSE; field in PlaybackControlSupportGlue
DMediaControllerGlue.java189 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions()
190 result |= ACTION_PLAY_PAUSE; in getSupportedActions()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java46 ACTION_SEEK_TO, ACTION_PLAY_PAUSE, ACTION_PLAY_FROM_MEDIA_ID, ACTION_PLAY_FROM_SEARCH,
120 public static final long ACTION_PLAY_PAUSE = 1 << 9; field in PlaybackState
592 return ACTION_PLAY_PAUSE; in getActionForRccFlag()
620 case (int) ACTION_PLAY_PAUSE: in getRccFlagForAction()
DMediaSession.java822 boolean canPlay = (validActions & (PlaybackState.ACTION_PLAY_PAUSE in onMediaButtonEvent()
824 boolean canPause = (validActions & (PlaybackState.ACTION_PLAY_PAUSE in onMediaButtonEvent()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java50 ACTION_SEEK_TO, ACTION_PLAY_PAUSE, ACTION_PLAY_FROM_MEDIA_ID, ACTION_PLAY_FROM_SEARCH,
62 ACTION_SKIP_TO_NEXT, ACTION_FAST_FORWARD, ACTION_PLAY_PAUSE})
134 public static final long ACTION_PLAY_PAUSE = 1 << 9; field in PlaybackStateCompat
510 } else if (action == ACTION_PLAY_PAUSE) { in toKeyCode()
DMediaSessionCompat.java967 boolean canPlay = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfUnhandled()
969 boolean canPause = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfUnhandled()
2084 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getRccTransportControlFlagsFromActions()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackControlGlue.java179 return PlaybackControlGlue.ACTION_PLAY_PAUSE in getSupportedActions()
DPlaybackControlHelper.java195 return PlaybackControlGlue.ACTION_PLAY_PAUSE | in getSupportedActions()
DPlaybackControlSupportHelper.java198 return PlaybackControlSupportGlue.ACTION_PLAY_PAUSE | in getSupportedActions()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java248 …return PlaybackControlGlue.ACTION_PLAY_PAUSE | PlaybackControlGlue.ACTION_FAST_FORWARD | PlaybackC… in getSupportedActions()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java21 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PLAY_PAUSE;
1045 return (mState.getActions() & (ACTION_PLAY | ACTION_PLAY_PAUSE)) != 0; in isPlayActionSupported()
1049 return (mState.getActions() & (ACTION_PAUSE | ACTION_PLAY_PAUSE)) != 0; in isPauseActionSupported()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaSessionCompatTest.java594 | PlaybackStateCompat.ACTION_PLAY_PAUSE | PlaybackStateCompat.ACTION_STOP in testCallbackOnMediaButtonEvent()
/frameworks/support/api/
D22.0.0.txt302 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40
2824 field public static final long ACTION_PLAY_PAUSE = 512L; // 0x200L
D26.0.0-SNAPSHOT.txt3201 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40
3674 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40
3757 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40
7775 field public static final long ACTION_PLAY_PAUSE = 512L; // 0x200L

12