Home
last modified time | relevance | path

Searched refs:currentPositionMs (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java717 long currentPositionMs = in handleGetCurrentPosition() local
722 currentTimeMs - currentPositionMs < RECORDING_BOUNDARY_THRESHOLD; in handleGetCurrentPosition()
735 newCurrentPositionMs = currentPositionMs; in handleGetCurrentPosition()
737 currentPositionMs - mRecordStartTimeMs < RECORDING_BOUNDARY_THRESHOLD; in handleGetCurrentPosition()
880 void onAvailabilityChanged(boolean available, Channel channel, long currentPositionMs) { in onAvailabilityChanged() argument
889 + currentPositionMs in onAvailabilityChanged()
901 if (channel == null || channel.isPassthrough() || currentPositionMs == INVALID_TIME) { in onAvailabilityChanged()
912 Utils.floorTime(currentPositionMs, MAX_PLACEHOLDER_PROGRAM_DURATION); in onAvailabilityChanged()
918 currentPositionMs + PREFETCH_DURATION_FOR_NEXT)); in onAvailabilityChanged()
1345 void onCurrentPositionChanged(long currentPositionMs) { in onCurrentPositionChanged() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java394 int currentPositionMs = 0;
400 currentPositionMs = presenter.getMediaPlayerPosition();
402 setClipPosition(currentPositionMs, durationMs);
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java535 long currentPositionMs = mTimeShiftManager.getCurrentPositionMs(); in updateTime() local
537 convertDurationToPixel(currentPositionMs - mProgramStartTimeMs); in updateTime()
539 setTextIfNeeded(mTimeText, getTimeString(currentPositionMs)); in updateTime()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1793 long currentPositionMs = getCurrentPosition(); in doReschedulePrograms() local
1795 Math.abs(currentPositionMs - mLastPositionMs - RESCHEDULE_PROGRAMS_INTERVAL_MS); in doReschedulePrograms()
1796 mLastPositionMs = currentPositionMs; in doReschedulePrograms()
DTunerSessionWorker.java1859 long currentPositionMs = getCurrentPosition(); in doReschedulePrograms() local
1861 Math.abs(currentPositionMs - mLastPositionMs - RESCHEDULE_PROGRAMS_INTERVAL_MS); in doReschedulePrograms()
1862 mLastPositionMs = currentPositionMs; in doReschedulePrograms()