Searched refs:mTimeShiftManager (Results 1 – 4 of 4) sorted by relevance
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | TimeShiftManagerTest.java | 30 private TimeShiftManager mTimeShiftManager; field in TimeShiftManagerTest 39 mTimeShiftManager = mActivity.getTimeShiftManager(); in setUp() 45 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() [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsRowView.java | 57 private TimeShiftManager mTimeShiftManager; field in PlayControlsRowView 118 if (mTimeShiftManager.isAvailable()) { in onFinishInflate() 119 mTimeShiftManager.jumpToPrevious(); in onFinishInflate() 128 if (mTimeShiftManager.isAvailable()) { in onFinishInflate() 129 mTimeShiftManager.rewind(); in onFinishInflate() 138 if (mTimeShiftManager.isAvailable()) { in onFinishInflate() 139 mTimeShiftManager.togglePlayPause(); in onFinishInflate() 148 if (mTimeShiftManager.isAvailable()) { in onFinishInflate() 149 mTimeShiftManager.fastForward(); in onFinishInflate() 158 if (mTimeShiftManager.isAvailable()) { in onFinishInflate() [all …]
|
D | PlayControlsRow.java | 27 private final TimeShiftManager mTimeShiftManager; field in PlayControlsRow 31 mTimeShiftManager = timeShiftManager; in PlayControlsRow() 47 return mTimeShiftManager; in getTimeShiftManager() 57 return mTimeShiftManager.isAvailable(); in isVisible()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 249 private TimeShiftManager mTimeShiftManager; field in MainActivity 372 if (mTimeShiftManager.isAvailable()) { 532 mTimeShiftManager = new TimeShiftManager(this, mTvView, mProgramDataManager, mTracker, in onCreate() 537 switch (mTimeShiftManager.getLastActionId()) { in onCreate() 1109 return mTimeShiftManager; in getTimeShiftManager() 1169 if (applyTimeShifted && mTimeShiftManager.isAvailable()) { in getCurrentProgram() 1170 return mTimeShiftManager.getCurrentProgram(); in getCurrentProgram() 1182 if (mTimeShiftManager.isAvailable()) { in getCurrentPlayingPosition() 1183 return mTimeShiftManager.getCurrentPositionMs(); in getCurrentPlayingPosition()
|