Searched refs:sColors (Results 1 - 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DColorPicker.java40 private static TypedArray sColors; field in class:ColorPicker.PaletteColorPicker
43 * Cached value of {@code sColors.length()}.
54 if (sColors == null) {
55 sColors = res.obtainTypedArray(R.array.letter_tile_colors);
56 sColorCount = sColors.length();
64 return sColors.getColor(color, sDefaultColor);
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
H A DLetterTileDrawable.java47 private static TypedArray sColors; field in class:LetterTileDrawable
75 if (sColors == null) {
76 sColors = res.obtainTypedArray(R.array.letter_tile_colors);
183 final int color = Math.abs(identifier.hashCode()) % sColors.length();
184 return sColors.getColor(color, sDefaultColor);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java62 static int sColors[] = { 0xffff0000, 0xff00ff00, 0xff0000ff }; field in class:Utilities
150 canvas.drawColor(sColors[sColorIndex]);
151 if (++sColorIndex >= sColors.length) sColorIndex = 0;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DUtilities.java97 static int sColors[] = { 0xffff0000, 0xff00ff00, 0xff0000ff }; field in class:Utilities
284 canvas.drawColor(sColors[sColorIndex]);
285 if (++sColorIndex >= sColors.length) sColorIndex = 0;

Completed in 140 milliseconds