/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 | 92 bitmap.setPixel(i, j, Color.argb(1, luma, luma, luma)); in createBitmap() 108 swBitmap.setPixel(i, 0, Color.argb(1, luma, luma, luma)); in setBorderLuma() 109 swBitmap.setPixel(i, height - 1, Color.argb(1, luma, luma, luma)); in setBorderLuma() 112 swBitmap.setPixel(0, i, Color.argb(1, luma, luma, luma)); in setBorderLuma() 113 swBitmap.setPixel(width - 1, i, Color.argb(1, luma, luma, luma)); in setBorderLuma()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | KeyboardBacklightControllerTests.kt | 249 Color.argb(DEFAULT_BRIGHTNESS_VALUE_FOR_LEVEL[level], 0, 0, 0), in createKeyboard() 287 Color.argb(MAX_BRIGHTNESS, 0, 0, 0), in createKeyboard() 368 Color.argb(MAX_BRIGHTNESS, 0, 0, 0), in createKeyboard() 404 Color.argb(MAX_BRIGHTNESS, 0, 0, 0), in createKeyboard() 651 Color.argb(1, 0, 0, 0), in createKeyboard() 659 Color.argb(DEFAULT_BRIGHTNESS_VALUE_FOR_LEVEL[1], 0, 0, 0), in createKeyboard() 680 Color.argb(254, 0, 0, 0), in createKeyboard() 689 Color.argb(DEFAULT_BRIGHTNESS_VALUE_FOR_LEVEL[numLevels - 2], 0, 0, 0), in createKeyboard() 710 Color.argb(DEFAULT_BRIGHTNESS_VALUE_FOR_LEVEL[1], 0, 0, 0), in createKeyboard() 717 Color.argb(100, 0, 0, 0), in createKeyboard() [all …]
|
/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 | 87 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/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 | 26 Color.argb( in getColorWithAlpha()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | EntryController.java | 166 public MetaData setIconBackgoundArgb(int argb) { in setIconBackgoundArgb() argument 167 mIconBackgroundArgb = argb; in setIconBackgoundArgb()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/common/ |
D | ThemeUtils.kt | 41 Color.argb( in isLight()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 1045 int argb = in pack() local 1050 return (argb & 0xffffffffL) << 32; in pack() 1321 public static int argb( in argb() method in Color 1340 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 | 176 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 | 372 return Color.argb(Color.alpha(color), in processColor() 438 fg = Color.argb(alpha, r, g, b); in findAlphaToMeetContrast() 445 return Color.argb(high, r, g, b); in findAlphaToMeetContrast() 749 return Color.argb(a, r, g, b); in compositeColors()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | DismissView.kt | 198 val gradientColorWithAlpha = Color.argb(alpha.toInt(), in createGradient()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/ |
D | AppHeaderViewHolder.kt | 358 return Color.argb( in replaceColorAlpha() 476 Color.argb( in getAppNameAndButtonColor()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | BackgroundWindowManager.java | 219 return android.graphics.Color.argb(Color.alpha(origThemeColor), in getThemeColorForBackground()
|
/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/core/java/android/widget/ |
D | TextViewTranslationCallback.java | 352 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in colorWithAlpha()
|