HomeSort by relevance Sort by last modified time
    Searched defs:colors (Results 51 - 75 of 317) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/gm/
gammatext.cpp 104 SkColor colors[2]; local
105 colors[0] = c;
106 colors[1] = SkColorSetA(c, 0);
107 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
133 const SkColor colors[] = { SK_ColorBLACK, SK_ColorRED, SK_ColorBLUE }; local
136 fColors[i] = colors[i];
gradtext.cpp 15 SkColor colors[] = { SK_ColorRED, 0x0000FF00, SK_ColorBLUE }; local
17 return SkGradientShader::CreateLinear(pts, colors, NULL,
18 SK_ARRAY_COUNT(colors),
24 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
26 return SkGradientShader::CreateLinear(pts, colors, NULL,
27 SK_ARRAY_COUNT(colors),
32 SkColor colors[] = { SK_ColorGREEN, SK_ColorGREEN }; local
34 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
imagefiltersclipped.cpp 50 SkColor colors[2]; local
51 colors[0] = SK_ColorWHITE;
52 colors[1] = SK_ColorBLACK;
54 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, NULL, 2,
imagefilterscropexpand.cpp 67 SkColor colors[2]; local
68 colors[0] = SK_ColorWHITE;
69 colors[1] = SK_ColorBLACK;
71 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, NULL, 2,
imagefiltersscaled.cpp 50 SkColor colors[2]; local
51 colors[0] = SK_ColorWHITE;
52 colors[1] = SK_ColorBLACK;
54 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, NULL, 2,
matrixconvolution.cpp 38 SkColor colors[2] = { 0xFFFFFFFF, 0x40404040 }; local
41 pts, colors, pos, 2, SkShader::kClamp_TileMode))->unref();
ovals.cpp 247 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; variable
251 colors,
253 SK_ARRAY_COUNT(colors),
rects.cpp 81 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; local
85 colors,
87 SK_ARRAY_COUNT(colors),
surface.cpp 20 SkColor colors[] = { SkColorSetRGB(a, a, a), SkColorSetRGB(b, b, b) }; local
21 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
vertices.cpp 14 const SkColor colors[] = { local
20 return SkGradientShader::CreateLinear(pts, colors, NULL,
21 SK_ARRAY_COUNT(colors),
  /external/skia/samplecode/
SampleDegenerateTwoPtRadials.cpp 16 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local
30 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
SampleLayers.cpp 31 SkColor colors[] = { 0, SK_ColorWHITE }; local
33 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode,
  /external/skia/src/images/
SkImageDecoder_wbmp.cpp 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local
122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
  /packages/apps/Calendar/src/com/android/calendar/event/
EventColorCache.java 27 * A cache for event colors and event color keys stored based upon calendar account name and type.
59 * Retrieve an array of colors for a specific account name and type.
62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); local
63 if (colors == null) {
66 int[] ret = new int[colors.size()];
68 ret[i] = colors.get(i);
81 * Sorts the arrays of colors based on a comparator.
  /packages/apps/Messaging/src/com/android/messaging/util/
SwitchCompatUtils.java 69 final int[] colors = new int[3]; local
73 colors[i] = getColor(Color.parseColor("#ffbdbdbd"), 1f);
76 colors[i] = color;
80 colors[i] = getThemeAttrColor(context, typedValue,
83 return new ColorStateList(states, colors);
89 final int[] colors = new int[3]; local
93 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.1f);
96 colors[i] = getColor(color, 0.3f);
100 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.3f);
102 return new ColorStateList(states, colors);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
GraphicsUtilities.java 37 final int[] colors = new int[image.width]; local
43 image.getPixels(0, y, image.width, colors, 0);
44 result.setPixels(1, y + 1, image.width, colors, 0);
82 final int[] colors = new int[image.width]; local
88 image.getPixels(0, y, image.width, colors, 0);
89 result.setPixels(0, y, image.width, colors, 0);
  /art/test/044-proxy/src/
BasicTest.java 49 Colors colors = (Colors) proxy; local
50 colors.red(1.0f);
51 colors.blue(777);
52 colors.mauve("sorry");
53 colors.blob();
102 new Class[] { Quads.class, Colors.class, Trace.class });
151 interface Colors {
177 class Mix implements Quads, Colors {
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ColorStateListTest.java 36 final int[] colors = new int[] { Color.RED, Color.BLUE }; local
37 ColorStateList c = new ColorStateList(state, colors);
  /cts/tests/tests/text/src/android/text/cts/
HtmlTest.java 94 ForegroundColorSpan[] colors; local
97 colors = s.getSpans(start, end, type);
99 assertEquals(expectedColor, colors[0].getForegroundColor());
103 colors = s.getSpans(start, end, type);
105 assertEquals(0xFF000080, colors[0].getForegroundColor());
109 colors = s.getSpans(start, end, type);
110 assertEquals(0, colors.length);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 39 int[] colors = new int[STRIDE * HEIGHT]; local
46 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b;
49 return colors;
73 int[] colors = mColors; local
76 // these three are initialized with colors[]
77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
84 // these three will have their colors set later
92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT)
    [all...]
PurgeableBitmapView.java 58 int[] colors = createColors(); local
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
68 int[] colors = new int[STRIDE * HEIGHT]; local
75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b;
78 return colors;
  /external/deqp/modules/gles2/functional/
es2fShaderFragDataTests.cpp 161 const float colors[] = local
174 glu::va::Float("a_color", 4, 4, 0, &colors[0]),
  /external/deqp/modules/glshared/
glsRasterizationTestUtil.hpp 68 tcu::Vec4 colors[3]; member in struct:deqp::gls::RasterizationTestUtil::TriangleSceneSpec::SceneTriangle
80 tcu::Vec4 colors[2]; member in struct:deqp::gls::RasterizationTestUtil::LineSceneSpec::SceneLine
122 * Triangle colors are not used. The triangle is expected to be white.
133 * Line colors are not used. The line is expected to be white.
144 * Point colors are not used. The point is expected to be white.
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderDDS.java 47 TexturePixel[] colors = new TexturePixel[] { new TexturePixel(), new TexturePixel() }; local
60 colors[0].fromARGB8(col0);
61 colors[1].fromARGB8(col1);
70 // blending colors
71 for (int i = 0; i < colors.length; ++i) {
73 colors[i].negate();
75 colors[i].toRGBA(pixelColor);
77 colors[i].fromARGB8(1, resultPixel[0], resultPixel[1], resultPixel[2]);
78 int argb8 = colors[i].toARGB8();
  /external/skia/bench/
PatchGridBench.cpp 18 * (passing texture coordinates and colors, only textures coordinates, only colors or none).
120 SkColor colors[4]; local
121 colors[0] = cornerColors[i][j];
122 colors[1] = cornerColors[i][j + 1];
123 colors[3] = cornerColors[i + 1][j];
124 colors[2] = cornerColors[i + 1][j + 1];
137 fGrid.setPatch(j, i, points, colors, NULL);
143 fGrid.setPatch(j, i, points, colors, texs);
154 const SkColor colors[] = local
    [all...]

Completed in 395 milliseconds

1 23 4 5 6 7 8 91011>>