Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DProgressReporter.java74 private int[] mSegmentRange = new int[] { 0, 100 }; field in ProgressReporter
146 mProgress = mSegmentRange[0] in setProgress()
147 + MathUtils.constrain((n * mSegmentRange[1]) / m, 0, mSegmentRange[1]); in setProgress()
162 final int[] lastRange = mSegmentRange; in startSegment()
163 mSegmentRange = new int[] { mProgress, (size * mSegmentRange[1] / 100) }; in startSegment()
173 mProgress = mSegmentRange[0] + mSegmentRange[1]; in endSegment()
174 mSegmentRange = lastRange; in endSegment()
183 return mSegmentRange; in getSegmentRange()