/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | TestColor.java | 24 public TestColor(int rgb) { in TestColor() argument 25 this.mRgb = rgb; in TestColor()
|
D | TestGraphics.java | 130 public @NonNull IColor registerColor(int rgb) { in registerColor() argument 131 mDrawn.add("registerColor(" + Integer.toHexString(rgb) + ")"); in registerColor() 132 return new TestColor(rgb); in registerColor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtils.java | 90 public static int getBrightness(int rgb) { in getBrightness() argument 91 if ((rgb & 0xFFFFFF) != 0) { in getBrightness() 92 int r = (rgb & 0xFF0000) >> 16; in getBrightness() 93 int g = (rgb & 0x00FF00) >> 8; in getBrightness() 94 int b = (rgb & 0x0000FF); in getBrightness() 111 public static RGB intToRgb(int rgb) { in intToRgb() argument 112 return new RGB((rgb & 0xFF0000) >>> 16, (rgb & 0xFF00) >>> 8, rgb & 0xFF); in intToRgb() 123 public static int rgbToInt(RGB rgb, int alpha) { in rgbToInt() argument 124 return alpha << 24 | (rgb.red << 16) | (rgb.green << 8) | rgb.blue; in rgbToInt() 163 int rgb = bufferedImage.getRGB(x, y); in cropBlank() [all …]
|
D | PreviewIconFactory.java | 448 int rgb = image.getRGB(image.getWidth() / 2, image.getHeight() / 2); in renderDrawableResource() local 449 return ImageUtils.intToRgb(rgb); in renderDrawableResource() 624 int rgb = ImageUtils.getColor(colorString.trim()); in initColors() local 625 mBackground = ImageUtils.intToRgb(rgb); in initColors() 629 int rgb = ImageUtils.getColor(colorString.trim()); in initColors() local 630 mForeground = ImageUtils.intToRgb(rgb); in initColors()
|
D | GCWrapper.java | 139 public @NonNull IColor registerColor(int rgb) { in registerColor() argument 142 Integer key = Integer.valueOf(rgb); in registerColor() 146 (rgb >> 16) & 0xFF, in registerColor() 147 (rgb >> 8) & 0xFF, in registerColor() 148 (rgb >> 0) & 0xFF)); in registerColor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
D | ConfigureAssetSetPage.java | 804 RGB rgb = dlg.open(); in widgetSelected() local 805 if (rgb != null) { in widgetSelected() 808 mValues.background = rgb; in widgetSelected() 809 updateColor(mBgButton.getDisplay(), rgb, true /*background*/); in widgetSelected() local 815 RGB rgb = dlg.open(); in widgetSelected() local 816 if (rgb != null) { in widgetSelected() 819 mValues.foreground = rgb; in widgetSelected() 820 updateColor(mFgButton.getDisplay(), rgb, false /*background*/); in widgetSelected() local
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 323 mColors[n] = Color.rgb(r, g, b); in onFrameBuffer() 331 mColors[n] = Color.rgb(r, g, b); in onFrameBuffer()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyEditor.java | 179 RGB rgb = ResourceHelper.resolveColor(resolver, resValue); in paint() local 180 if (rgb != null) { in paint() 181 Color color = new Color(gc.getDevice(), rgb); in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateMetadata.java | 338 int rgb = ImageUtils.getColor(colorString.trim()); in getRgb() local 339 return ImageUtils.intToRgb(rgb); in getRgb()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | StateTransformFactory.java | 734 GLEnum rgb = GLEnum.valueOf(msg.getArgs(0).getIntValue(0)); in transformsForGlBlendEquationSeparate() local 738 transforms.add(transformForGlEquationRGB(msg.getContextId(), rgb)); in transformsForGlBlendEquationSeparate() local 754 int contextId, GLEnum rgb, GLEnum alpha) { in transformsForGlBlendFuncSrcDst() argument 769 rgb)); in transformsForGlBlendFuncSrcDst()
|