Home
last modified time | relevance | path

Searched refs:mRepeatAction (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DMusicPlayerFragment.java73 private PlaybackControlsRow.RepeatAction mRepeatAction; field in MusicPlayerFragment.PlaybackBannerMusicPlayerControlGlue
90 if ((supportedActions & ACTION_REPEAT) != 0 && mRepeatAction == null) { in onCreateSecondaryActions()
92 mRepeatAction = new PlaybackControlsRow.RepeatAction(getContext())); in onCreateSecondaryActions()
94 && mRepeatAction != null) { in onCreateSecondaryActions()
95 secondaryActionsAdapter.remove(mRepeatAction); in onCreateSecondaryActions()
96 mRepeatAction = null; in onCreateSecondaryActions()
DPlaybackTransportControlGlueSample.java48 private PlaybackControlsRow.RepeatAction mRepeatAction; field in PlaybackTransportControlGlueSample
62 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackTransportControlGlueSample()
78 adapter.add(mRepeatAction); in onCreatePrimaryActions()
165 return action == mRepeatAction || action == mThumbsUpAction || action == mThumbsDownAction; in shouldDispatchAction()
214 if (mRepeatAction.getIndex() != PlaybackControlsRow.RepeatAction.INDEX_NONE) { in onPlayCompleted()
222 mRepeatAction.setIndex(mode); in setMode()
226 notifyActionChanged(mRepeatAction); in setMode()
DPlaybackControlGlue.java49 private PlaybackControlsRow.RepeatAction mRepeatAction; field in PlaybackControlGlue
69 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlGlue()
81 adapter.add(mRepeatAction); in onCreateSecondaryActions()
117 return action == mRepeatAction || action == mThumbsUpAction || action == mThumbsDownAction; in shouldDispatchAction()
221 if (mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.INDEX_NONE) { in onPlaybackComplete()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DPlaybackTestFragment.java162 private PlaybackControlsRow.RepeatAction mRepeatAction; field in PlaybackTestFragment.PlaybackControlHelper
182 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlHelper()
219 return action == mRepeatAction || action == mThumbsUpAction in shouldDispatchAction()
322 if (mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.INDEX_NONE) { in onPlaybackComplete()
DPlaybackTestSupportFragment.java159 private PlaybackControlsRow.RepeatAction mRepeatAction; field in PlaybackTestSupportFragment.PlaybackControlHelper
179 mRepeatAction = new PlaybackControlsRow.RepeatAction(context); in PlaybackControlHelper()
216 return action == mRepeatAction || action == mThumbsUpAction in shouldDispatchAction()
319 if (mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.INDEX_NONE) { in onPlaybackComplete()
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DMediaPlayerGlue.java73 private final PlaybackControlsRow.RepeatAction mRepeatAction; field in MediaPlayerGlue
130 mRepeatAction = new PlaybackControlsRow.RepeatAction(getContext()); in MediaPlayerGlue()
188 secondaryActionsAdapter.add(mRepeatAction); in onCreateSecondaryActions()