HomeSort by relevance Sort by last modified time
    Searched refs:mColors (Results 1 - 19 of 19) sorted by null

  /development/samples/Snake/src/com/example/android/snake/
BackgroundView.java 34 private int[] mColors = new int[4];
48 mColors[0] = a.getColor(R.styleable.BackgroundView_colorSegmentOne, Color.RED);
49 mColors[1] = a.getColor(R.styleable.BackgroundView_colorSegmentTwo, Color.YELLOW);
50 mColors[2] = a.getColor(R.styleable.BackgroundView_colorSegmentThree, Color.BLUE);
51 mColors[3] = a.getColor(R.styleable.BackgroundView_colorSegmentFour, Color.GREEN);
63 for (int triangle = 0; triangle < mColors.length; triangle++) {
65 Arrays.fill(mFillColors, mColors[triangle]);
  /development/samples/IntentPlayground/src/com/example/android/intentplayground/
ColorManager.java 30 private static int[] mColors = new int[] {
84 return mColors[++mLastTaskColor % mColors.length];
88 return mColors[++mLastActivityColor % mColors.length];
  /developers/build/prebuilts/gradle/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
PartyLightView.java 33 private int[] mColors = new int[] {
85 mCurrentColor = getColor(mProgress, mColors[mFromColorIndex],
86 mColors[mToColorIndex]);
93 if (mToColorIndex >= mColors.length) {
  /developers/samples/android/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
PartyLightView.java 33 private int[] mColors = new int[] {
85 mCurrentColor = getColor(mProgress, mColors[mFromColorIndex],
86 mColors[mToColorIndex]);
93 if (mToColorIndex >= mColors.length) {
  /development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/
PartyLightView.java 33 private int[] mColors = new int[] {
85 mCurrentColor = getColor(mProgress, mColors[mFromColorIndex],
86 mColors[mToColorIndex]);
93 if (mToColorIndex >= mColors.length) {
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
SamplePointWideGamutVerifier.java 30 private final Color[] mColors;
35 mColors = colors;
47 Color expected = mColors[i];
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SetWallpaperActivity.java 43 final static private int[] mColors =
69 int mColor = (int) Math.floor(Math.random() * mColors.length);
70 wallpaperDrawable.setColorFilter(mColors[mColor], PorterDuff.Mode.MULTIPLY);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 56 private int[] mColors;
72 mColors = createColors();
73 int[] colors = mColors;
118 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT,
121 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT,
PathEffects.java 37 private int[] mColors;
67 mColors = new int[] { Color.BLACK, Color.RED, Color.BLUE,
85 mPaint.setColor(mColors[i]);
ColorFilters.java 44 private int[] mColors;
93 mColors = new int[] {
147 for (int color : mColors) {
ColorPickerDialog.java 38 private final int[] mColors;
44 mColors = new int[] {
48 Shader s = new SweepGradient(0, 0, mColors, null);
193 mCenterPaint.setColor(interpColor(mColors, unit));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
TouchPointView.java 37 private final int[] mColors = {
87 int color = mColors[finger.pointerId % mColors.length];
  /developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java 72 mColors = getResources().getIntArray(R.array.androidcolors);
287 public int[] mColors;
295 mPresentation.setColor(mColors[mColor]);
296 mColor = (mColor + 1) % mColors.length;
  /developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java 72 mColors = getResources().getIntArray(R.array.androidcolors);
287 public int[] mColors;
295 mPresentation.setColor(mColors[mColor]);
296 mColor = (mColor + 1) % mColors.length;
  /development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
MainActivity.java 72 mColors = getResources().getIntArray(R.array.androidcolors);
287 public int[] mColors;
295 mPresentation.setColor(mColors[mColor]);
296 mColor = (mColor + 1) % mColors.length;
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DigitalWatchFaceWearableConfigActivity.java 161 private final String[] mColors;
164 mColors = colors;
175 String colorName = mColors[position];
186 } else if (position == mColors.length - 1) {
196 return mColors.length;
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DigitalWatchFaceWearableConfigActivity.java 161 private final String[] mColors;
164 mColors = colors;
175 String colorName = mColors[position];
186 } else if (position == mColors.length - 1) {
196 return mColors.length;
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DigitalWatchFaceWearableConfigActivity.java 159 private final String[] mColors;
162 mColors = colors;
173 String colorName = mColors[position];
184 } else if (position == mColors.length - 1) {
194 return mColors.length;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
SweepTests.java 46 private final int[] mColors = new int[] {
58 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null,

Completed in 1320 milliseconds