/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtDrawingStyle.java | 22 import org.eclipse.swt.graphics.RGB; 37 SELECTION(new RGB(0x00, 0x99, 0xFF), 192, new RGB(0x00, 0x99, 0xFF), 192, 1, SWT.LINE_SOLID), 42 GUIDELINE(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_SOLID), 47 GUIDELINE_SHADOW(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_SOLID), 52 GUIDELINE_DASHED(new RGB(0x00, 0xAA, 0x00), 192, SWT.LINE_CUSTOM), 57 DISTANCE(new RGB(0xFF, 0x00, 0x00), 192 - 32, SWT.LINE_SOLID), 62 GRID(new RGB(0xAA, 0xAA, 0xAA), 128, SWT.LINE_SOLID), 67 HOVER(null, 0, new RGB(0xFF, 0xFF, 0xFF), 40, 1, SWT.LINE_DOT), 72 HOVER_SELECTION(null, 0, new RGB(0xFF, 0xFF, 0xFF), 10, 1, SWT.LINE_DOT) [all...] |
PreviewIconFactory.java | 50 import org.eclipse.swt.graphics.RGB; 76 private RGB mBackground; 77 private RGB mForeground; 214 Pair<RGB, RGB> themeColors = getColorsFromTheme(); 215 RGB bg = themeColors.getFirst(); 216 RGB fg = themeColors.getSecond(); 286 Pair<RGB, RGB> themeColors = getColorsFromTheme(); 287 RGB bg = themeColors.getFirst() 440 int rgb = image.getRGB(image.getWidth() \/ 2, image.getHeight() \/ 2); local 608 int rgb = ImageUtils.getColor(colorString.trim()); local 613 int rgb = ImageUtils.getColor(colorString.trim()); local [all...] |
ImageUtils.java | 27 import org.eclipse.swt.graphics.RGB; 73 * Returns the perceived brightness of the given RGB integer on a scale from 0 to 255 75 * @param rgb the RGB triplet, 8 bits each 78 public static int getBrightness(int rgb) { 79 if ((rgb & 0xFFFFFF) != 0) { 80 int r = (rgb & 0xFF0000) >> 16; 81 int g = (rgb & 0x00FF00) >> 8; 82 int b = (rgb & 0x0000FF); 91 * Converts an alpha-red-green-blue integer color into an {@link RGB} color [all...] |
GCWrapper.java | 31 import org.eclipse.swt.graphics.RGB; 138 public IColor registerColor(int rgb) { 141 Integer key = Integer.valueOf(rgb); 145 (rgb >> 16) & 0xFF, 146 (rgb >> 8) & 0xFF, 147 (rgb >> 0) & 0xFF)); 430 RGB stroke = swtStyle.getStrokeColor(); 435 RGB fill = swtStyle.getFillColor(); 467 * @param defaultColorDesc The RGB values to initialize the color to if we 471 private Color getStrokeColor(DrawingStyle style, RGB defaultColorDesc) [all...] |
/sdk/traceview/src/com/android/traceview/ |
ColorController.java | 25 import org.eclipse.swt.graphics.RGB; 34 private static RGB[] rgbColors = { new RGB(90, 90, 255), // blue 35 new RGB(0, 240, 0), // green 36 new RGB(255, 0, 0), // red 37 new RGB(0, 255, 255), // cyan 38 new RGB(255, 80, 255), // magenta 39 new RGB(200, 200, 0), // yellow 40 new RGB(40, 0, 200), // dark blue 41 new RGB(150, 255, 150), // light gree 94 RGB rgb = rgbColors[nextColorIndex]; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtilsTest.java | 25 import org.eclipse.swt.graphics.RGB; 43 // prevent the alpha from being pre-multiplied into the RGB when drawing the image. 53 // Convert the RGB image, effectively discarding the alpha channel entirely. 71 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); 72 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); 125 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); 126 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); 155 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); 156 RGB actual = outPalette.getRGB(outData.getPixel(x, y)); 192 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)) [all...] |
/frameworks/native/libs/ui/ |
PixelFormat.cpp | 45 { 4, 24, { 0, 0, 8, 0, 16, 8, 24,16 }, PixelFormatInfo::RGB }, 46 { 3, 24, { 0, 0, 8, 0, 16, 8, 24,16 }, PixelFormatInfo::RGB }, 47 { 2, 16, { 0, 0, 16,11, 11, 5, 5, 0 }, PixelFormatInfo::RGB }, 54 { 1, 8, { 0, 0, 8, 5, 5, 2, 2, 0 }, PixelFormatInfo::RGB },
|
/external/mesa3d/docs/ |
MESA_pixmap_colormap.spec | 32 Since Mesa allows RGB rendering into drawables with PseudoColor, 63 The Mesa implementation of GLX allows RGB rendering into X windows and 65 to compute pixel values from RGB values Mesa requires a colormap.
|
MESA_ycbcr_texture.spec | 35 There is no support for converting YCbCr images to RGB or vice versa 37 RGB during texture sampling, after-which, all the usual per-fragment 45 data to RGB one would need to examine two pixels from columns N and N+1 46 (where N is even) to deduce the RGB color. 127 YCbCr, not RGB. Queries of the texture's red, green and blue component 128 sizes will return zero. The YCbCr colors are converted to RGB during 201 3 September 2003 - further clarify when YCbCr->RGB conversion takes place
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 32 import org.eclipse.swt.graphics.RGB; 148 static int closest(RGB[] rgbs, int n, RGB rgb) { 152 RGB rgb2 = rgbs[i]; 153 int da = rgb2.red - rgb.red; 154 int dg = rgb2.green - rgb.green; 155 int db = rgb2.blue - rgb.blue; 166 RGB rgb; field in class:Utils.ColorCounter 188 RGB rgb = data.palette.getRGB(pixels[x]); local 232 RGB rgb = data.palette.getRGB(pixels[x]); local [all...] |
/external/mesa3d/docs/OLD/ |
MESA_packed_depth_stencil.spec | 91 RGB Color R, G, B components 112 UNSIGNED_BYTE_3_3_2 ubyte 3 RGB 113 UNSIGNED_BYTE_2_3_3_REV ubyte 3 RGB 114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB 115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB 177 RGB red green blue 189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and 193 read "If <format> is one of RED, GREEN, BLUE, ALPHA, RGB, RGBA,
|
/frameworks/native/include/ui/ |
PixelFormat.h | 61 PIXEL_FORMAT_RGB_888 = HAL_PIXEL_FORMAT_RGB_888, // 3x8-bit RGB 62 PIXEL_FORMAT_RGB_565 = HAL_PIXEL_FORMAT_RGB_565, // 16-bit RGB 81 RGB = 2,
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
PixelPerfectLoupe.java | 38 import org.eclipse.swt.graphics.RGB; 85 mCrosshairColor = new Color(Display.getDefault(), new RGB(255, 94, 254)); 253 new PaletteData(new RGB[] { 254 new RGB(0, 0, 0)
|
PixelPerfect.java | 37 import org.eclipse.swt.graphics.RGB; 85 mCrosshairColor = new Color(Display.getDefault(), new RGB(0, 255, 255)); 86 mBorderColor = new Color(Display.getDefault(), new RGB(255, 0, 0)); 87 mMarginColor = new Color(Display.getDefault(), new RGB(0, 255, 0)); 88 mPaddingColor = new Color(Display.getDefault(), new RGB(0, 0, 255));
|
PixelPerfectPixelPanel.java | 30 import org.eclipse.swt.graphics.RGB; 80 RGB pixel =
|
/frameworks/base/graphics/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 141 RGB (3), 193 case RGB: 194 mShader += " col.rgb = texture2D(UNI_Tex0, t0).rgb;\n"; 209 case RGB: 210 mShader += " col.rgb *= texture2D(UNI_Tex0, t0).rgb;\n";
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
HeapPanel.java | 39 import org.eclipse.swt.graphics.RGB; 159 RGB colors[] = new RGB[NUM_PALETTE_ENTRIES]; 161 = new RGB(192, 192, 192); // non-heap pixels are gray 166 = new RGB(0, 0, 0); // free chunks are black 171 = new RGB(0, 0, 255); // objects are blue 176 = new RGB(0, 255, 0); // class objects are green 181 = new RGB(255, 0, 0); // byte/bool arrays are red 186 = new RGB(255, 128, 0); // short/char arrays are orange 191 = new RGB(255, 255, 0); // obj/int/float arrays are yello [all...] |
NativeHeapPanel.java | 38 import org.eclipse.swt.graphics.RGB; [all...] |
/external/webkit/Source/WebCore/platform/win/ |
CursorWin.cpp | 90 SetBkColor(workingDC, RGB(0,0,0)); 93 SetBkColor(xorMaskDC, RGB(255, 255, 255)); 94 SetTextColor(xorMaskDC, RGB(255, 255, 255));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 34 import org.eclipse.swt.graphics.RGB; 302 RGB backgroundRgb = new RGB(254, 254, 254);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ProgramFragmentFixedFunctionTest.java | 101 assertEquals(Builder.Format.RGB, Builder.Format.valueOf("RGB"));
|
/external/qemu/distrib/sdl-1.2.12/src/hermes/ |
x86p_32.asm | 263 ;; 32 bit RGB 888 to 24 BIT RGB 888 360 ;; 32 bit RGB 888 to 24 bit BGR 888 461 ;; 32 bit RGB 888 to 16 BIT RGB 565 576 ;; 32 bit RGB 888 to 16 BIT BGR 565 690 ;; 32 BIT RGB TO 16 BIT RGB 555 801 ;; 32 BIT RGB TO 16 BIT BGR 555 917 ;; FROM 32 BIT RGB to 8 BIT RGB (rrrgggbbb [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourcePreviewHelper.java | 36 import org.eclipse.swt.graphics.RGB; 131 RGB color = ResourceHelper.resolveColor(resources, value);
|
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.cpp | 206 m_infoHeader.biCompression = RGB; 255 // *Except the alpha channel. Bizarrely, some RGB bitmaps expect decoders 293 // Each compression type is only valid with certain bit depths (except RGB, 297 case RGB: 349 // Top-down bitmaps cannot be compressed; they must be RGB or BITFIELDS. 350 if (m_isTopDown && (m_infoHeader.biCompression != RGB) && (m_infoHeader.biCompression != BITFIELDS)) 380 // logic later, create bitmasks for the RGB data. For Windows V4+, 389 // For Windows V4+ 32-bit RGB, don't overwrite the alpha mask from the 426 // data (for example, bits 25-31 in a 24-bit RGB format). 690 // RGB data. Decode pixels one at a time, left to right [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
native_view_photobooth_win.cc | 162 capture_window_->GetNativeView(), RGB(0xFF, 0xFF, 0xFF), 0xFF, LWA_ALPHA);
|