Searched refs:mColorIndex (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
H A DIconUtilities.java58 private int mColorIndex = 0; field in class:IconUtilities
155 canvas.drawColor(sColors[mColorIndex]);
156 if (++mColorIndex >= sColors.length) mColorIndex = 0;
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java480 // mColorIndex represents the offset into the available mColors that the
482 // animating, the mColorIndex moves by one to the next available color.
483 private int mColorIndex; field in class:MaterialProgressDrawable.Ring
609 mColorIndex = index;
610 mCurrentColor = mColors[mColorIndex];
621 return (mColorIndex + 1) % (mColors.length);
685 return mColors[mColorIndex];

Completed in 74 milliseconds