Searched defs:colors (Results 276 - 300 of 392) sorted by relevance

<<111213141516

/external/chromium_org/third_party/skia/tests/
H A DImageFilterTest.cpp297 SkColor colors[2]; local
298 colors[0] = SK_ColorWHITE;
299 colors[1] = SK_ColorBLACK;
301 SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, NULL, 2,
/external/chromium_org/ui/gfx/
H A Drender_text.h81 // lengths and colors; to support text selection appearances.
112 // Internal helper class used by derived classes to iterate colors and styles.
115 StyleIterator(const BreakList<SkColor>& colors,
119 // Get the colors and styles at the current iterator position.
126 // Update the iterator to point to colors and styles applicable at |position|.
435 const BreakList<SkColor>& colors() const { return colors_; } function in class:gfx::RenderText
523 // Apply (and undo) temporary composition underlines and selection colors.
661 // TODO(msw): Expand to support cursor, selection, background, etc. colors.
/external/chromium_org/ui/views/color_chooser/
H A Dcolor_chooser_view.cc94 SkColor colors[2] = { start_color, end_color }; local
102 SkGradientShader::CreateLinear(points, colors, NULL, 2,
/external/chromium_org/ui/views/controls/button/
H A Dlabel_button.cc29 // Default text and shadow colors for STYLE_BUTTON.
85 // Initialize the colors, border, and layout.
380 SkColor colors[STATE_COUNT] = { local
389 // Use hardcoded colors for inverted color scheme support and STYLE_BUTTON.
392 colors[STATE_NORMAL] = SK_ColorWHITE;
404 colors[STATE_NORMAL] = kStyleButtonTextColor;
417 colors[STATE_HOVERED] = colors[STATE_PRESSED] = colors[STATE_NORMAL];
421 SetTextColor(static_cast<ButtonState>(state), colors[stat local
[all...]
/external/deqp/modules/egl/
H A DteglPreservingSwapTests.cpp219 const glw::GLubyte colors[] = local
238 m_gl.vertexAttribPointer(m_colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, colors);
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.cpp377 tcu::Vec4 colors[4]; local
390 colors[fragNdx] = tcu::Vec4(0.0f);
403 colors[fragNdx] += tmpColors[fragNdx] * scale + bias;
409 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias;
531 tcu::Vec4 colors[4]; local
543 tex->sample4(colors, texCoords);
547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
639 tcu::Vec4 colors[4]; local
651 tex->sample4(colors, texCoords);
655 const tcu::Vec4 color = colors[fragNd
747 tcu::Vec4 colors[4]; local
[all...]
H A Des3fPixelBufferObjectTests.cpp295 float colors[] = { local
322 GLU_CHECK_CALL(glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, colors));
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp220 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/llvm/lib/Support/
H A Draw_ostream.cpp605 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, argument
610 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg)
611 : sys::Process::OutputColor(colors, bold, bg);
615 // don't account colors towards output characters
628 // don't account colors towards output characters
641 // don't account colors towards output characters
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c600 vb[ 3].x = layer->colors[0].x;
601 vb[ 3].y = layer->colors[0].y;
602 vb[ 4].x = layer->colors[0].z;
603 vb[ 4].y = layer->colors[0].w;
610 vb[ 8].x = layer->colors[1].x;
611 vb[ 8].y = layer->colors[1].y;
612 vb[ 9].x = layer->colors[1].z;
613 vb[ 9].y = layer->colors[1].w;
620 vb[13].x = layer->colors[2].x;
621 vb[13].y = layer->colors[
951 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_driver.c684 int *indices, LOCO *colors, VisualPtr pVisual)
696 ms->lut_r[index * 8 + j] = colors[index].red << 8;
697 ms->lut_g[index * 8 + j] = colors[index].green << 8;
698 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
708 ms->lut_r[index * 8 + j] = colors[index].red << 8;
709 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
714 ms->lut_g[index * 4 + j] = colors[index].green << 8;
721 ms->lut_r[index] = colors[index].red << 8;
722 ms->lut_g[index] = colors[index].green << 8;
723 ms->lut_b[index] = colors[inde
683 drv_load_palette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, VisualPtr pVisual) argument
[all...]
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp345 const CvScalar* colors = img->nChannels == 3 ? rgb_colors : gray_colors; local
347 CvScalar color = colors[0];
351 color = colors[y % ARRAY_SIZEOF(rgb_colors)];
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgavideo.c51 SDL_Color *colors);
994 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
1006 xcmap[i].red = (colors[i].r<<8)|colors[i].r;
1007 xcmap[i].green = (colors[i].g<<8)|colors[i].g;
1008 xcmap[i].blue = (colors[i].b<<8)|colors[i].b;
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c58 SDL_Color *colors);
294 SDL_Color *colors; local
303 colors = SDL_calloc (size, sizeof(SDL_Color));
304 if (!colors)
311 palette->colors = colors;
1054 int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
1075 entries[i].r = colors[i].r;
1076 entries[i].g = colors[i].g;
1077 entries[i].b = colors[
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
H A DSDL_gemvideo.c82 static int GEM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
1048 static int GEM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
1068 r = colors[i].r;
1069 g = colors[i].g;
1070 b = colors[i].b;
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/
H A DSDL_ipodvideo.c51 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors);
366 current->format->palette->colors[i+j].r = 85 * j;
367 current->format->palette->colors[i+j].g = 85 * j;
368 current->format->palette->colors[i+j].b = 85 * j;
382 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j;
389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j;
390 SDL_VideoSurface->format->palette->colors[i+j].b = 85 * j;
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocvideo.cpp126 SDL_Color *colors);
465 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
469 // SDL_TRACE1("colors %d", (TDisplayModeUtils::NumDisplayModeColors(Private->EPOC_DisplayMode)));
476 TUint32 color4K = (colors[i].r & 0x0000f0) << 4;
477 color4K |= (colors[i].g & 0x0000f0);
478 color4K |= (colors[i].b & 0x0000f0) >> 4;
489 TUint32 color64K = (colors[i].r & 0x0000f8) << 8;
490 color64K |= (colors[i].g & 0x0000fc) << 3;
491 color64K |= (colors[i].b & 0x0000f8) >> 3;
501 TUint32 color16M = colors[
[all...]
/external/skia/include/core/
H A DSkBitmap.h45 kIndex8_Config, //!< 8-bits per pixel, using SkColorTable to specify the colors
842 /** Return the currently locked colors, or NULL if no bitmap's colortable
845 const SkPMColor* colors() const { return fColors; } function in class:SkAutoLockColors
847 /** Locks the table and returns is colors (assuming ctable is not null) and
/external/skia/samplecode/
H A DSampleAll.cpp516 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
517 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL,
H A DSampleFatBits.cpp39 // SkColor colors[] = { 0xFFFDFDFD, 0xFFF4F4F4 };
40 SkColor colors[] = { 0xFFFFFFFF, 0xFFFFFFFF }; local
44 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = SkPreMultiplyColor(colors[0]);
45 *bm.getAddr32(0, 1) = *bm.getAddr32(1, 0) = SkPreMultiplyColor(colors[1]);
H A DSamplePatch.cpp43 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; local
44 return SkGradientShader::CreateLinear(pts, colors, NULL,
45 SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode);
180 SkColor* colors = colorStorage.get(); local
195 colors[i*2 + 0] = make_color(s/fW, t/fH);
196 colors[i*2 + 1] = make_color(s/fW, (t + dt)/fH);
202 doColors ? colors : NULL, NULL,
/external/skia/src/core/
H A DSkBitmapDevice.cpp425 const SkColor colors[], SkXfermode* xmode,
428 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode,
422 drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, int vertexCount, const SkPoint verts[], const SkPoint textures[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkBitmapProcState.cpp644 SkPMColor* SK_RESTRICT colors,
648 SkASSERT(count > 0 && colors != NULL);
672 sk_memset32(colors, row[0], n);
677 colors += n;
684 memcpy(colors, row + ix, n * sizeof(SkPMColor));
689 colors += n;
693 sk_memset32(colors, row[maxX], count);
718 SkPMColor* SK_RESTRICT colors,
722 SkASSERT(count > 0 && colors != NULL);
746 memcpy(colors, ro
642 Clamp_S32_D32_nofilter_trans_shaderproc(const SkBitmapProcState& s, int x, int y, SkPMColor* SK_RESTRICT colors, int count) argument
716 Repeat_S32_D32_nofilter_trans_shaderproc(const SkBitmapProcState& s, int x, int y, SkPMColor* SK_RESTRICT colors, int count) argument
756 S32_D32_constX_shaderproc(const SkBitmapProcState& s, int x, int y, SkPMColor* SK_RESTRICT colors, int count) argument
869 DoNothing_shaderproc(const SkBitmapProcState&, int x, int y, SkPMColor* SK_RESTRICT colors, int count) argument
[all...]
H A DSkRecorder.cpp195 const SkPoint texs[], const SkColor colors[],
203 colors ? this->copy(colors, vertexCount) : NULL,
193 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/effects/gradients/
H A DSkLinearGradient.cpp92 // colors have alpha), and if we are not dithering (which obviously
116 // only 2 colors - but it's cheap.
122 // If colors change sharply across the gradient, dithering is
522 SkColor colors[kMaxRandomGradientColors]; local
526 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
528 colors, stops, colorCount,

Completed in 6349 milliseconds

<<111213141516