HomeSort by relevance Sort by last modified time
    Searched refs:mColors (Results 26 - 50 of 87) sorted by null

12 3 4

  /frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
TestLatencyView.java 126 mTriangleVerticesData2[i+2] = mColors[cbase];
127 mTriangleVerticesData2[i+3] = mColors[cbase+1];
128 mTriangleVerticesData2[i+4] = mColors[cbase+2];
129 mTriangleVerticesData2[i+5] = mColors[cbase+3];
232 private final float[] mColors = {
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
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));
  /frameworks/base/core/java/com/android/internal/graphics/palette/
ColorCutQuantizer.java 76 int[] mColors;
126 final int[] colors = mColors = new int[distinctColorCount];
173 pq.offer(new Vbox(0, mColors.length - 1));
265 final int[] colors = mColors;
361 final int[] colors = mColors;
392 final int[] colors = mColors;
  /frameworks/support/palette/src/main/java/androidx/palette/graphics/
ColorCutQuantizer.java 57 final int[] mColors;
108 final int[] colors = mColors = new int[distinctColorCount];
155 pq.offer(new Vbox(0, mColors.length - 1));
248 final int[] colors = mColors;
344 final int[] colors = mColors;
375 final int[] colors = mColors;
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
BatteryMeterDrawableBase.java 69 private final int[] mColors;
106 mColors = new int[2 * N];
108 mColors[2 * i] = levels.getInt(i, 0);
110 mColors[2 * i + 1] = Utils.getColorAttr(context, colors.getThemeAttributeId(i, 0));
112 mColors[2 * i + 1] = colors.getColor(i, 0);
148 if (mColors.length > 1) {
149 mWarningTextPaint.setColor(mColors[1]);
274 for (int i = 0; i < mColors.length; i += 2) {
275 thresh = mColors[i];
276 color = mColors[i + 1]
    [all...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
ColorWheel.java 46 private final int[] mColors;
57 mColors = new int[] {
61 Shader s = new SweepGradient(0, 0, mColors, null);
210 mCenterPaint.setColor(interpColor(mColors, unit));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ScrimView.java 53 private final ColorExtractor.GradientColors mColors;
96 mColors = new ColorExtractor.GradientColors();
236 if (mColors.equals(colors)) {
239 mColors.set(colors);
249 return mColors;
269 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor,
271 int secondaryTinted = ColorUtils.blendARGB(mColors.getSecondaryColor(), mTintColor,
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
MultiTouchActivity.java 61 private int[] mColors;
309 // Make sure that mColors is large enough to contain the
311 if (mColors == null || mColors.length < pixel_num) {
312 mColors = new int[pixel_num];
323 mColors[n] = Color.rgb(r, g, b);
331 mColors[n] = Color.rgb(r, g, b);
337 mImageView.drawBitmap(x, y, w, h, mColors);
  /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 45 private final int[] mColors = new int[] {
57 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null,
  /frameworks/base/libs/hwui/
Patch.cpp 40 : mColors(patch->getColors()) {
45 if (mColors[i] == 0x0) {
197 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorRectView.java 53 private int[] mColors = new int[] {
137 int[] wheelColor = new int[mColors.length];
140 Color.colorToHSV(mColors[i], hsv);
  /frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
CircularProgressDrawable.java 629 int[] mColors;
630 // mColorIndex represents the offset into the available mColors that the
757 mColors = colors;
763 return mColors;
794 mCurrentColor = mColors[mColorIndex];
801 return mColors[getNextColorIndex()];
805 return (mColorIndex + 1) % (mColors.length);
863 return mColors[mColorIndex];
  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestProperties.cpp 157 : Hwc2TestProperty(mColors, mCompositionSupport),
185 mColors = mBaseColors;
189 mColors.clear();
194 mColors.push_back(baseColor);
Hwc2TestProperties.h 212 std::vector<hwc_color_t> mColors;
  /frameworks/layoutlib/bridge/src/android/graphics/
LinearGradient_Delegate.java 97 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
RadialGradient_Delegate.java 96 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
SweepGradient_Delegate.java 92 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
  /frameworks/native/cmds/surfacereplayer/replayer/
Replayer.cpp 303 mLayers[layerId], mColors[layerId], layerId);
621 mColors[create.id()] = HSV(rand() % 360, 1, 1);
628 mLayers[create.id()], mColors[create.id()]);
662 mColors.erase(id);
Replayer.h 148 std::unordered_map<layer_id, HSV> mColors;
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoFragment.java 367 private int[] mColors;
549 mColors = new int[sortedColors.length];
551 mColors[i] = sortedColors[i].intValue();
554 Color.colorToHSV(mColors[i], hsv);
561 if (button != null && mColors.length > 0) {
    [all...]
  /frameworks/wilhelm/src/
itfstruct.h 368 SLHSL mColors[MAX_LED_COUNT];

Completed in 1301 milliseconds

12 3 4