Searched refs:sColors (Results 1 – 4 of 4) sorted by relevance
39 private static int[] sColors; field in LetterTileDrawable86 if (sColors == null) { in LetterTileDrawable()94 sColors = new int[]{sDefaultColor}; in LetterTileDrawable()97 sColors = new int[ta.length()]; in LetterTileDrawable()99 sColors[i] = ta.getColor(i, sDefaultColor); in LetterTileDrawable()196 final int color = Math.abs(identifier.hashCode()) % sColors.length; in pickColor()197 return sColors[color]; in pickColor()
44 @NonNull private static int[] sColors; field in LetterTileDrawable91 if (sColors == null) { in LetterTileDrawable()99 sColors = new int[] {sDefaultColor}; in LetterTileDrawable()102 sColors = new int[ta.length()]; in LetterTileDrawable()104 sColors[i] = ta.getColor(i, sDefaultColor); in LetterTileDrawable()209 final int color = Math.abs(identifier.hashCode()) % sColors.length; in pickColor()210 return sColors[color]; in pickColor()
48 private static TypedArray sColors; field in LetterTileDrawable79 if (sColors == null) { in LetterTileDrawable()80 sColors = res.obtainTypedArray(R.array.letter_tile_colors); in LetterTileDrawable()192 final int color = Math.abs(identifier.hashCode()) % sColors.length(); in pickColor()193 return sColors.getColor(color, sDefaultColor); in pickColor()
39 private static final int[][] sColors = new int[][] { field in DebugHelper68 if (mColorIndex == sColors.length) { in getNextColors()72 return sColors[mColorIndex++]; in getNextColors()