Searched refs:supportedActions (Results 1 – 4 of 4) sorted by relevance
283 long supportedActions = 0; in getSupportedActions() local285 return supportedActions; in getSupportedActions()290 supportedActions |= ACTION_PLAY_PAUSE; in getSupportedActions()293 supportedActions |= ACTION_SKIP_TO_NEXT; in getSupportedActions()296 supportedActions |= ACTION_SKIP_TO_PREVIOUS; in getSupportedActions()299 supportedActions |= ACTION_FAST_FORWARD; in getSupportedActions()302 supportedActions |= ACTION_REWIND; in getSupportedActions()305 supportedActions |= ACTION_REPEAT; in getSupportedActions()308 supportedActions |= ACTION_SHUFFLE; in getSupportedActions()310 return supportedActions; in getSupportedActions()
280 final long supportedActions = getSupportedActions(); in onCreatePrimaryActions() local281 if ((supportedActions & ACTION_SKIP_TO_PREVIOUS) != 0 && mSkipPreviousAction == null) { in onCreatePrimaryActions()284 } else if ((supportedActions & ACTION_SKIP_TO_PREVIOUS) == 0 in onCreatePrimaryActions()289 if ((supportedActions & ACTION_REWIND) != 0 && mRewindAction == null) { in onCreatePrimaryActions()292 } else if ((supportedActions & ACTION_REWIND) == 0 && mRewindAction != null) { in onCreatePrimaryActions()296 if ((supportedActions & ACTION_PLAY_PAUSE) != 0 && mPlayPauseAction == null) { in onCreatePrimaryActions()300 } else if ((supportedActions & ACTION_PLAY_PAUSE) == 0 && mPlayPauseAction != null) { in onCreatePrimaryActions()304 if ((supportedActions & ACTION_FAST_FORWARD) != 0 && mFastForwardAction == null) { in onCreatePrimaryActions()310 } else if ((supportedActions & ACTION_FAST_FORWARD) == 0 && mFastForwardAction != null) { in onCreatePrimaryActions()314 if ((supportedActions & ACTION_SKIP_TO_NEXT) != 0 && mSkipNextAction == null) { in onCreatePrimaryActions()[all …]
88 final long supportedActions = getSupportedActions(); in onCreateSecondaryActions() local90 if ((supportedActions & ACTION_REPEAT) != 0 && mRepeatAction == null) { in onCreateSecondaryActions()93 } else if ((supportedActions & ACTION_REPEAT) == 0 in onCreateSecondaryActions()99 if ((supportedActions & ACTION_SHUFFLE) != 0 && mShuffleAction == null) { in onCreateSecondaryActions()102 } else if ((supportedActions & ACTION_SHUFFLE) == 0 in onCreateSecondaryActions()123 long supportedActions = super.getSupportedActions(); in getSupportedActions() local127 return supportedActions in getSupportedActions()
329 long supportedActions = 0L; in getPlaybackStateActions() local332 supportedActions |= PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS; in getPlaybackStateActions()334 supportedActions |= PlaybackStateCompat.ACTION_SKIP_TO_NEXT; in getPlaybackStateActions()336 supportedActions |= PlaybackStateCompat.ACTION_REWIND; in getPlaybackStateActions()338 supportedActions |= PlaybackStateCompat.ACTION_FAST_FORWARD; in getPlaybackStateActions()340 supportedActions |= PlaybackStateCompat.ACTION_PLAY_PAUSE; in getPlaybackStateActions()342 supportedActions |= PlaybackStateCompat.ACTION_SET_REPEAT_MODE; in getPlaybackStateActions()344 supportedActions |= PlaybackStateCompat.ACTION_SET_SHUFFLE_MODE; in getPlaybackStateActions()346 return supportedActions; in getPlaybackStateActions()