Searched refs:mTotalTimeInMs (Results 1 – 3 of 3) sorted by relevance
67 long mTotalTimeInMs = Long.MIN_VALUE; field in PlaybackTransportRowPresenter.ViewHolder117 newPos = mTotalTimeInMs; in updateProgressInSeek()127 newPos = mTotalTimeInMs; in updateProgressInSeek()155 long interval = (long) (mTotalTimeInMs * getDefaultSeekIncrement()); in updateProgressInSeek()157 if (newPos > mTotalTimeInMs) { in updateProgressInSeek()158 newPos = mTotalTimeInMs; in updateProgressInSeek()163 double ratio = (double) newPos / mTotalTimeInMs; // Range: [0, 1] in updateProgressInSeek()367 || mTotalTimeInMs <= 0) { in startSeek()375 int pos = Arrays.binarySearch(mPositions, mTotalTimeInMs); in startSeek()465 if (mTotalTimeInMs != totalTimeMs) { in setTotalTime()[all …]
61 long mTotalTimeInMs = -1; // Hold total time in milliseconds field in PlaybackControlsPresenter.ViewHolder148 mTotalTimeInMs = totalTimeMs; in setTotalTime()156 return mTotalTimeInMs; in getTotalTime()167 double ratio = (double) mCurrentTimeInMs / mTotalTimeInMs; // Range: [0, 1] in setCurrentTime()173 return mTotalTimeInMs; in getCurrentTime()179 double ratio = (double) progressMs / mTotalTimeInMs; // Range: [0, 1] in setSecondaryProgress()
185 assertEquals(20000L, mViewHolder.mTotalTimeInMs); in progressUpdating()199 assertEquals((long) (Integer.MAX_VALUE) * 2, mViewHolder.mTotalTimeInMs); in progressUpdating()