/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 258 int[] argb = new int[width * height]; in nativeCopy() local 259 srcImage.getRGB(0, 0, width, height, argb, 0, width); in nativeCopy() 260 image.setRGB(0, 0, width, height, argb, 0, width); in nativeCopy() 729 int[] argb = new int[w * h]; in createCopy() local 730 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth()); in createCopy() 733 final int length = argb.length; in createCopy() 735 int a = (argb[i] >>> 24 * alpha) / 255; in createCopy() 736 argb[i] = (a << 24) | (argb[i] & 0x00FFFFFF); in createCopy() 740 result.setRGB(0, 0, w, h, argb, 0, w); in createCopy()
|
D | Color_Delegate.java | 38 return Color.argb(alpha, rgb.getRed(), rgb.getGreen(), rgb.getBlue()); in nativeHSVToColor()
|
D | BaseCanvas_Delegate.java | 753 int[] argb = new int[w * h]; in fixAlpha8Bitmap() local 754 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth()); in fixAlpha8Bitmap() 756 final int length = argb.length; in fixAlpha8Bitmap() 758 argb[i] &= 0xFF000000; in fixAlpha8Bitmap() 760 argb[i] |= texture.getElem(i) & 0x00FFFFFF; in fixAlpha8Bitmap() 764 image.setRGB(0, 0, w, h, argb, 0, w); in fixAlpha8Bitmap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | MinimizedDockShadow.java | 58 final int middleColor = Color.argb( in updatePaint() 60 final int quarter = Color.argb( in updatePaint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageGradientColorizer.java | 73 new int[] {0, Color.argb(0.5f, 1, 1, 1), Color.BLACK}, in colorize() 95 new int[] {0, Color.argb(0.5f, 1, 1, 1), Color.BLACK}, in colorize()
|
D | NotificationUtils.java | 55 return Color.argb( in interpolateColors()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 1043 int argb = in pack() local 1048 return (argb & 0xffffffffL) << 32; in pack() 1319 public static int argb( in argb() method in Color 1338 public static int argb(float alpha, float red, float green, float blue) { in argb() method in Color
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 286 this.color = Color.argb(COLOR_ALPHA_INT, r, g, b); in setColor() 295 return Color.argb(255, Color.red(color), Color.green(color), Color.blue(color)); in getColor()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 43 public abstract void clearBuffer(float[] argb); in clearBuffer() argument
|
D | GLES20Canvas.java | 370 public void clearBuffer(float[] argb) { in clearBuffer() argument 371 GLES20.glClearColor(argb[1], argb[2], argb[3], argb[0]); in clearBuffer()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewHeader.java | 88 mBackgroundPaint.setColor(Color.argb(255, 0, 0, 0)); in HighlightColorDrawable() 90 mHighlightPaint.setColor(Color.argb(255, 255, 255, 255)); in HighlightColorDrawable() 233 mBackground.setColorAndDim(Color.argb(255, 0, 0, 0), 0f); in TaskViewHeader() 236 mDimLayerPaint.setColor(Color.argb(255, 0, 0, 0)); in TaskViewHeader()
|
D | TaskViewThumbnail.java | 226 mLightingColorFilter.setColorMultiply(Color.argb(255, mul, mul, mul)); in updateThumbnailPaintFilter() 235 mDrawPaint.setColor(Color.argb(255, grey, grey, grey)); in updateThumbnailPaintFilter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherScrim.java | 105 new int[] { Color.argb( in updatePaint()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | WorkLockActivityTest.java | 89 final @ColorInt int transparentColor = Color.argb(0, 0, 0, 0); in testBackgroundAlwaysOpaque()
|
/frameworks/base/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 116 return Color.argb(alphaByte, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 284 return Color.argb(Color.alpha(color), in processColor() 350 fg = Color.argb(alpha, r, g, b); in findAlphaToMeetContrast() 357 return Color.argb(high, r, g, b); in findAlphaToMeetContrast() 657 return Color.argb(a, r, g, b); in compositeColors()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 60 return Color.argb(a, r, g, b); in compositeColors() 592 return Color.argb((int) a, (int) r, (int) g, (int) b); in blendARGB()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 83 … colors[i] = Color.argb((int) (Color.alpha(colors[i]) * alpha), Color.red(colors[i]), in paintShadow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 288 mColor = Color.argb( in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 194 setTint(iv, Color.argb(alpha, channel, channel, channel)); in animateGrayScale()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 419 public void setLightColor(int argb) { in setLightColor() argument 420 this.mLightColor = argb; in setLightColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationTemplateViewWrapper.java | 224 return ContrastColorUtil.compositeColors(Color.argb((int) (alpha * 255), in blendColorWithBackground()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 237 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 788 private int getMultipliedAlpha(int argb, int alpha) { in getMultipliedAlpha() argument 789 return (int) (Color.alpha(argb) * (alpha / 255.0) + 0.5); in getMultipliedAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 222 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction), in updateCircleColor()
|