/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.cc | 163 static SkColor colors[NUM_STATES][NUM_KINDS]; local 165 colors[NORMAL][BACKGROUND] = theme->GetSystemColor( 167 colors[NORMAL][TEXT] = theme->GetSystemColor( 169 colors[NORMAL][URL] = SkColorSetARGB(0xff, 0x00, 0x99, 0x33); 170 colors[SELECTED][BACKGROUND] = theme->GetSystemColor( 172 colors[SELECTED][TEXT] = theme->GetSystemColor( 174 colors[SELECTED][URL] = SkColorSetARGB(0xff, 0x00, 0x66, 0x22); 175 colors[HOVERED][URL] = SkColorSetARGB(0xff, 0x00, 0x66, 0x22); 176 CommonInitColors(theme, colors); 179 return colors[state][kind] [all...] |
/external/skia/gm/ |
modecolorfilters.cpp | 21 SkColor colors[] = {color, color}; local 23 return SkGradientShader::CreateLinear(kPts, colors, NULL, 2, SkShader::kClamp_TileMode); 94 SkColor colors[] = { local 126 for (size_t cfc = 0; cfc < SK_ARRAY_COUNT(colors); ++cfc) { 127 SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(colors[cfc], 133 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); 134 SkColor* paintColors = hasShader ? alphas : colors;
|
arithmode.cpp | 31 SkColor colors[] = { local 35 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), 47 SkColor colors[] = { local 50 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors),
|
filltypespersp.cpp | 56 SkColor colors[] = {SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN}; local 60 colors, 62 SK_ARRAY_COUNT(colors), 84 SkColor colors[] = {SK_ColorBLACK, SK_ColorCYAN, local 90 colors, 92 SK_ARRAY_COUNT(colors),
|
tablecolorfilter.cpp | 23 SkColor colors[] = { local 27 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), 43 SkColor colors[] = { local 48 SkIntToScalar(W)/2, colors, NULL, SK_ARRAY_COUNT(colors),
|
blurquickreject.cpp | 43 SkColor colors[] = { variable 49 SkASSERT(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(blurRects)); 68 blurPaint.setColor(colors[i]);
|
shaderbounds.cpp | 14 SkColor colors[2] = {SK_ColorRED, SK_ColorGREEN}; local 17 colors[0] = SK_ColorBLUE; 18 colors[1] = SK_ColorYELLOW; 20 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
|
/frameworks/base/core/java/android/content/res/ |
ColorStateList.java | 37 * Lets you map {@link android.view.View} state sets to colors. 76 * states to colors. 78 public ColorStateList(int[][] states, int[] colors) { 80 mColors = colors; 83 mDefaultColor = colors[0]; 87 mDefaultColor = colors[i]; 156 * colors as this one but where each color has the specified alpha value 160 int[] colors = new int[mColors.length]; local 162 int len = colors.length; 164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
Gradient.cpp | 258 // Collect sorted stop position and color information into the pos and colors 263 size_t count, SkScalar* pos, SkColor* colors) 270 colors[0] = makeSkColor(0.0, 0.0, 0.0, 0.0); 278 colors[0] = makeSkColor(stop->alpha, stop->red, stop->green, stop->blue); 284 colors[i] = makeSkColor(stop->alpha, stop->red, stop->green, stop->blue); 292 colors[start + count] = colors[start + count - 1]; 310 SkColor* colors = (SkColor*)storage.get(); local 311 SkScalar* pos = (SkScalar*)(colors + countUsed); 313 fillStops(m_stops.data(), m_stops.size(), pos, colors); [all...] |
/external/chromium_org/ui/views/ |
painter.cc | 29 SkColor* colors, 41 // The gradient colors. 43 // The relative positions of the corresponding gradient colors. 52 SkColor* colors, 61 colors_[i] = colors[i]; 243 SkColor colors[2]; local 244 colors[0] = c1; 245 colors[1] = c2; 247 return new GradientPainter(true, colors, pos, 2); 252 SkColor colors[2] local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_state_derived.c | 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; local 67 colors[0] = colors[1] = fog = needW = face = FALSE; 83 colors[fs->info.input_semantic_index[i]] = TRUE; 124 if (colors[0]) { 131 if (colors[1]) {
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_derived.c | 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; local 67 colors[0] = colors[1] = fog = needW = face = FALSE; 83 colors[fs->info.input_semantic_index[i]] = TRUE; 124 if (colors[0]) { 131 if (colors[1]) {
|
/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Cube.java | 44 int colors[] = { local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); 81 mColorBuffer.put(colors);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
Cube.java | 44 int colors[] = { local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); 81 mColorBuffer.put(colors);
|
/external/chromium_org/ui/views/controls/ |
glow_hover_controller.cc | 94 SkColor colors[2]; local 97 colors[0] = SkColorSetARGB(hover_alpha, 255, 255, 255); 98 colors[1] = SkColorSetARGB(0, 255, 255, 255); 101 center_point, SkIntToScalar(radius), colors, NULL, 2,
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
ColorTags.java | 19 private LinkedList<Range> colors = new LinkedList<Range>();
field in class:ColorTags 36 return colors;
40 colors.clear();
56 colors.add(range);
|
/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.
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_bmp.c | 223 /* Create a compatible surface, note that the colors are RGB ordered */ 239 SDL_RWread(src, &palette->colors[i].b, 1, 1); 240 SDL_RWread(src, &palette->colors[i].g, 1, 1); 241 SDL_RWread(src, &palette->colors[i].r, 1, 1); 242 palette->colors[i].unused = 0; 246 SDL_RWread(src, &palette->colors[i].b, 1, 1); 247 SDL_RWread(src, &palette->colors[i].g, 1, 1); 248 SDL_RWread(src, &palette->colors[i].r, 1, 1); 249 SDL_RWread(src, &palette->colors[i].unused, 1, 1); 488 SDL_Color *colors; local [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBitmapProcState_opts_SSSE3.cpp | 387 int count, uint32_t* colors) { 388 SkASSERT(count > 0 && colors != NULL); 458 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 460 colors += 4; 485 *colors++ = _mm_cvtsi128_si32(sum); 532 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 534 colors += 4; 566 *colors++ = _mm_cvtsi128_si32(sum0); 578 int count, uint32_t* colors) { 579 SkASSERT(count > 0 && colors != NULL) [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSSE3.cpp | 387 int count, uint32_t* colors) { 388 SkASSERT(count > 0 && colors != NULL); 458 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 460 colors += 4; 485 *colors++ = _mm_cvtsi128_si32(sum); 532 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 534 colors += 4; 566 *colors++ = _mm_cvtsi128_si32(sum0); 578 int count, uint32_t* colors) { 579 SkASSERT(count > 0 && colors != NULL) [all...] |
/cts/suite/pts/utils/ |
grapher.py | 29 colors = { variable 68 clr = colors.get(name, "#%06X" % (hash(name) % 0xFFFFFF))
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebColorName.cpp | 112 void setNamedColors(const WebColorName* colorNames, const WebColor* colors, size_t length) 116 WebColor color = colors[i]; 126 // TODO(jeremy): Tell RenderTheme to update colors.
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState.h | 56 SkPMColor colors[]); 61 uint16_t colors[]); 207 int count, SkPMColor colors[]); 209 int count, SkPMColor colors[]); 211 const uint32_t xy[], int count, SkPMColor colors[]); 213 const uint32_t xy[], int count, SkPMColor colors[]); 223 const uint32_t* xy, int count, uint16_t* colors); 226 SkPMColor *SK_RESTRICT colors, int count);
|
/external/skia/src/core/ |
SkBitmapProcState.h | 56 SkPMColor colors[]); 61 uint16_t colors[]); 207 int count, SkPMColor colors[]); 209 int count, SkPMColor colors[]); 211 const uint32_t xy[], int count, SkPMColor colors[]); 213 const uint32_t xy[], int count, SkPMColor colors[]); 223 const uint32_t* xy, int count, uint16_t* colors); 226 SkPMColor *SK_RESTRICT colors, int count);
|