Home
last modified time | relevance | path

Searched refs:argb (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java258 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()
DColor_Delegate.java38 return Color.argb(alpha, rgb.getRed(), rgb.getGreen(), rgb.getBlue()); in nativeHSVToColor()
DBaseCanvas_Delegate.java753 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/
DMinimizedDockShadow.java58 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/
DImageGradientColorizer.java73 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()
DNotificationUtils.java55 return Color.argb( in interpolateColors()
/frameworks/base/graphics/java/android/graphics/
DColor.java1043 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/
DGlifPatternDrawable.java286 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/
DGLCanvas.java43 public abstract void clearBuffer(float[] argb); in clearBuffer() argument
DGLES20Canvas.java370 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/
DTaskViewHeader.java88 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()
DTaskViewThumbnail.java226 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/
DKeyguardUserSwitcherScrim.java105 new int[] { Color.argb( in updatePaint()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java89 final @ColorInt int transparentColor = Color.argb(0, 0, 0, 0); in testBackgroundAlwaysOpaque()
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java116 return Color.argb(alphaByte, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java284 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/
DColorUtils.java60 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/
DRectShadowPainter.java83 … 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/
DBarTransitions.java288 mColor = Color.argb( in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSIconViewImpl.java194 setTint(iv, Color.argb(alpha, channel, channel, channel)); in animateGrayScale()
/frameworks/base/core/java/android/app/
DNotificationChannel.java419 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/
DNotificationTemplateViewWrapper.java224 return ContrastColorUtil.compositeColors(Color.argb((int) (alpha * 255), in blendColorWithBackground()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java237 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java788 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/
DKeyguardAffordanceView.java222 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction), in updateCircleColor()

12