Searched refs:validActions (Results 1 – 2 of 2) sorted by relevance
933 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local945 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()964 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()970 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()976 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()982 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()988 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()994 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()1000 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()1018 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local[all …]
1278 final List<RemoteAction> validActions = new ArrayList<>(size); in rewriteTextClassificationIcons() local1288 validActions.add(validAction); in rewriteTextClassificationIcons()1294 .addActions(validActions) in rewriteTextClassificationIcons()