Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DPlaybackBannerControlGlue.java211 private PlaybackControlsRow.FastForwardAction mFastForwardAction; field in PlaybackBannerControlGlue
304 if ((supportedActions & ACTION_FAST_FORWARD) != 0 && mFastForwardAction == null) { in onCreatePrimaryActions()
305 mFastForwardAction = new PlaybackControlsRow.FastForwardAction(getContext(), in onCreatePrimaryActions()
307 primaryActionsAdapter.add(mFastForwardAction = in onCreatePrimaryActions()
310 } else if ((supportedActions & ACTION_FAST_FORWARD) == 0 && mFastForwardAction != null) { in onCreatePrimaryActions()
311 primaryActionsAdapter.remove(mFastForwardAction); in onCreatePrimaryActions()
312 mFastForwardAction = null; in onCreatePrimaryActions()
467 } else if (action == mFastForwardAction) { in dispatchAction()
558 if (mFastForwardAction != null) { in updatePlaybackState()
563 if (mFastForwardAction.getIndex() != index) { in updatePlaybackState()
[all …]
DPlaybackControlGlue.java189 private PlaybackControlsRow.FastForwardAction mFastForwardAction; field in PlaybackControlGlue
523 } else if (action == mFastForwardAction) { in dispatchAction()
654 if ((actions & ACTION_FAST_FORWARD) != 0 && mFastForwardAction == null) { in updateControlButtons()
655 mFastForwardAction = new PlaybackControlsRow.FastForwardAction(getContext(), in updateControlButtons()
657 primaryActionsAdapter.set(ACTION_FAST_FORWARD, mFastForwardAction); in updateControlButtons()
658 } else if ((actions & ACTION_FAST_FORWARD) == 0 && mFastForwardAction != null) { in updateControlButtons()
660 mFastForwardAction = null; in updateControlButtons()
679 if (mFastForwardAction != null) { in updatePlaybackState()
684 if (mFastForwardAction.getIndex() != index) { in updatePlaybackState()
685 mFastForwardAction.setIndex(index); in updatePlaybackState()
[all …]