OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sColors
(Results
1 - 12
of
12
) sorted by null
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ColorPicker.java
40
private static TypedArray
sColors
;
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);
/frameworks/base/services/core/java/com/android/server/policy/
IconUtilities.java
43
private static final int
sColors
[] = { 0xffff0000, 0xff00ff00, 0xff0000ff };
155
canvas.drawColor(
sColors
[mColorIndex]);
156
if (++mColorIndex >=
sColors
.length) mColorIndex = 0;
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
LetterTileDrawable.java
38
private static int[]
sColors
;
74
if (
sColors
== null) {
80
// below that does a division by length of
sColors
choke. Workaround by creating
82
sColors
= new int[] { sDefaultColor };
85
sColors
= new int[ta.length()];
87
sColors
[i] = ta.getColor(i, sDefaultColor);
188
final int color = Math.abs(identifier.hashCode()) %
sColors
.length;
189
return
sColors
[color];
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
LetterTileDrawable.java
47
private static TypedArray
sColors
;
78
if (
sColors
== null) {
79
sColors
= res.obtainTypedArray(R.array.letter_tile_colors);
191
final int color = Math.abs(identifier.hashCode()) %
sColors
.length();
192
return
sColors
.getColor(color, sDefaultColor);
/packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java
62
static int
sColors
[] = { 0xffff0000, 0xff00ff00, 0xff0000ff };
150
canvas.drawColor(
sColors
[sColorIndex]);
151
if (++sColorIndex >=
sColors
.length) sColorIndex = 0;
/packages/apps/Dialer/java/com/android/contacts/common/lettertiles/
LetterTileDrawable.java
93
private static TypedArray
sColors
;
117
if (
sColors
== null) {
118
sColors
= res.obtainTypedArray(R.array.letter_tile_colors);
266
final int color = Math.abs(identifier.hashCode()) %
sColors
.length();
267
return
sColors
.getColor(color, sDefaultColor);
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/misc/common/robolectric/lib/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
Completed in 1060 milliseconds