Home
last modified time | relevance | path

Searched refs:mRewindAction (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DPlaybackBannerControlGlue.java212 private PlaybackControlsRow.RewindAction mRewindAction; field in PlaybackBannerControlGlue
289 if ((supportedActions & ACTION_REWIND) != 0 && mRewindAction == null) { in onCreatePrimaryActions()
290 primaryActionsAdapter.add(mRewindAction = in onCreatePrimaryActions()
292 } else if ((supportedActions & ACTION_REWIND) == 0 && mRewindAction != null) { in onCreatePrimaryActions()
293 primaryActionsAdapter.remove(mRewindAction); in onCreatePrimaryActions()
294 mRewindAction = null; in onCreatePrimaryActions()
491 } else if (action == mRewindAction) { in dispatchAction()
568 if (mRewindAction != null) { in updatePlaybackState()
573 if (mRewindAction.getIndex() != index) { in updatePlaybackState()
574 mRewindAction.setIndex(index); in updatePlaybackState()
[all …]
DPlaybackControlGlue.java190 private PlaybackControlsRow.RewindAction mRewindAction; field in PlaybackControlGlue
540 } else if (action == mRewindAction) { in dispatchAction()
639 if ((actions & ACTION_REWIND) != 0 && mRewindAction == null) { in updateControlButtons()
640 mRewindAction = new PlaybackControlsRow.RewindAction(getContext(), in updateControlButtons()
642 primaryActionsAdapter.set(ACTION_REWIND, mRewindAction); in updateControlButtons()
643 } else if ((actions & ACTION_REWIND) == 0 && mRewindAction != null) { in updateControlButtons()
645 mRewindAction = null; in updateControlButtons()
689 if (mRewindAction != null) { in updatePlaybackState()
694 if (mRewindAction.getIndex() != index) { in updatePlaybackState()
695 mRewindAction.setIndex(index); in updatePlaybackState()
[all …]