Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/
DTimeShiftManagerTest.java45 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, false); in testDisableActions()
47 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, false); in testDisableActions()
49 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, false); in testDisableActions()
51 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, false); in testDisableActions()
53 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, false); in testDisableActions()
55 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, false); in testDisableActions()
62 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, true); in testEnableActions()
64 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, true); in testEnableActions()
66 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, true); in testEnableActions()
68 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, true); in testEnableActions()
[all …]
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java405 void enableAction(@TimeShiftActionId int actionId, boolean enable) { in enableAction() method in TimeShiftManager
424 enableAction(TIME_SHIFT_ACTION_ID_PLAY, true); in updateActions()
425 enableAction(TIME_SHIFT_ACTION_ID_PAUSE, true); in updateActions()
431 enableAction(TIME_SHIFT_ACTION_ID_REWIND, enabled); in updateActions()
432 enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, enabled); in updateActions()
438 enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, enabled); in updateActions()
439 enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, enabled); in updateActions()
441 enableAction(TIME_SHIFT_ACTION_ID_PLAY, false); in updateActions()
442 enableAction(TIME_SHIFT_ACTION_ID_PAUSE, false); in updateActions()
443 enableAction(TIME_SHIFT_ACTION_ID_REWIND, false); in updateActions()
[all …]