Searched refs:primaryActionsAdapter (Results 1 – 7 of 7) sorted by relevance
471 final SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in onKey() local473 Action action = mControlsRow.getActionForKeyCode(primaryActionsAdapter, keyCode); in onKey()476 if (action == primaryActionsAdapter.lookup(ACTION_PLAY_PAUSE) in onKey()477 || action == primaryActionsAdapter.lookup(ACTION_REWIND) in onKey()478 || action == primaryActionsAdapter.lookup(ACTION_FAST_FORWARD) in onKey()479 || action == primaryActionsAdapter.lookup(ACTION_SKIP_TO_PREVIOUS) in onKey()480 || action == primaryActionsAdapter.lookup(ACTION_SKIP_TO_NEXT)) { in onKey()629 final SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in updateControlButtons() local634 primaryActionsAdapter.set(ACTION_SKIP_TO_PREVIOUS, mSkipPreviousAction); in updateControlButtons()636 primaryActionsAdapter.clear(ACTION_SKIP_TO_PREVIOUS); in updateControlButtons()[all …]
279 protected void onCreatePrimaryActions(ArrayObjectAdapter primaryActionsAdapter) { in onCreatePrimaryActions() argument282 primaryActionsAdapter.add(mSkipPreviousAction = in onCreatePrimaryActions()286 primaryActionsAdapter.remove(mSkipPreviousAction); in onCreatePrimaryActions()290 primaryActionsAdapter.add(mRewindAction = in onCreatePrimaryActions()293 primaryActionsAdapter.remove(mRewindAction); in onCreatePrimaryActions()298 primaryActionsAdapter.add(mPlayPauseAction = in onCreatePrimaryActions()301 primaryActionsAdapter.remove(mPlayPauseAction); in onCreatePrimaryActions()307 primaryActionsAdapter.add(mFastForwardAction = in onCreatePrimaryActions()311 primaryActionsAdapter.remove(mFastForwardAction); in onCreatePrimaryActions()315 primaryActionsAdapter.add(mSkipNextAction = in onCreatePrimaryActions()[all …]
133 protected void onCreatePrimaryActions(ArrayObjectAdapter primaryActionsAdapter) { in onCreatePrimaryActions() argument134 primaryActionsAdapter.add(mPlayPauseAction = in onCreatePrimaryActions()209 final ObjectAdapter primaryActionsAdapter = mControlsRow.getPrimaryActionsAdapter(); in onKey() local210 Action action = mControlsRow.getActionForKeyCode(primaryActionsAdapter, keyCode); in onKey()
420 protected void onCreatePrimaryActions(ArrayObjectAdapter primaryActionsAdapter) { in onCreatePrimaryActions() argument
99 SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in testSelectedListener() local103 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testSelectedListener()106 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_REWIND); in testSelectedListener()109 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_CUSTOM_LEFT_FIRST); in testSelectedListener()166 SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in testClickedListener() local170 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testClickedListener()173 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_REWIND); in testClickedListener()176 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_CUSTOM_LEFT_FIRST); in testClickedListener()
96 SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in testSelectedListener() local100 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testSelectedListener()103 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_REWIND); in testSelectedListener()106 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_CUSTOM_LEFT_FIRST); in testSelectedListener()163 SparseArrayObjectAdapter primaryActionsAdapter = (SparseArrayObjectAdapter) in testClickedListener() local167 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_PLAY_PAUSE); in testClickedListener()170 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_REWIND); in testClickedListener()173 primaryActionsAdapter.lookup(PlaybackControlGlue.ACTION_CUSTOM_LEFT_FIRST); in testClickedListener()
74 primaryActionsAdapter) { in setUp()75 super.onCreatePrimaryActions(primaryActionsAdapter); in setUp()76 primaryActionsAdapter.add( in setUp()