Home
last modified time | relevance | path

Searched refs:mTimeShiftManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/
DTimeShiftManagerTest.java34 private TimeShiftManager mTimeShiftManager; field in TimeShiftManagerTest
40 mTimeShiftManager = mActivity.getTimeShiftManager(); in setUp()
47 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, false); in testDisableActions()
49 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, false); in testDisableActions()
51 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, false); in testDisableActions()
53 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, false); in testDisableActions()
55 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, false); in testDisableActions()
57 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, false); in testDisableActions()
65 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, true); in testEnableActions()
67 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, true); in testEnableActions()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java68 private TimeShiftManager mTimeShiftManager; field in PlayControlsRowView
188 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
189 mTimeShiftManager.jumpToPrevious(); in onFinishInflate()
198 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
199 mTimeShiftManager.rewind(); in onFinishInflate()
208 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
209 mTimeShiftManager.togglePlayPause(); in onFinishInflate()
218 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
219 mTimeShiftManager.fastForward(); in onFinishInflate()
228 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
[all …]
DPlayControlsRow.java29 private final TimeShiftManager mTimeShiftManager; field in PlayControlsRow
35 mTimeShiftManager = timeShiftManager; in PlayControlsRow()
59 return mTimeShiftManager; in getTimeShiftManager()
69 return mTimeShiftManager.isAvailable(); in isVisible()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java237 private TimeShiftManager mTimeShiftManager; field in MainActivity
349 if (mTimeShiftManager.isAvailable()) {
515 mTimeShiftManager = new TimeShiftManager(this, mTvView, mProgramDataManager, mTracker, in onCreate()
521 switch (mTimeShiftManager.getLastActionId()) { in onCreate()
1085 return mTimeShiftManager; in getTimeShiftManager()
1117 if (!isChannelChangeKeyDownReceived() && mTimeShiftManager.isAvailable()) { in getCurrentProgram()
1119 return mTimeShiftManager.getCurrentProgram(); in getCurrentProgram()
1131 if (mTimeShiftManager.isAvailable()) { in getCurrentPlayingPosition()
1132 return mTimeShiftManager.getCurrentPositionMs(); in getCurrentPlayingPosition()