/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 226 int[] argb = new int [stride * height]; local 227 bitmap.getPixels(argb, 0, stride, 0, 0, width, height); 228 byte[] yuv = convertArgbsToYuvs(argb, stride, height, format); 287 private byte[] convertArgbsToYuvs(int[] argb, int width, int height, 297 argb2yuv(argb[idx], yuvColor); 312 argb2yuv(argb[idx], yuvColor0); 313 argb2yuv(argb[idx + 1], yuvColor1); 370 private void argb2yuv(int argb, byte[] yuv) { 371 int r = Color.red(argb); 372 int g = Color.green(argb); 381 int[] argb = new int[WIDTH * HEIGHT]; local [all...] |
LightingColorFilterTest.java | 66 paint.setColorFilter(new LightingColorFilter(Color.TRANSPARENT, Color.argb(0, 0, 0xFF, 0))); 77 paint.setColor(Color.argb(255, 60, 20, 40)); 81 assertColor(Color.argb(255, 30, 30, 30), bitmap.getPixel(0, 0)); 85 paint.setColor(Color.argb(0x80, 60, 20, 40)); 89 assertColor(Color.argb(0x80, 30, 30, 30), bitmap.getPixel(0, 0));
|
PixelXorXfermodeTest.java | 72 return Color.argb(alpha, red, green, blue);
|
ColorTest.java | 48 method = "argb", 52 assertEquals(Color.RED, Color.argb(0xff, 0xff, 0x00, 0x00)); 53 assertEquals(Color.YELLOW, Color.argb(0xff, 0xff, 0xff, 0x00));
|
ColorMatrixColorFilterTest.java | 90 assertColor(Color.argb(128, 255, 0, 64), bitmap.getPixel(0, 0));
|
PorterDuffColorFilterTest.java | 52 int filterColor = Color.argb(0x80, 0, 0xFF, 0);
|
RadialGradientTest.java | 107 color = Color.argb(alpha, red, green, blue);
|
SweepGradientTest.java | 137 color = Color.argb(alpha, red, green, blue);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Shared.java | 27 public static int argb(float a, float r, float g, float b) { method in class:Shared 28 return Color.argb((int) (a * 255f), (int) (r * 255f), (int) (g * 255f), (int) (b * 255f));
|
AdaptiveBackgroundTexture.java | 124 // Get the source pixels as 32-bit ARGB. 165 int argb = in[inPos + FloatUtils.clamp(i, 0, maxX)]; local 166 red += (argb & RED_MASK) >> RED_MASK_SHIFT; 167 green += (argb & GREEN_MASK) >> GREEN_MASK_SHIFT; 168 blue += argb & BLUE_MASK;
|
SimpleStringTexture.java | 52 paint.setColor(Shared.argb(config.a, config.r, config.g, config.b));
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 76 mColors[0] = Color.argb(192, 255, 64, 64); 77 mColors[1] = Color.argb(192, 64, 128, 64); 78 mColors[2] = Color.argb(192, 64, 64, 255); 79 mColors[3] = Color.argb(192, 64, 255, 255); 80 mColors[4] = Color.argb(192, 128, 64, 128); 81 mColors[5] = Color.argb(192, 255, 255, 64);
|
/external/oprofile/libpopt/ |
popt.c | 183 con->os->argb = NULL; 219 /*@releases os->nextArg, os->argv, os->argb @*/ 224 os->argb = PBM_FREE(os->argb); 236 con->os->argb = PBM_FREE(con->os->argb); 373 con->os->argb = NULL; 547 con->os->next, con->os->argb, con->os->argc, con->os->argv @*/ 561 if (os->argb && PBM_ISSET(i, os->argb)) [all...] |
poptint.h | 50 pbm_set * argb; member in struct:optionStackEntry
|
/external/qemu/distrib/sdl-1.2.12/src/hermes/ |
mmxp2_32.asm | 140 movq mm0, [esi] ; argb 141 movq mm1, mm0 ; argb 143 movq mm3, mm1 ; argb 150 movq mm4, [esi+8] ; argb 151 movq mm2, mm4 ; argb 153 movq mm1, mm2 ; argb
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 43 mShadow.setColor(Color.argb(60, 0, 0, 0));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 136 return Color.argb(a, r, g, b); 160 return Color.argb(Color.alpha(color), pinToByte(ir),
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 421 public void setColor(int argb) { 422 mGradientState.setSolidColor(argb); 423 mFillPaint.setColor(argb); 746 int argb = a.getColor( 749 setColor(argb); [all...] |
/external/qemu/android/skin/ |
argb.h | 30 mmx_save8888( mmx_t argb, mmx_t zero ) 32 return (unsigned) _mm_cvtsi64_si32( _mm_packs_pu16( argb, zero ) ); 49 mmx_mulshift( mmx_t argb, int multiplier, int rshift, mmx_t zero ) 51 mmx_t ar = _mm_unpackhi_pi16(argb, zero ); 52 mmx_t gb = _mm_unpacklo_pi16(argb, zero );
|
/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 85 parts.argb[i].reg = c; 90 CONTEXT_LOAD(dvdx, generated_vars.argb[i].dx); 108 CONTEXT_STORE(c, generated_vars.argb[i].c); 201 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); 202 CONTEXT_LOAD(dx, generated_vars.argb[component].dx); 204 CONTEXT_STORE(dx, generated_vars.argb[component].c); 206 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c); 212 fragment.reg = parts.argb[component].reg; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 105 public static int argb(int alpha, int red, int green, int blue) { method in class:Color 225 * Convert HSB components to an ARGB color. Alpha set to 0xFF. 231 * @return the resulting argb color 240 * Convert HSB components to an ARGB color. Alpha set to 0xFF. 248 * @return the resulting argb color 323 * Convert the argb color to its HSV components. 327 * @param color the argb color to convert. The alpha component is ignored. 335 * Convert HSV components to an ARGB color. Alpha set to 0xFF. 341 * @return the resulting argb color 348 * Convert HSV components to an ARGB color. The alpha component is passe [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 225 int cc = Color.argb(a0, rr, gg, bb);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TextHighlightingAnimation.java | 201 color = Color.argb(mAlpha, Color.red(color), Color.green(color), Color.blue(color));
|
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/ |
Slideshow.java | 130 // int srcColor = Color.argb(val, 0, 0, 0); 138 int srcColor = Color.argb(val, 0, 0, 0);
|
/system/core/libpixelflinger/ |
scanline.cpp | 843 gen.argb[GGLFormat::ALPHA].c = ci.ydady; 844 gen.argb[GGLFormat::ALPHA].dx = c->shade.dadx; 845 gen.argb[GGLFormat::RED ].c = ci.ydrdy; 846 gen.argb[GGLFormat::RED ].dx = c->shade.drdx; 847 gen.argb[GGLFormat::GREEN].c = ci.ydgdy; 848 gen.argb[GGLFormat::GREEN].dx = c->shade.dgdx; 849 gen.argb[GGLFormat::BLUE ].c = ci.ydbdy; 850 gen.argb[GGLFormat::BLUE ].dx = c->shade.dbdx; [all...] |