/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | CamUtils.java | 221 public static float lstarFromInt(int argb) { in lstarFromInt() argument 222 return lstarFromY(yFromInt(argb)); in lstarFromInt() 237 static float yFromInt(int argb) { in yFromInt() argument 238 final float r = linearized(Color.red(argb)); in yFromInt() 239 final float g = linearized(Color.green(argb)); in yFromInt() 240 final float b = linearized(Color.blue(argb)); in yFromInt() 247 static float[] xyzFromInt(int argb) { in xyzFromInt() argument 248 final float r = linearized(Color.red(argb)); in xyzFromInt() 249 final float g = linearized(Color.green(argb)); in xyzFromInt() 250 final float b = linearized(Color.blue(argb)); in xyzFromInt()
|
D | Cam.java | 143 public static Cam fromInt(int argb) { in fromInt() argument 144 return fromIntInFrame(argb, Frame.DEFAULT); in fromInt() 152 public static Cam fromIntInFrame(int argb, @NonNull Frame frame) { in fromIntInFrame() argument 154 float[] xyz = CamUtils.xyzFromInt(argb); in fromIntInFrame() 328 int argb = ColorUtils.XYZToColor(x, y, z); in viewed() local 329 return argb; in viewed()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 143 bitmap.setPixel(i, j, Color.argb(1, luma, luma, luma)); in createBitmap() 159 swBitmap.setPixel(i, 0, Color.argb(1, luma, luma, luma)); in setBorderLuma() 160 swBitmap.setPixel(i, height - 1, Color.argb(1, luma, luma, luma)); in setBorderLuma() 163 swBitmap.setPixel(0, i, Color.argb(1, luma, luma, luma)); in setBorderLuma() 164 swBitmap.setPixel(width - 1, i, Color.argb(1, luma, luma, luma)); in setBorderLuma()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ColorExtractor.java | 82 int argb = bitmap.getPixel(x, y); in findDominantColorByHue() local 83 int alpha = 0xFF & (argb >> 24); in findDominantColorByHue() 89 int rgb = argb | 0xFF000000; in findDominantColorByHue()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextHelper.kt | 43 Color.argb(ambientShadowInfo.alpha, 0f, 0f, 0f) in applyShadows() 58 Color.argb(keyShadowInfo.alpha, 0f, 0f, 0f) in applyShadows()
|
D | DoubleShadowIconDrawable.kt | 86 PorterDuffColorFilter(Color.argb(alpha, 0f, 0f, 0f), PorterDuff.Mode.MULTIPLY), in createShadowRenderEffect()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | PointProvider.java | 27 float[] fromInt(@ColorInt int argb); in fromInt() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/monet/ |
D | ColorSchemeTest.java | 167 new ColorScheme(Color.argb(0, 0, 0, 0xf), false /* darkTheme */).toString(); in testToString() 168 new ColorScheme(Color.argb(0xff, 0xff, 0, 0), false /* darkTheme */).toString(); in testToString() 172 new ColorScheme(Color.argb(0, 0, 0, 0xf), true /* darkTheme */).toString(); in testToString()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DropZoneView.java | 109 mHighlightColor = Color.argb(HIGHLIGHT_ALPHA, Color.red(c), Color.green(c), Color.blue(c)); in DropZoneView() 110 mSplashScreenColor = Color.argb(SPLASHSCREEN_ALPHA, 0, 0, 0); in DropZoneView() 167 mSplashScreenColor = Color.argb(SPLASHSCREEN_ALPHA, c.red(), c.green(), c.blue()); in setAppInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | ColorUtil.kt | 25 Color.argb( in getColorWithAlpha()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | SwitchController.java | 186 public MetaData setIconBackgoundArgb(int argb) { in setIconBackgoundArgb() argument 187 mIconBackgroundArgb = argb; in setIconBackgoundArgb()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 1042 int argb = in pack() local 1047 return (argb & 0xffffffffL) << 32; in pack() 1318 public static int argb( in argb() method in Color 1337 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/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherScrim.java | 102 new int[] { Color.argb( in updatePaint()
|
/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/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 55 return Color.argb( in interpolateColors()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | DismissView.kt | 140 val gradientColorWithAlpha = Color.argb(alpha.toInt(), in createGradient()
|
/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() 661 return Color.argb(a, r, g, b); in compositeColors()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 62 return Color.argb(a, r, g, b); in compositeColors() 626 return Color.argb((int) a, (int) r, (int) g, (int) b); in blendARGB()
|
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerPerfTest.java | 76 BufferFlinger bufferTracker = createBufferTracker(Color.argb(getRandomColorComponent(), in setup()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | BackgroundWindowManager.java | 218 return android.graphics.Color.argb(Color.alpha(origThemeColor), in getThemeColorForBackground()
|
/frameworks/base/core/java/android/widget/ |
D | TextViewTranslationCallback.java | 352 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in colorWithAlpha()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 156 mCurrentRootView.setBackgroundColor(Color.argb(params.dimAmount, 0, 0, 0)); in addView()
|