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.java68 private TimeShiftManager mTimeShiftManager; field in PlayControlsRowView
190 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
191 mTimeShiftManager.jumpToPrevious(); in onFinishInflate()
201 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
202 mTimeShiftManager.rewind(); in onFinishInflate()
212 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
213 mTimeShiftManager.togglePlayPause(); in onFinishInflate()
223 if (mTimeShiftManager.isAvailable()) { in onFinishInflate()
224 mTimeShiftManager.fastForward(); in onFinishInflate()
234 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.java298 private TimeShiftManager mTimeShiftManager; field in MainActivity
420 if (mTimeShiftManager.isAvailable()) {
604 mTimeShiftManager = in onCreate()
615 switch (mTimeShiftManager.getLastActionId()) { in onCreate()
1218 return mTimeShiftManager; in getTimeShiftManager()
1247 if (!isChannelChangeKeyDownReceived() && mTimeShiftManager.isAvailable()) { in getCurrentProgram()
1249 return mTimeShiftManager.getCurrentProgram(); in getCurrentProgram()
1261 if (mTimeShiftManager.isAvailable()) { in getCurrentPlayingPosition()
1262 return mTimeShiftManager.getCurrentPositionMs(); in getCurrentPlayingPosition()