Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java50 private static final String ACTION_PAUSE = "com.android.systemui.pip.phone.PAUSE"; field in PipMediaController
81 } else if (action.equals(ACTION_PAUSE)) {
105 mediaControlFilter.addAction(ACTION_PAUSE); in PipMediaController()
164 } else if (isPlaying && ((actions & PlaybackState.ACTION_PAUSE) != 0)) { in getMediaActions()
181 PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_PAUSE), in createMediaActions()
/frameworks/support/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.java701 actions |= PlaybackStateCompat.ACTION_PAUSE; in getAvailableActions()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java54 com.android.onemedia.playback.RequestUtils.ACTION_PAUSE).setPackage(pkg), in NotificationHelper()
83 filter.addAction(RequestUtils.ACTION_PAUSE); in onStart()
112 if (RequestUtils.ACTION_PAUSE.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,
64 public static final long ACTION_PAUSE = 1 << 1; field in PlaybackState
594 return ACTION_PAUSE; in getActionForRccFlag()
622 case (int) ACTION_PAUSE: in getRccFlagForAction()
DMediaSession.java783 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()
825 | PlaybackState.ACTION_PAUSE)) != 0; in onMediaButtonEvent()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaControlIntent.java671 public static final String ACTION_PAUSE = "android.media.intent.action.PAUSE"; field in MediaControlIntent
DRemotePlaybackClient.java474 Intent intent = new Intent(MediaControlIntent.ACTION_PAUSE); in pause()
785 && routeSupportsAction(MediaControlIntent.ACTION_PAUSE) in detectFeatures()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRequestUtils.java29 public static final String ACTION_PAUSE = "com.android.onemedia.pause"; field in RequestUtils
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java48 @IntDef(flag=true, value={ACTION_STOP, ACTION_PAUSE, ACTION_PLAY, ACTION_REWIND,
61 @IntDef({ACTION_STOP, ACTION_PAUSE, ACTION_PLAY, ACTION_REWIND, ACTION_SKIP_TO_PREVIOUS,
78 public static final long ACTION_PAUSE = 1 << 1; field in PlaybackStateCompat
498 } else if (action == ACTION_PAUSE) { in toKeyCode()
DMediaSessionCompat.java970 | PlaybackStateCompat.ACTION_PAUSE)) != 0; in handleMediaPlayPauseKeySingleTapIfUnhandled()
2066 if ((actions & PlaybackStateCompat.ACTION_PAUSE) != 0) { in getRccTransportControlFlagsFromActions()
2985 if ((validActions & PlaybackStateCompat.ACTION_PAUSE) != 0) { in onMediaButtonEvent()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java47 private static final long PLAYBACK_ACTIONS = PlaybackStateCompat.ACTION_PAUSE
DSampleMediaRouteProvider.java102 f3.addAction(MediaControlIntent.ACTION_PAUSE);
303 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlsView.java38 import static android.media.session.PlaybackState.ACTION_PAUSE;
DPipManager.java569 } else if (isPlaying && ((actions & PlaybackState.ACTION_PAUSE) != 0)) { in getPlaybackState()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java19 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PAUSE;
1049 return (mState.getActions() & (ACTION_PAUSE | ACTION_PLAY_PAUSE)) != 0; in isPauseActionSupported()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaSessionCompatTest.java593 long supportedActions = PlaybackStateCompat.ACTION_PLAY | PlaybackStateCompat.ACTION_PAUSE in testCallbackOnMediaButtonEvent()
/frameworks/support/api/
D22.0.0.txt2820 field public static final long ACTION_PAUSE = 2L; // 0x2L
5002 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D22.1.0.txt2975 field public static final long ACTION_PAUSE = 2L; // 0x2L
5573 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D22.2.0.txt3364 field public static final long ACTION_PAUSE = 2L; // 0x2L
7174 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D22.2.1.txt3393 field public static final long ACTION_PAUSE = 2L; // 0x2L
7263 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D25.1.0.txt5860 field public static final long ACTION_PAUSE = 2L; // 0x2L
8529 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D25.0.0.txt5476 field public static final long ACTION_PAUSE = 2L; // 0x2L
8118 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";
D23.0.0.txt4045 field public static final long ACTION_PAUSE = 2L; // 0x2L
8347 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE";

12