Searched refs:validActions (Results 1 – 2 of 2) sorted by relevance
922 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local934 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()953 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()959 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()965 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()971 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()977 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()983 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()989 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()1007 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local[all …]
1238 final List<RemoteAction> validActions = new ArrayList<>(size); in rewriteTextClassificationIcons() local1248 validActions.add(validAction); in rewriteTextClassificationIcons()1254 .addActions(validActions) in rewriteTextClassificationIcons()