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

/frameworks/base/policy/src/com/android/internal/policy/impl/
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/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java411 // mColorIndex represents the offset into the available mColors that the
413 // animating, the mColorIndex moves by one to the next available color.
414 private int mColorIndex; field in class:MaterialProgressDrawable.Ring
466 mPaint.setColor(mColors[mColorIndex]);
505 mArrowPaint.setColor(mColors[mColorIndex]);
528 mColorIndex = index;
536 mColorIndex = (mColorIndex + 1) % (mColors.length);

Completed in 59 milliseconds