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

1 2 3 45 6 7 8 91011>>

  /frameworks/base/libs/hwui/
GradientCache.h 38 colors = nullptr;
42 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
43 copy(colors, positions, count);
47 copy(entry.colors.get(), entry.positions.get(), entry.count);
52 copy(entry.colors.get(), entry.positions.get(), entry.count);
70 std::unique_ptr<uint32_t[]> colors; member in struct:android::uirenderer::GradientCacheEntry
75 void copy(uint32_t* colors, float* positions, uint32_t count) {
77 this->colors.reset(new uint32_t[count]);
80 memcpy(this->colors.get(), colors, count * sizeof(uint32_t))
    [all...]
  /frameworks/native/cmds/flatland/
Renderers.cpp 22 static float colors[][4] = { member in namespace:android
33 float* color = colors[g_colorIndex];
34 g_colorIndex = (g_colorIndex + 1) % NELEMS(colors);
  /frameworks/support/design/base/android/support/design/widget/
CircularBorderDrawable.java 150 final int[] colors = new int[6]; local
151 colors[0] = ColorUtils.compositeColors(mTopOuterStrokeColor, mTintColor);
152 colors[1] = ColorUtils.compositeColors(mTopInnerStrokeColor, mTintColor);
153 colors[2] = ColorUtils.compositeColors(
155 colors[3] = ColorUtils.compositeColors(
157 colors[4] = ColorUtils.compositeColors(mBottomInnerStrokeColor, mTintColor);
158 colors[5] = ColorUtils.compositeColors(mBottomOuterStrokeColor, mTintColor);
171 colors, positions,
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ThemeUtils.java 49 final int[] colors = new int[2]; local
54 colors[i] = disabledTextColor;
59 colors[i] = textColor;
62 return new ColorStateList(states, colors);
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/
ParticleTriMesh.java 78 // set colors
164 ByteBuffer colors = (ByteBuffer) cvb.getData(); local
189 colors.clear();
264 colors.putInt(abgr);
265 colors.putInt(abgr);
266 colors.putInt(abgr);
267 colors.putInt(abgr);
271 colors.clear();
281 cvb.updateData(colors);
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java 152 ColorStateList colors = child.getTextColors(); local
153 buttonCopy.setTextColor(colors.getDefaultColor());
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintFlagsDrawFilterTest.java 116 int colors[] = new int [] { Color.WHITE, Color.BLACK }; local
121 grid.setPixel(i, j, colors[k]);
SweepGradientTest.java 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; local
55 Shader shader = new SweepGradient(CENTER, CENTER, colors[0], colors[1]);
58 checkColors(colors, positions, TOLERANCE);
62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; local
64 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
68 checkColors(colors, positions, TOLERANCE);
72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; local
75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions);
79 checkColors(colors, positions, TOLERANCE)
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 70 // 4x4 texture with 4 colors
71 int[] colors = { local
77 mBitmap = Bitmap.createBitmap(colors, 4, 4, Bitmap.Config.ARGB_8888);
  /cts/tests/tests/text/src/android/text/style/cts/
TextAppearanceSpanTest.java 33 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
34 ColorStateList csl = new ColorStateList(states, colors);
70 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
71 ColorStateList csl = new ColorStateList(states, colors);
79 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
80 ColorStateList csl = new ColorStateList(states, colors);
101 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
102 ColorStateList csl = new ColorStateList(states, colors);
119 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
120 ColorStateList csl = new ColorStateList(states, colors);
134 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
143 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
155 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
    [all...]
  /development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java 59 int[] colors = new int[] { local
64 colors);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 37 int[] colors = new int[STRIDE * HEIGHT]; local
44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b;
47 return colors;
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 170 final float colors[] = { local
192 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4);
195 mColorBuffer.put(colors);
  /development/samples/Compass/src/com/example/android/compass/
CompassActivity.java 171 float colors[] = { local
194 vbb = ByteBuffer.allocateDirect(colors.length*4);
197 mColorBuffer.put(colors);
  /external/deqp/modules/egl/
teglNativeColorMappingTests.cpp 21 * \brief Test for mapping client color values to native surface colors
323 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors)
341 render(gl, program, colors[colorNdx]);
343 clear(gl, colors[colorNdx]);
350 if (!validate(log, egl, display, config, result, colors[colorNdx]))
366 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors)
384 render(gl, program, colors[colorNdx]);
386 clear(gl, colors[colorNdx]);
391 if (!validate(log, egl, display, config, result, colors[colorNdx]))
407 bool testNativePixmapCopy (TestLog& log, const Library& egl, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors)
453 const tcu::Vec4 colors[] = local
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderFragDataTests.cpp 161 const float colors[] = local
174 glu::va::Float("a_color", 4, 4, 0, &colors[0]),
263 const float colors[] = local
275 glu::va::Float("a_color", 4, 4, 0, &colors[0])
  /external/deqp/modules/gles31/functional/
es31fFboTestUtil.cpp 220 tcu::Vec4 colors[4]; local
233 colors[fragNdx] = tcu::Vec4(0.0f);
246 colors[fragNdx] += tmpColors[fragNdx] * scale + bias;
252 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias;
385 tcu::Vec4 colors[4]; local
397 tex->sample4(colors, texCoords);
401 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
  /external/jmonkeyengine/engine/src/test/jme3test/post/
TestMultiRenderTarget.java 86 ColorRGBA[] colors = new ColorRGBA[]{ local
104 pl.setColor(colors[i]);
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_compositor.h 72 struct vertex4f colors[4]; member in struct:vl_compositor_layer
216 struct vertex4f *colors);
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_program.h 86 uint32_t colors; /* 0x1904 */ member in struct:nv50_program::__anon16409
nv50_shader_state.c 347 uint32_t colors = fp->fp.colors; local
377 colors |= m << 8; /* adjust BFC0 id */
391 colors += m - 4; /* adjust FFC0 id */
417 colors |= NV50_3D_SEMANTIC_COLOR_CLMP_EN;
465 PUSH_DATA (push, colors);
475 nv50->state.semantic_color = colors;
  /external/skia/bench/
BitmapBench.cpp 35 SkPMColor* colors = storage; local
43 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
GameBench.cpp 272 SkColor colors[kNumAtlasedX][kNumAtlasedY]; local
276 colors[x][y] = rand.nextU() | 0xff000000;
299 *scanline = colors[colorX][colorY];
GradientBench.cpp 34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
39 // We have several special-cases depending on the number (and spacing) of colors, so
353 SkColor colors[] = { local
357 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL,
358 SK_ARRAY_COUNT(colors),
  /external/skia/dm/
DMSrcSink.cpp 112 SkPMColor colors[256]; local
113 colorTable.reset(SkNEW_ARGS(SkColorTable, (colors, maxColors)));

Completed in 817 milliseconds

1 2 3 45 6 7 8 91011>>