Home
last modified time | relevance | path

Searched refs:ACTION_PLAY (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsSupportFragment.java53 private static final int ACTION_PLAY = 1; field in DetailsSupportFragment
82 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate()
99 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
108 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
111 } else if (action.getId() == ACTION_PLAY) { in onCreate()
DDetailsFragment.java51 private static final int ACTION_PLAY = 1; field in DetailsFragment
80 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate()
97 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
106 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
109 } else if (action.getId() == ACTION_PLAY) { in onCreate()
DNewDetailsSupportFragment.java55 private static final int ACTION_PLAY = 1; field in NewDetailsSupportFragment
94 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate()
112 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
121 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
124 } else if (action.getId() == ACTION_PLAY) { in onCreate()
DNewDetailsFragment.java53 private static final int ACTION_PLAY = 1; field in NewDetailsFragment
92 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate()
110 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
119 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
122 } else if (action.getId() == ACTION_PLAY) { in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java53 public static final String ACTION_PLAY = "com.example.android.supportv4.media.play"; field in MediaNotificationManager
89 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
117 filter.addAction(ACTION_PLAY); in startNotification()
153 case ACTION_PLAY: in onReceive()
DMediaBrowserServiceSupport.java694 long actions = PlaybackStateCompat.ACTION_PLAY in getAvailableActions()
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
DMusicProvider.java202 PlaybackState.ACTION_PLAY in getRootItemCursor()
227 PlaybackState.ACTION_PLAY in getRootItemCursor()
252 PlaybackState.ACTION_PLAY in getRootItemCursor()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java57 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PLAY).setPackage(pkg), in NotificationHelper()
84 filter.addAction(RequestUtils.ACTION_PLAY); in onStart()
114 } else if (RequestUtils.ACTION_PLAY.equals(action)) { in onReceive()
DPlayerSession.java62 psBob.setActions(PlaybackState.ACTION_PAUSE | PlaybackState.ACTION_PLAY); in PlayerSession()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java44 @IntDef(flag=true, value={ACTION_STOP, ACTION_PAUSE, ACTION_PLAY, ACTION_REWIND,
71 public static final long ACTION_PLAY = 1 << 2; field in PlaybackState
590 return ACTION_PLAY; in getActionForRccFlag()
618 case (int) ACTION_PLAY: in getRccFlagForAction()
DMediaSession.java769 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()
815 | PlaybackState.ACTION_PLAY)) != 0; in onMediaButtonEvent()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java48 @IntDef(flag=true, value={ACTION_STOP, ACTION_PAUSE, ACTION_PLAY, ACTION_REWIND,
60 @IntDef({ACTION_STOP, ACTION_PAUSE, ACTION_PLAY, ACTION_REWIND, ACTION_SKIP_TO_PREVIOUS,
84 public static final long ACTION_PLAY = 1 << 2; field in PlaybackStateCompat
326 if (action == ACTION_PLAY) { in toKeyCode()
DMediaSessionCompat.java2208 if ((validActions & PlaybackStateCompat.ACTION_PLAY) != 0) { in onMediaButtonEvent()
2248 | PlaybackStateCompat.ACTION_PLAY)) != 0; in onMediaButtonEvent()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaControlIntent.java472 public static final String ACTION_PLAY = "android.media.intent.action.PLAY"; field in MediaControlIntent
DRemotePlaybackClient.java290 extras, callback, MediaControlIntent.ACTION_PLAY); in play()
783 mRouteSupportsRemotePlayback = routeSupportsAction(MediaControlIntent.ACTION_PLAY) in detectFeatures()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRequestUtils.java30 public static final String ACTION_PLAY = "com.android.onemedia.play"; field in RequestUtils
/frameworks/support/media-compat/ics/android/support/v4/media/session/
DMediaSessionCompatApi14.java49 private static final long ACTION_PLAY = 1 << 2; field in MediaSessionCompatApi14
140 if ((actions & ACTION_PLAY) != 0) { in getRccTransportControlFlagsFromActions()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java46 | PlaybackStateCompat.ACTION_PLAY;
DSampleMediaRouteProvider.java91 f2.addAction(MediaControlIntent.ACTION_PLAY);
293 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipControlsView.java34 import static android.media.session.PlaybackState.ACTION_PLAY;
DPipManager.java552 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getPlaybackState()
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/
Dnow-playing.jd78 long actions = PlaybackState.ACTION_PLAY |
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd109 actions |= PlaybackState.ACTION_PLAY;
/frameworks/base/docs/html/guide/topics/media/
Dmediarouteprovider.jd254 videoPlayback.addAction(MediaControlIntent.ACTION_PLAY);
417 if (action.equals(MediaControlIntent.ACTION_PLAY)) {
Dmediaplayer.jd290 private static final String ACTION_PLAY = "com.example.action.PLAY";
295 if (intent.getAction().equals(ACTION_PLAY)) {

12