/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_video.c | 47 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 594 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 610 syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b); 624 syspalph[i] = PgRGB(colors[i-firstcolor].r, colors[i-firstcolor].g, colors[i-firstcolor].b);
|
/external/skia/bench/ |
RepeatTileBench.cpp | 57 SkPMColor* colors = ctable->lockColors(); local 65 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
|
/external/skia/gm/ |
colormatrix.cpp | 90 SkColor colors[] = {0x00000000, 0xFFFFFFFF}; local 92 paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
|
twopointradial.cpp | 30 SkColor colors[] = { SK_ColorGREEN, SK_ColorRED }; local 42 colors, NULL, 2,
|
drawbitmaprect.cpp | 48 SkColor colors[] = { SK_ColorRED, SK_ColorYELLOW, local 64 colors, pos, 65 SK_ARRAY_COUNT(colors),
|
gammatext.cpp | 16 const SkColor colors[] = { 131 const SkColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; 132 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
|
ovals.cpp | 246 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; variable 250 colors, 252 SK_ARRAY_COUNT(colors),
|
rects.cpp | 69 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; local 73 colors, 75 SK_ARRAY_COUNT(colors),
|
shadertext.cpp | 23 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 34 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 35 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode, um))->unref();
|
/external/skia/src/core/ |
SkBitmapFilter.cpp | 26 SkPMColor* SK_RESTRICT colors, int count) { 73 *colors++ = SkPackARGB32(a, r, g, b);
|
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local 122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
|
SkImageEncoder_argb.cpp | 103 const SkPMColor* colors = ctLocker.lockColors(bitmap); local 109 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap.width(), colors);
|
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 185 SkiaLinearGradientShader::SkiaLinearGradientShader(float* bounds, uint32_t* colors, 189 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { 265 uint32_t* colors, float* positions, int count, SkShader* key, SkShader::TileMode tileMode, 267 SkiaSweepGradientShader(kCircularGradient, x, y, colors, positions, count, key, 303 SkiaSweepGradientShader::SkiaSweepGradientShader(float x, float y, uint32_t* colors, 307 mColors(colors), mPositions(positions), mCount(count) { 317 SkiaSweepGradientShader::SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, 321 mColors(colors), mPositions(positions), mCount(count) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsUi.java | 422 LinearColorPreference colors = new LinearColorPreference(getActivity()); local 423 colors.setOrder(-1); 424 colors.setOnRegionTappedListener(this); 427 colors.setColoredRegions(LinearColorBar.REGION_RED); 432 colors.setColoredRegions(LinearColorBar.REGION_RED 440 colors.setColoredRegions(LinearColorBar.REGION_ALL); 445 colors.setRatios(memTimes[ProcessStats.ADJ_MEM_FACTOR_CRITICAL] / (float)mTotalTime, 449 mAppListGroup.addPreference(colors);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 152 * @param colors Bitmap to draw. 154 public void drawBitmap(int x, int y, int w, int h, int[] colors) { 156 final Bitmap bmp = Bitmap.createBitmap(colors, 0, w, w, h, Bitmap.Config.ARGB_8888);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Spinner1.java | 46 this, R.array.colors, android.R.layout.simple_spinner_item);
|
/external/chromium_org/ash/wm/gestures/ |
long_press_affordance_handler.cc | 102 SkColor* colors, 115 colors, 216 SkColor colors[num_colors] = {kAffordanceGlowEndColor, variable 218 PaintAffordanceGlow(canvas, center, start_radius, end_radius, colors, pos,
|
/external/chromium_org/ui/views/controls/ |
progress_bar.cc | 66 const SkColor colors[], 84 p, colors, points, count, SkShader::kClamp_TileMode, NULL)); 98 SkColor colors[2] = { gradient_start_color, gradient_end_color }; local 100 colors, NULL, 2, gradient_horizontal);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageDraw.java | 193 int[] colors = new int[16 * 16]; local 194 for (int i = 0; i < colors.length; i++) { 197 colors[i] = (x == y) ? 0xFF777777 : 0xFF222222; 199 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888);
|
/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/pixman/test/ |
composite-traps-test.c | 66 static pixman_color_t colors[] = local 88 &(colors[prng_rand_n (ARRAY_LENGTH (colors))]));
|
/external/qemu/distrib/sdl-1.2.15/test/ |
threadwin.c | 58 icon->format->palette->colors[*pixels].r, 59 icon->format->palette->colors[*pixels].g, 60 icon->format->palette->colors[*pixels].b);
|
/external/skia/tests/ |
ImageDecodingTest.cpp | 207 SkColor colors[2] = { SK_ColorWHITE, SK_ColorBLUE }; local 208 SkShader* shader = SkGradientShader::CreateLinear(points, colors, NULL, 209 SK_ARRAY_COUNT(colors),
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxvideo.c | 45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ; 398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) 409 pal.palette [i].r = colors [i].r ; 410 pal.palette [i].g = colors [i].g ; 411 pal.palette [i].b = colors [i].b ;
|
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
SDL_xbios.c | 77 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 975 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) 986 r = colors[i].r; 987 v = colors[i].g; 988 b = colors[i].b; 997 r = colors[i].r; 998 v = colors[i].g; 999 b = colors[i].b; 1009 r = colors[i].r; 1010 v = colors[i].g [all...] |