Home
last modified time | relevance | path

Searched refs:mThumbsDownAction (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DMediaPlayerGlue.java70 protected final PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; field in MediaPlayerGlue
131 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(getContext()); in MediaPlayerGlue()
133 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE); in MediaPlayerGlue()
189 secondaryActionsAdapter.add(mThumbsDownAction); in onCreateSecondaryActions()
230 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE); in onActionClicked()
232 } else if (action == mThumbsDownAction) { in onActionClicked()
233 if (mThumbsDownAction.getIndex() == PlaybackControlsRow.ThumbsAction.INDEX_SOLID) { in onActionClicked()
234 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE); in onActionClicked()
236 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsAction.INDEX_SOLID); in onActionClicked()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackControlGlue.java51 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; field in PlaybackControlGlue
67 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlGlue()
68 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlGlue()
76 adapter.add(mThumbsDownAction); in onCreateSecondaryActions()
91 adapter.set(PlaybackControlGlue.ACTION_CUSTOM_RIGHT_FIRST, mThumbsDownAction); in onCreatePrimaryActions()
117 return action == mRepeatAction || action == mThumbsUpAction || action == mThumbsDownAction; in shouldDispatchAction()
DPlaybackTransportControlGlueSample.java50 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; field in PlaybackTransportControlGlueSample
60 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackTransportControlGlueSample()
61 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackTransportControlGlueSample()
69 adapter.add(mThumbsDownAction); in onCreateSecondaryActions()
165 return action == mRepeatAction || action == mThumbsUpAction || action == mThumbsDownAction; in shouldDispatchAction()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DPlaybackTestFragment.java164 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; field in PlaybackTestFragment.PlaybackControlHelper
180 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlHelper()
181 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlHelper()
192 adapter.set(PlaybackControlGlue.ACTION_CUSTOM_RIGHT_FIRST, mThumbsDownAction); in createPrimaryActionsAdapter()
220 || action == mThumbsDownAction; in shouldDispatchAction()
DPlaybackTestSupportFragment.java161 private PlaybackControlsRow.ThumbsDownAction mThumbsDownAction; field in PlaybackTestSupportFragment.PlaybackControlHelper
177 mThumbsDownAction = new PlaybackControlsRow.ThumbsDownAction(context); in PlaybackControlHelper()
178 mThumbsDownAction.setIndex(PlaybackControlsRow.ThumbsDownAction.INDEX_OUTLINE); in PlaybackControlHelper()
189 adapter.set(PlaybackControlGlue.ACTION_CUSTOM_RIGHT_FIRST, mThumbsDownAction); in createPrimaryActionsAdapter()
217 || action == mThumbsDownAction; in shouldDispatchAction()