Home
last modified time | relevance | path

Searched refs:isActionEnabled (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/
DTimeShiftManagerTest.java88 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_PLAY)); in assertActionState()
90 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_PAUSE)); in assertActionState()
92 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND)); in assertActionState()
94 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD)); in assertActionState()
96 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS)); in assertActionState()
98 mTimeShiftManager.isActionEnabled(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT)); in assertActionState()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java284 if (mTimeShiftManager.isActionEnabled( in initialize()
292 if (mTimeShiftManager.isActionEnabled( in initialize()
300 if (mTimeShiftManager.isActionEnabled( in initialize()
308 if (mTimeShiftManager.isActionEnabled( in initialize()
452 mPlayPauseButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
456 mPlayPauseButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
459 mJumpPreviousButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
461 mRewindButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
463 mFastForwardButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
465 mJumpNextButton.setEnabled(mTimeShiftManager.isActionEnabled( in updateButtons()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java240 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_PLAY)) { in play()
255 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_PAUSE)) { in pause()
281 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND)) { in rewind()
298 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD)) { in fastForward()
317 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS)) { in jumpToPrevious()
342 if (!isActionEnabled(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT)) { in jumpToNext()
418 public boolean isActionEnabled(@TimeShiftActionId int actionId) { in isActionEnabled() method in TimeShiftManager
427 long threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_REWIND) in updateActions()
434 threshold = isActionEnabled(TIME_SHIFT_ACTION_ID_FAST_FORWARD) in updateActions()