/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | DetailsSupportFragment.java | 53 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()
|
D | DetailsFragment.java | 51 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()
|
D | NewDetailsSupportFragment.java | 55 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()
|
D | NewDetailsFragment.java | 53 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/ |
D | MediaNotificationManager.java | 50 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()
|
D | MusicService.java | 656 long actions = PlaybackState.ACTION_PLAY | PlaybackState.ACTION_PLAY_FROM_MEDIA_ID | in getAvailableActions()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaNotificationManager.java | 53 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()
|
D | MediaBrowserServiceSupport.java | 657 long actions = PlaybackStateCompat.ACTION_PLAY in getAvailableActions()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicIntentReceiver.java | 52 context.startService(new Intent(MusicService.ACTION_PLAY)); in onReceive()
|
D | MainActivity.java | 78 startService(new Intent(MusicService.ACTION_PLAY)); in onClick()
|
D | MusicService.java | 65 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/ |
D | Player.java | 45 | PlaybackStateCompat.ACTION_PLAY;
|
D | SampleMediaRouteProvider.java | 100 f2.addAction(MediaControlIntent.ACTION_PLAY); 302 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/ |
D | SampleMediaRouteProvider.java | 96 f2.addAction(MediaControlIntent.ACTION_PLAY); 290 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest()
|