Searched refs:validActions (Results 1 – 2 of 2) sorted by relevance
807 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local819 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()838 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()844 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()850 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()856 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()862 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()868 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()874 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()892 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local[all …]
992 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local994 if ((validActions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()1025 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local1028 boolean canPlay = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending()1030 boolean canPause = (validActions & (PlaybackStateCompat.ACTION_PLAY_PAUSE in handleMediaPlayPauseKeySingleTapIfPending()3028 long validActions = mState == null ? 0 : mState.getActions(); in onMediaButtonEvent() local3032 if ((validActions & PlaybackStateCompat.ACTION_PLAY) != 0) { in onMediaButtonEvent()3038 if ((validActions & PlaybackStateCompat.ACTION_PAUSE) != 0) { in onMediaButtonEvent()3043 if ((validActions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()3048 if ((validActions & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()[all …]