/external/pixman/pixman/ |
pixman-linear-gradient.c | 163 register uint32_t color; local 165 color = _pixman_gradient_walker_pixel (&walker, t); 167 *buffer++ = color;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
graywin.c | 11 #ifdef TEST_VGA16 /* Define this if you want to test VGA 16-color video modes */ 22 Uint32 color; local 40 color = randc; 44 color = SDL_MapRGB(screen->format, randc, randc, randc); 48 SDL_FillRect(screen, &area, color); 61 Uint16 color; local 85 color = SDL_MapRGB(screen->format, gradient, gradient, gradient); 89 *(buffer16+k)=color;
|
testbitmap.c | 63 Uint16 color; local 132 color = SDL_MapRGB(screen->format, gradient, gradient, gradient); 136 *(buffer16+k)=color;
|
/external/qemu/ |
vnchextile.h | 122 pixel_t color = 0; /* shut up gcc */ local 128 color = irow[i]; 131 } else if (irow[i] != color) { 134 vnc_convert_pixel(vs, data + n_data, color); 137 memcpy(data + n_data, &color, sizeof(color)); 146 color = irow[i]; 154 vnc_convert_pixel(vs, data + n_data, color); 157 memcpy(data + n_data, &color, sizeof(color)); [all...] |
/external/skia/bench/ |
PictureRecordBench.cpp | 65 SkColor color = SK_ColorYELLOW + (i % 255); variable 75 // fill the clip with a color 77 paint.setColor(color); 90 // draw a single color into the bitmap 92 bitmapCanvas.drawColor(SkColorSetA(color, i % 255)); 113 * objects that differ only by color 144 * Using setColor(i % objCount) instead of a random color creates a very high rate
|
/external/skia/gm/ |
convexpaths.cpp | 275 SkColor color = rand.nextU(); local 276 color |= 0xff000000; 277 paint.setColor(color);
|
emptypath.cpp | 27 SkColor color, 34 paint.setColor(color); 93 SkColor color = rand.nextU(); local 94 color = 0xff000000| color; // force solid 95 this->drawEmpty(canvas, color, rect, 106 labelPaint.setColor(color);
|
mixedxfermodes.cpp | 111 SkColor color = random.nextU(); variable 117 p.setColor(color);
|
ovals.cpp | 166 SkColor color = genColor(&rand); variable 167 fPaints[i].setColor(color); 188 SkColor color = genColor(&rand); variable 189 fPaints[i].setColor(color); 205 SkColor color = genColor(&rand); variable 206 fPaints[i].setColor(color); 221 SkColor color = genColor(&rand); variable 222 fPaints[i].setColor(color); 237 SkColor color = genColor(&rand); variable 238 fPaints[i].setColor(color); 262 SkColor color = genColor(&rand); variable [all...] |
/external/skia/src/animator/ |
SkAnimateBase.cpp | 166 SkColor color = SkColorSetARGB(SkScalarRound(array[0]), SkScalarRound(array[1]), local 168 (*converted)[0].fS32 = color;
|
SkDrawGradient.cpp | 90 SkDrawColor* color = (SkDrawColor*) child; local 91 *fDrawColors.append() = color; 101 fColors[index] = fDrawColors[index]->color; 116 SkDrawColor* color = *ptr; local 117 color->dump(maker);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AlphaLayersActivity.java | 41 ColorView color = new ColorView(this); local 42 container.addView(color, new DirtyBitmapView.LayoutParams( 49 color.startAnimation(a);
|
/frameworks/rs/driver/runtime/arch/ |
generic.c | 761 float4 color = (float)y * 0.003921569f; local 765 color += fU * yuv_U_values; 766 color += fV * yuv_V_values; 767 color = clamp(color, 0.f, 1.f); 768 return color; 946 extern uchar4 __attribute__((overloadable)) rsPackColorTo8888(float3 color) 948 color *= 255.f; 949 color += 0.5f; 950 color = clamp(color, 0.f, 255.f) [all...] |
/hardware/libhardware/include/hardware/ |
lights.h | 37 * light to a reasonable color when the BUTTONS are lit. 92 * The color of the LED in ARGB. 98 * unsigned char brightness = ((77*((color>>16)&0x00ff)) 99 * + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 105 unsigned int color; member in struct:light_state_t
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
HtmlUtils.java | 35 * Specifically, it adjusts the color and padding of the vertical 91 int color = resources.getColor(R.color.stream_item_stripe_color); local 94 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); 142 public StreamItemQuoteSpan(int color, int width) { 143 super(color);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
ColorEditorDelegate.java | 17 package com.android.ide.eclipse.adt.internal.editors.color; 35 * Editor for /res/color XML files. 46 if (ResourceFolderType.COLOR == type) { 59 EDITORS_NAMESPACE + ".color.ColorEditor"; //$NON-NLS-1$
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 22 import android.graphics.Color; 47 paint.setColor(Color.GRAY); 54 bitmap.eraseColor(Color.BLACK); 83 long color = 0; local 87 color += Color.red(pixel) + Color.green(pixel) + Color.blue(pixel); 90 return color;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
ImageSpanTest.java | 36 int[] color = new int[width * height]; local 37 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565);
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewTestActivity.java | 89 private final float[][] color = field in class:TextureViewTestActivity.GLRendererImpl 98 glClearColor(color[index][0], color[index][1], color[index][2], 1.0f);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 32 private int color; field in class:ShapeHolder 63 return color; 67 color = value;
|
/device/asus/grouper/liblights/ |
lights.c | 58 int color = state->color & 0x00ffffff; local 59 return ((77 * ((color >> 16) & 0x00ff)) 60 + (150 * ((color >> 8) & 0x00ff)) + 61 (29 * (color & 0x00ff))) >> 8;
|
/device/lge/hammerhead/liblight/ |
lights.c | 103 int color = state->color & 0x00ffffff; local 105 return ((77 * ((color >> 16) & 0x00ff)) 106 + (150 * ((color >> 8) & 0x00ff)) + (29 * (color & 0x00ff))) >> 8; 142 colorRGB = state->color;
|
/external/blktrace/btt/ |
btt_plot.py | 285 def color(idx, style): function in function:generate_output 286 """Returns a color/symbol type based upon the index passed.""" 292 color = colors[idx % len(colors)] 298 return '%s%s' % (color, style) 340 ax.plot(dat['x'], dat['y'], color(idx, 'marker'), 345 ax.plot(dat['ax'], dat['ay'], color(idx, 'line'),
|
/external/chromium/chrome/browser/chromeos/login/ |
oobe_progress_bar.cc | 65 SkColor color; local 70 color = kFilledTextColor; 73 color = kCurrentTextColor; 78 color = kEmptyTextColor; 115 canvas->DrawStringInt(str, font_, color,
|
/external/chromium/chrome/browser/themes/ |
browser_theme_pack.h | 69 bool GetColor(int id, SkColor* color) const; 116 // Transforms the JSON color values into their final versions in the 202 SkColor color; member in struct:BrowserThemePack::ColorPair
|