/external/chromium_org/third_party/skia/include/core/ |
SkColor.h | 23 /** 32 bit ARGB color value, not premultiplied. The color components are always in 107 /** Convert the argb color to its HSV components. 111 @param color the argb color to convert. Note: the alpha component is ignored. 119 /** Convert HSV components to an ARGB color. The alpha component is passed through unchanged. 124 @param alpha the alpha component of the returned argb color. 126 @return the resulting argb color 130 /** Convert HSV components to an ARGB color. The alpha component set to 0xFF. 136 @return the resulting argb color 145 /** 32 bit ARGB color value, premultiplied. The byte order for this value is
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ColorTest.java | 23 int color = Color.argb(100, 160, 160, 160);
|
/external/skia/include/core/ |
SkColor.h | 23 /** 32 bit ARGB color value, not premultiplied. The color components are always in 107 /** Convert the argb color to its HSV components. 111 @param color the argb color to convert. Note: the alpha component is ignored. 119 /** Convert HSV components to an ARGB color. The alpha component is passed through unchanged. 124 @param alpha the alpha component of the returned argb color. 126 @return the resulting argb color 130 /** Convert HSV components to an ARGB color. The alpha component set to 0xFF. 136 @return the resulting argb color 145 /** 32 bit ARGB color value, premultiplied. The byte order for this value is
|
/external/chromium_org/third_party/libwebp/enc/ |
picture_csp.c | 26 uint32_t argb; member in union:__anon16897 60 const uint32_t* argb = picture->argb; local 61 if (argb == NULL) return 0; 64 if (argb[x] < 0xff000000u) return 1; // test any alpha values != 0xff 66 argb += picture->argb_stride; 244 // call for ARGB->YUVA conversion 249 if (picture->argb == NULL) { 252 const uint8_t* const argb = (const uint8_t*)picture->argb; local [all...] |
picture_tools.c | 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { 83 argb_value = pic->argb[off]; 86 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); 179 uint32_t* argb = pic->argb; local 183 const int alpha = (argb[x] >> 24) & 0xff; 186 int r = (argb[x] >> 16) & 0xff; 187 int g = (argb[x] >> 8) & 0xff; 188 int b = (argb[x] >> 0) & 0xff; 192 argb[x] = MakeARGB32(r, g, b) [all...] |
picture_rescale.c | 84 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, 85 (uint8_t*)dst->argb, 4 * dst->argb_stride, 123 dst->argb = src->argb + top * src->argb_stride + left; 161 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); 163 (uint8_t*)tmp.argb, tmp.argb_stride * 4, 197 assert(pic->argb != NULL); 198 WebPMultARGBRows((uint8_t*)pic->argb, pic->argb_stride * sizeof(*pic->argb), 272 RescalePlane((const uint8_t*)pic->argb, prev_width, prev_height [all...] |
/external/webp/src/enc/ |
picture_csp.c | 26 uint32_t argb; member in union:__anon37066 60 const uint32_t* argb = picture->argb; local 61 if (argb == NULL) return 0; 64 if (argb[x] < 0xff000000u) return 1; // test any alpha values != 0xff 66 argb += picture->argb_stride; 244 // call for ARGB->YUVA conversion 249 if (picture->argb == NULL) { 252 const uint8_t* const argb = (const uint8_t*)picture->argb; local [all...] |
picture_tools.c | 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { 83 argb_value = pic->argb[off]; 86 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); 179 uint32_t* argb = pic->argb; local 183 const int alpha = (argb[x] >> 24) & 0xff; 186 int r = (argb[x] >> 16) & 0xff; 187 int g = (argb[x] >> 8) & 0xff; 188 int b = (argb[x] >> 0) & 0xff; 192 argb[x] = MakeARGB32(r, g, b) [all...] |
picture_rescale.c | 84 CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, 85 (uint8_t*)dst->argb, 4 * dst->argb_stride, 123 dst->argb = src->argb + top * src->argb_stride + left; 161 (const uint8_t*)(pic->argb + top * pic->argb_stride + left); 163 (uint8_t*)tmp.argb, tmp.argb_stride * 4, 197 assert(pic->argb != NULL); 198 WebPMultARGBRows((uint8_t*)pic->argb, pic->argb_stride * sizeof(*pic->argb), 272 RescalePlane((const uint8_t*)pic->argb, prev_width, prev_height [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
skia_utils_gtk2.h | 27 // Converts GdkColors to the ARGB layout Skia expects. 30 // Converts ARGB to GdkColor.
|
/external/chromium_org/skia/ext/ |
skia_utils_win.h | 40 // Converts COLORREFs (0BGR) to the ARGB layout Skia expects. 43 // Converts ARGB to COLORREFs (0BGR).
|
skia_utils_mac.h | 61 // Converts CGColorRef to the ARGB layout Skia expects. 64 // Converts ARGB to CGColorRef. 67 // Converts NSColor to ARGB. Returns raw rgb values and does no colorspace 71 // Converts ARGB in the specified color space to NSColor.
|
/external/llvm/test/CodeGen/PowerPC/ |
2007-10-18-PtrArithmetic.ll | 4 define void @bork(float* %argA, float* %argB, float* %res, i8 %inoutspec.0) { 14 %tmp1516 = bitcast float* %argB to <4 x i32>* ; <<4 x i32>*> [#uses=1]
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusflat.h | 55 GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(GpBitmap*,HBITMAP*,ARGB); 63 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); 64 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB); 187 GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics*,ARGB*); 220 GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB); 363 GpStatus WINGDIPAPI GdipCreateHatchBrush(GpHatchStyle,ARGB,ARGB,GpHatch**); 365 GpStatus WINGDIPAPI GdipGetHatchForegroundColor(GpHatch*,ARGB*); 366 GpStatus WINGDIPAPI GdipGetHatchBackgroundColor(GpHatch*,ARGB*); 431 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,ColorAdjustType,BOOL,ARGB,ARGB) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LightingColorFilterTest.java | 57 paint.setColorFilter(new LightingColorFilter(Color.TRANSPARENT, Color.argb(0, 0, 0xFF, 0))); 68 paint.setColor(Color.argb(255, 60, 20, 40)); 72 assertColor(Color.argb(255, 30, 30, 30), bitmap.getPixel(0, 0)); 76 paint.setColor(Color.argb(0x80, 60, 20, 40)); 80 assertColor(Color.argb(0x80, 30, 30, 30), bitmap.getPixel(0, 0));
|
YuvImageTest.java | 203 int[] argb = new int[stride * height]; local 204 mTestBitmaps[0].getPixels(argb, 0, stride, 0, 0, width, height); 205 byte[] yuv = convertArgbsToYuvs(argb, stride, height, ImageFormat.NV21); 239 int[] argb = new int [stride * height]; local 240 bitmap.getPixels(argb, 0, stride, 0, 0, width, height); 241 byte[] yuv = convertArgbsToYuvs(argb, stride, height, format); 303 private byte[] convertArgbsToYuvs(int[] argb, int width, int height, 313 argb2yuv(argb[idx], yuvColor); 328 argb2yuv(argb[idx], yuvColor0); 329 argb2yuv(argb[idx + 1], yuvColor1) 397 int[] argb = new int[WIDTH * HEIGHT]; local [all...] |
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
GdiPlusPixelFormats.h | 19 * 32-bit and 64-bit ARGB pixel value
22 typedef DWORD ARGB;
29 #define ALPHA_MASK ((ARGB) 0xff << ALPHA_SHIFT)
183 * palette entries are limited to 32bpp ARGB pixel format
198 ARGB Entries[1]; // palette color entries
|
/external/libyuv/files/source/ |
convert_argb.cc | 29 // Copy ARGB with optional flipping 50 // Convert I444 to ARGB. 95 // Convert I422 to ARGB. 147 // Convert I411 to ARGB. 193 // Convert I400 to ARGB. 227 // Convert I400 to ARGB. 261 // Convert BGRA to ARGB. 295 // Convert ABGR to ARGB. 329 // Convert RGBA to ARGB. 363 // Convert RAW to ARGB 834 uint8* argb; member in struct:libyuv::ARGBBuffers [all...] |
/external/chromium_org/media/base/simd/ |
convert_yuva_to_argb_mmx.inc | 12 PROLOGUE 7, 7, 3, Y, U, V, A, ARGB, WIDTH, TABLE 14 DEFINE_ARGS Y, U, V, A, ARGB, TABLE, TEMP 52 ; ARGB alpha value as the source pixel in YUVA, but this depends on the alpha 94 ; Multiply ARGB by alpha value.
|
/external/chromium_org/media/base/ |
yuv_convert.h | 61 // Convert a frame of YUV to 32 bit ARGB. 74 // Convert a frame of YUVA to 32 bit ARGB. 89 // Scale a frame of YUV to 32 bit ARGB. 106 // Biliner Scale a frame of YV12 to 32 bits ARGB on a specified rectangle.
|
/external/chromium_org/third_party/libyuv/include/libyuv/ |
rotate_argb.h | 22 // Rotate ARGB frame
|
/external/libyuv/files/include/libyuv/ |
rotate_argb.h | 22 // Rotate ARGB frame
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerInternal.java | 24 void notificationLightPulse(int argb, int onMillis, int offMillis);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategorySelected.java | 26 mPaint.setColor(Color.argb(128, 128, 128, 128));
|
/external/chromium_org/third_party/libyuv/util/ |
convert.cc | 11 // Convert an ARGB image to YUV. 73 printf(" -attenuate ............. Attenuate the ARGB image\n"); 74 printf(" -unattenuate ........... Unattenuate the ARGB image\n"); 221 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB 230 const int dst_size = dst_width * dst_height * 4; // ARGB scaled 268 // Load original YUV or ARGB frame. 275 // ARGB attenuate frame 279 // ARGB unattenuate frame 285 // Scale YUV or ARGB frame. 320 // Convert ARGB to YUV [all...] |