Searched refs:mCurrentPositionMs (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 90 private long mCurrentPositionMs; field in TestTvInputService.SimpleSessionImpl 105 mCurrentPositionMs += (long) ((currentTimeMs 107 mCurrentPositionMs = Math.max(mRecordStartTimeMs, 108 Math.min(mCurrentPositionMs, currentTimeMs)); 201 mRecordStartTimeMs = mCurrentPositionMs = mLastCurrentPositionUpdateTimeMs in onTune() 229 Log.d(TAG, "currentPositionMs=" + mCurrentPositionMs); in onTimeShiftGetCurrentPosition() 230 return mCurrentPositionMs; in onTimeShiftGetCurrentPosition() 240 mCurrentPositionMs = mPausedTimeMs = mLastCurrentPositionUpdateTimeMs in onTimeShiftPause() 254 mCurrentPositionMs = Math.max(mRecordStartTimeMs, in onTimeShiftSeekTo() 325 ? new Date(mCurrentPositionMs).toString() : new Date().toString(); in draw()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | CurrentPositionMediatorTest.java | 51 assertEquals("Current position", seekToTimeMs, mMediator.mCurrentPositionMs); in testOnSeekRequested() 61 assertNotSame("Current position", seekToTimeMs, mMediator.mCurrentPositionMs); in testOnCurrentPositionChangedInvalidInput() 62 assertNotSame("Current position", newCurrentTimeMs, mMediator.mCurrentPositionMs); in testOnCurrentPositionChangedInvalidInput() 77 assertEquals("Current position", expectedCurrentPositionMs, mMediator.mCurrentPositionMs); in assertCurrentPositionMediator()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 207 return mCurrentPositionMediator.mCurrentPositionMs; in getCurrentPositionMs() 321 mCurrentPositionMediator.mCurrentPositionMs - PROGRAM_START_TIME_THRESHOLD); in jumpToPrevious() 346 mCurrentPositionMediator.mCurrentPositionMs); in jumpToNext() 429 boolean enabled = mCurrentPositionMediator.mCurrentPositionMs in updateActions() 436 enabled = getRecordEndTimeMs() - mCurrentPositionMediator.mCurrentPositionMs in updateActions() 451 Program currentProgram = getProgramAt(mCurrentPositionMediator.mCurrentPositionMs); in updateCurrentProgram() 1278 long mCurrentPositionMs; field in TimeShiftManager.CurrentPositionMediator 1283 mCurrentPositionMs = timeMs; in initialize() 1289 mCurrentPositionMs = seekTimeMs; in onSeekRequested() 1295 mCurrentPositionMs = currentPositionMs; in onCurrentPositionChanged() [all …]
|