Home
last modified time | relevance | path

Searched refs:progressMs (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java176 void setSecondaryProgress(long progressMs) { in setSecondaryProgress() argument
177 mSecondaryProgressInMs = progressMs; in setSecondaryProgress()
179 double ratio = (double) progressMs / mTotalTimeInMs; // Range: [0, 1] in setSecondaryProgress()
277 public void setSecondaryProgress(ViewHolder vh, int progressMs) { in setSecondaryProgress() argument
278 setSecondaryProgressLong(vh, (long) progressMs); in setSecondaryProgress()
281 public void setSecondaryProgressLong(ViewHolder vh, long progressMs) { in setSecondaryProgressLong() argument
282 vh.setSecondaryProgress(progressMs); in setSecondaryProgressLong()
DPlaybackTransportRowPresenter.java508 void setBufferedPosition(long progressMs) { in setBufferedPosition() argument
509 mSecondaryProgressInMs = progressMs; in setBufferedPosition()
511 double ratio = (double) progressMs / mTotalTimeInMs; // Range: [0, 1] in setBufferedPosition()