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.java37 private TimeShiftManager mTimeShiftManager; field in TimeShiftManagerTest
43 mTimeShiftManager = mActivity.getTimeShiftManager(); in setUp()
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()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java67 private TimeShiftManager mTimeShiftManager; field in PlayControlsRowView
189 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
190 mTimeShiftManager.jumpToPrevious(); in onFinishInflate()
200 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
201 mTimeShiftManager.rewind(); in onFinishInflate()
211 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
212 mTimeShiftManager.togglePlayPause(); in onFinishInflate()
222 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
223 mTimeShiftManager.fastForward(); in onFinishInflate()
233 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
[all …]
DPlayControlsRow.java28 private final TimeShiftManager mTimeShiftManager; field in PlayControlsRow
34 mTimeShiftManager = timeShiftManager; in PlayControlsRow()
54 return mTimeShiftManager; in getTimeShiftManager()
64 return mTimeShiftManager.isAvailable(); in isVisible()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java274 private TimeShiftManager mTimeShiftManager; field in MainActivity
393 if (mTimeShiftManager.isAvailable()) {
572 mTimeShiftManager = in onCreate()
583 switch (mTimeShiftManager.getLastActionId()) { in onCreate()
1202 return mTimeShiftManager; in getTimeShiftManager()
1231 if (!isChannelChangeKeyDownReceived() && mTimeShiftManager.isAvailable()) { in getCurrentProgram()
1233 return mTimeShiftManager.getCurrentProgram(); in getCurrentProgram()
1245 if (mTimeShiftManager.isAvailable()) { in getCurrentPlayingPosition()
1246 return mTimeShiftManager.getCurrentPositionMs(); in getCurrentPlayingPosition()