/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 426 SDL_Color *colors); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 258 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, 265 if (colors != null) { 266 image.setRGB(0, 0, width, height, colors, offset, stride); 443 /*package*/ static void nativeSetPixels(int nativeBitmap, int[] colors, int offset, 450 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 684 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[index].blue << 8 [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_driver.c | 684 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[index].blue << 8 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_video.c | 58 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) 1075 entries[i].r = colors[i].r; 1076 entries[i].g = colors[i].g; 1077 entries[i].b = colors[i].b [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
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/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 378 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors(), 435 // return false, since the result will have premultiplied colors. 562 // colors, the only supported config is 8888. 637 // config is unpremultiplied, the color table will store unpremultiplied colors. 835 if (!sampler.begin(&decodedBitmap, sc, doDither, ctLock.colors(), 969 const SkPMColor* SK_RESTRICT colors = alc.colors(); local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
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/src/images/ |
SkImageDecoder_libpng.cpp | 379 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) { 435 // return false, since the result will have premultiplied colors. 568 // colors, the only supported config is 8888. 643 // config is unpremultiplied, the color table will store unpremultiplied colors. 840 if (!sampler.begin(&decodedBitmap, sc, *this, ctLock.colors())) { 976 const SkPMColor* SK_RESTRICT colors = alc.colors(); local [all...] |
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/ |
plotter.js | 295 this.colors = [[0, 114, 178], // Blue. 313 * @param {number} i An index into the |this.colors| array. 317 var index = i % this.colors.length; 318 return 'rgb(' + this.colors[index][0] + ',' + 319 this.colors[index][1] + ',' + 320 this.colors[index][2] + ')'; 327 * @param {number} i An index into the |this.colors| array. 334 var index = i % this.colors.length; 335 return 'rgba(' + this.colors[index][0] + ',' + 336 this.colors[index][1] + ',' [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
alpha.c | 164 int colors = 0; local 175 if (color[j] > 0) ++colors; 177 return colors; 237 // For low number of colors, NONE yeilds better compression. 240 // For large number of colors, try FILTER_NONE in addition to the best
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 456 SkColor colors[kMaxRandomGradientColors]; 460 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 462 colors, stops, colorCount));
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 597 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, 602 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg) 603 : sys::Process::OutputColor(colors, bold, bg); 607 // don't account colors towards output characters 620 // don't account colors towards output characters 633 // don't account colors towards output characters
|
/external/pixman/test/ |
composite.c | 33 static const color_t colors[] = variable 261 /* It turns out that by construction all source, mask etc. colors are 391 info->color = &colors[color]; 438 return prng_rand_n (ARRAY_LENGTH (colors));
|
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_video.h | 65 SDL_Color *colors; member in struct:SDL_Palette 346 * that the colors set by SDL_SetColors() will be the colors you get. 348 * of the colors exactly the way they are requested, and you should look 350 * If SDL cannot guarantee that the colors you request can be set, 454 * If all of the colors were set as passed to SDL_SetColors(), it will 460 * display colormap will be updated with the requested colors. If 467 SDL_Color *colors, int firstcolor, int ncolors); 486 SDL_Color *colors, int firstcolor, 772 * pixel format and colors of the video framebuffer, suitable for fas [all...] |
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 456 SkColor colors[kMaxRandomGradientColors]; 460 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 462 colors, stops, colorCount));
|
/external/webp/src/enc/ |
alpha.c | 164 int colors = 0; local 175 if (color[j] > 0) ++colors; 177 return colors; 237 // For low number of colors, NONE yeilds better compression. 240 // For large number of colors, try FILTER_NONE in addition to the best
|
/frameworks/base/core/java/android/content/res/ |
StringBlock.java | 331 ColorStateList colors = res.getColorStateList(colorRes); local 333 return new TextAppearanceSpan(null, 0, 0, colors, null); 335 c = colors.getDefaultColor();
|
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 901 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, 916 int length = colors.length; 927 nDrawBitmap(mRenderer, colors, offset, stride, x, y, 934 private static native void nDrawBitmap(int renderer, int[] colors, int offset, int stride, 938 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, 941 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint); 946 int vertOffset, int[] colors, int colorOffset, Paint paint) { 959 if (colors != null) { 960 checkRange(colors.length, colorOffset, count); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BatteryMeterView.java | 180 TypedArray colors = res.obtainTypedArray(R.array.batterymeter_color_values); local 186 mColors[2*i+1] = colors.getColor(i, 0); 189 colors.recycle();
|
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 65 SDL_Color *colors; member in struct:SDL_Palette 346 * that the colors set by SDL_SetColors() will be the colors you get. 348 * of the colors exactly the way they are requested, and you should look 350 * If SDL cannot guarantee that the colors you request can be set, 454 * If all of the colors were set as passed to SDL_SetColors(), it will 460 * display colormap will be updated with the requested colors. If 467 SDL_Color *colors, int firstcolor, int ncolors); 486 SDL_Color *colors, int firstcolor, 772 * pixel format and colors of the video framebuffer, suitable for fas [all...] |
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_video.h | 65 SDL_Color *colors; member in struct:SDL_Palette 346 * that the colors set by SDL_SetColors() will be the colors you get. 348 * of the colors exactly the way they are requested, and you should look 350 * If SDL cannot guarantee that the colors you request can be set, 454 * If all of the colors were set as passed to SDL_SetColors(), it will 460 * display colormap will be updated with the requested colors. If 467 SDL_Color *colors, int firstcolor, int ncolors); 486 SDL_Color *colors, int firstcolor, 772 * pixel format and colors of the video framebuffer, suitable for fas [all...] |
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_video.h | 65 SDL_Color *colors; member in struct:SDL_Palette 346 * that the colors set by SDL_SetColors() will be the colors you get. 348 * of the colors exactly the way they are requested, and you should look 350 * If SDL cannot guarantee that the colors you request can be set, 454 * If all of the colors were set as passed to SDL_SetColors(), it will 460 * display colormap will be updated with the requested colors. If 467 SDL_Color *colors, int firstcolor, int ncolors); 486 SDL_Color *colors, int firstcolor, 772 * pixel format and colors of the video framebuffer, suitable for fas [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContext.cpp | 729 const uint32_t colors[2][6] = { local 739 row[0] = colors[index][x * 2]; 740 row[1] = colors[index][x * 2 + 1]; 741 row[2] = colors[index][x * 2]; 745 const uint32_t colors[2][18] = { local 760 row[0] = colors[index][x * 3]; 761 row[1] = colors[index][x * 3 + 1]; 762 row[2] = colors[index][x * 3 + 2]; 763 row[3] = colors[index][x * 3 + 2]; 764 row[4] = colors[index][x * 3 + 1] 1827 static const SkPMColor colors[] = { local 1837 static const SkPMColor colors[] = { local 1847 static const SkPMColor colors[] = { local [all...] |
/external/chromium_org/skia/ext/ |
analysis_canvas.h | 139 const SkColor colors[],
|