Home
last modified time | relevance | path

Searched refs:mCurrentTimeInMs (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java60 long mCurrentTimeInMs = -1; // Hold current time in milliseconds field in PlaybackControlsPresenter.ViewHolder
161 if (currentTimeMs != mCurrentTimeInMs) { in setCurrentTime()
162 mCurrentTimeInMs = currentTimeMs; in setCurrentTime()
167 double ratio = (double) mCurrentTimeInMs / mTotalTimeInMs; // Range: [0, 1] in setCurrentTime()
DPlaybackTransportRowPresenter.java68 long mCurrentTimeInMs = Long.MIN_VALUE; field in PlaybackTransportRowPresenter.ViewHolder
106 long pos = mCurrentTimeInMs; in updateProgressInSeek()
493 if (currentTimeMs != mCurrentTimeInMs) { in setCurrentPosition()
494 mCurrentTimeInMs = currentTimeMs; in setCurrentPosition()
501 double ratio = (double) mCurrentTimeInMs / mTotalTimeInMs; // Range: [0, 1] in setCurrentPosition()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DPlaybackTransportRowPresenterTest.java184 assertEquals(123L, mViewHolder.mCurrentTimeInMs); in progressUpdating()
191 assertEquals(124L, mViewHolder.mCurrentTimeInMs); in progressUpdating()