Home
last modified time | relevance | path

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

/development/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()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java50 public static final String ACTION_PLAY = "com.example.android.mediabrowserservice.play"; field in MediaNotificationManager
87 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
115 filter.addAction(ACTION_PLAY); in startNotification()
151 case ACTION_PLAY: in onReceive()
DMusicService.java656 long actions = PlaybackState.ACTION_PLAY | PlaybackState.ACTION_PLAY_FROM_MEDIA_ID | in getAvailableActions()
/development/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.java657 long actions = PlaybackStateCompat.ACTION_PLAY in getAvailableActions()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicIntentReceiver.java52 context.startService(new Intent(MusicService.ACTION_PLAY)); in onReceive()
DMainActivity.java78 startService(new Intent(MusicService.ACTION_PLAY)); in onClick()
DMusicService.java65 public static final String ACTION_PLAY = "com.example.android.musicplayer.action.PLAY"; field in MusicService
215 else if (action.equals(ACTION_PLAY)) processPlayRequest(); in onStartCommand()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java45 | PlaybackStateCompat.ACTION_PLAY;
DSampleMediaRouteProvider.java100 f2.addAction(MediaControlIntent.ACTION_PLAY);
302 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java96 f2.addAction(MediaControlIntent.ACTION_PLAY);
290 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()