HomeSort by relevance Sort by last modified time
    Searched refs:RGB (Results 1 - 25 of 68) sorted by null

1 2 3

  /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 52 import org.eclipse.swt.graphics.RGB;
78 private RGB mBackground;
79 private RGB mForeground;
216 Pair<RGB, RGB> themeColors = getColorsFromTheme();
217 RGB bg = themeColors.getFirst();
218 RGB fg = themeColors.getSecond();
288 Pair<RGB, RGB> themeColors = getColorsFromTheme();
289 RGB bg = themeColors.getFirst()
448 int rgb = image.getRGB(image.getWidth() \/ 2, image.getHeight() \/ 2); local
624 int rgb = ImageUtils.getColor(colorString.trim()); local
629 int rgb = ImageUtils.getColor(colorString.trim()); local
    [all...]
GCWrapper.java 32 import org.eclipse.swt.graphics.RGB;
139 public @NonNull IColor registerColor(int rgb) {
142 Integer key = Integer.valueOf(rgb);
146 (rgb >> 16) & 0xFF,
147 (rgb >> 8) & 0xFF,
148 (rgb >> 0) & 0xFF));
431 RGB stroke = swtStyle.getStrokeColor();
436 RGB fill = swtStyle.getFillColor();
468 * @param defaultColorDesc The RGB values to initialize the color to if we
472 private Color getStrokeColor(DrawingStyle style, RGB defaultColorDesc)
    [all...]
ImageUtils.java 36 import org.eclipse.swt.graphics.RGB;
85 * Returns the perceived brightness of the given RGB integer on a scale from 0 to 255
87 * @param rgb the RGB triplet, 8 bits each
90 public static int getBrightness(int rgb) {
91 if ((rgb & 0xFFFFFF) != 0) {
92 int r = (rgb & 0xFF0000) >> 16;
93 int g = (rgb & 0x00FF00) >> 8;
94 int b = (rgb & 0x0000FF);
103 * Converts an alpha-red-green-blue integer color into an {@link RGB} color
    [all...]
  /external/clang/test/CodeGenCXX/
mangle-ms.cpp 166 typedef double RGB[3];
167 RGB color1;
168 extern const RGB color2 = {};
169 extern RGB const color3[5] = {};
170 extern RGB const ((color4)[5]) = {};
  /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 },
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizardState.java 28 import org.eclipse.swt.graphics.RGB;
94 public RGB background = new RGB(0xff, 0x00, 0x00);
97 public RGB foreground = new RGB(0x00, 0x00, 0x00);
ConfigureAssetSetPage.java 68 import org.eclipse.swt.graphics.RGB;
136 private RGB mBgColor;
137 private RGB mFgColor;
538 //updateColor(display, new RGB(0xa4, 0xc6, 0x39), true /*background*/);
804 RGB rgb = dlg.open(); local
809 updateColor(mBgButton.getDisplay(), rgb, true \/*background*\/); local
815 RGB rgb = dlg.open(); local
820 updateColor(mFgButton.getDisplay(), rgb, false \/*background*\/); local
    [all...]
  /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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterCurves.java 57 if (!mParameters.getSpline(Spline.RGB).isOriginal()) {
59 populateArray(rgbGradient, Spline.RGB);
  /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,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
ImageCurves.java 56 private int mCurrentCurveIndex = Spline.RGB;
199 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.RED) {
202 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.GREEN) {
205 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.BLUE) {
208 // We only display the other channels curves when showing the RGB curve
209 if (mCurrentCurveIndex == Spline.RGB) {
427 mCurrentCurveIndex = Spline.RGB;
  /frameworks/base/graphics/java/android/renderscript/
ProgramFragmentFixedFunction.java 142 RGB (3),
194 case RGB:
195 mShader += " col.rgb = texture2D(UNI_Tex0, t0).rgb;\n";
210 case RGB:
211 mShader += " col.rgb *= texture2D(UNI_Tex0, t0).rgb;\n";
  /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));
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramFragmentFixedFunctionTest.java 101 assertEquals(Builder.Format.RGB, Builder.Format.valueOf("RGB"));
  /external/qemu/distrib/sdl-1.2.15/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
460 ;; 32 bit RGB 888 to 16 BIT RGB 565
575 ;; 32 bit RGB 888 to 16 BIT BGR 565
689 ;; 32 BIT RGB TO 16 BIT RGB 555
800 ;; 32 BIT RGB TO 16 BIT BGR 555
916 ;; 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...]
BMPImageReader.h 84 RGB = 0,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
IconFactory.java 35 import org.eclipse.swt.graphics.RGB;
374 RGB backgroundRgb = new RGB(254, 254, 254);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
NewProjectWizard.java 46 import org.eclipse.swt.graphics.RGB;
126 iconState.background = new RGB(0xff, 0xff, 0xff);
127 iconState.foreground = new RGB(0x33, 0xb6, 0xea);
TemplateMetadata.java 52 import org.eclipse.swt.graphics.RGB;
229 RGB background = getRgb(icon, ATTR_BACKGROUND);
233 RGB foreground = getRgb(icon, ATTR_FOREGROUND);
300 private static RGB getRgb(@NonNull Element element, @NonNull String name) {
303 int rgb = ImageUtils.getColor(colorString.trim()); local
304 return ImageUtils.intToRgb(rgb);
  /external/chromium/chrome/browser/ui/views/tabs/
native_view_photobooth_win.cc 162 capture_window_->GetNativeView(), RGB(0xFF, 0xFF, 0xFF), 0xFF, LWA_ALPHA);
  /external/webkit/Source/WebCore/platform/graphics/gpu/
DrawingBuffer.cpp 219 internalColorFormat = GraphicsContext3D::RGB;
220 colorFormat = GraphicsContext3D::RGB;

Completed in 4747 milliseconds

1 2 3