Home
last modified time | relevance | path

Searched refs:ACTION_PAUSE (Results 1 – 10 of 10) sorted by relevance

/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicIntentReceiver.java39 context.startService(new Intent(MusicService.ACTION_PAUSE)); in onReceive()
55 context.startService(new Intent(MusicService.ACTION_PAUSE)); in onReceive()
DMainActivity.java80 startService(new Intent(MusicService.ACTION_PAUSE)); in onClick()
DMusicService.java66 public static final String ACTION_PAUSE = "com.example.android.musicplayer.action.PAUSE"; field in MusicService
216 else if (action.equals(ACTION_PAUSE)) processPauseRequest(); in onStartCommand()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java49 public static final String ACTION_PAUSE = "com.example.android.mediabrowserservice.pause"; field in MediaNotificationManager
85 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
114 filter.addAction(ACTION_PAUSE); in startNotification()
148 case ACTION_PAUSE: in onReceive()
DMusicService.java662 actions |= PlaybackState.ACTION_PAUSE; in getAvailableActions()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java52 public static final String ACTION_PAUSE = "com.example.android.supportv4.media.pause"; field in MediaNotificationManager
87 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
116 filter.addAction(ACTION_PAUSE); in startNotification()
150 case ACTION_PAUSE: in onReceive()
DMediaBrowserServiceSupport.java664 actions |= PlaybackStateCompat.ACTION_PAUSE; in getAvailableActions()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java44 private static final long PLAYBACK_ACTIONS = PlaybackStateCompat.ACTION_PAUSE
DSampleMediaRouteProvider.java111 f3.addAction(MediaControlIntent.ACTION_PAUSE);
312 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java107 f3.addAction(MediaControlIntent.ACTION_PAUSE);
300 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest()