Searched refs:enableAction (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | TimeShiftManagerTest.java | 50 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, false); in testDisableActions() 52 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, false); in testDisableActions() 54 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, false); in testDisableActions() 56 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, false); in testDisableActions() 58 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, false); in testDisableActions() 60 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, false); in testDisableActions() 68 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, true); in testEnableActions() 70 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, true); in testEnableActions() 72 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, true); in testEnableActions() 74 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, true); in testEnableActions() [all …]
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 400 void enableAction(@TimeShiftActionId int actionId, boolean enable) { in enableAction() method in TimeShiftManager 418 enableAction(TIME_SHIFT_ACTION_ID_PLAY, true); in updateActions() 419 enableAction(TIME_SHIFT_ACTION_ID_PAUSE, true); in updateActions() 428 enableAction(TIME_SHIFT_ACTION_ID_REWIND, enabled); in updateActions() 429 enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, enabled); in updateActions() 437 enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, enabled); in updateActions() 438 enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, enabled); in updateActions() 440 enableAction(TIME_SHIFT_ACTION_ID_PLAY, false); in updateActions() 441 enableAction(TIME_SHIFT_ACTION_ID_PAUSE, false); in updateActions() 442 enableAction(TIME_SHIFT_ACTION_ID_REWIND, false); in updateActions() [all …]
|