Home
last modified time | relevance | path

Searched refs:setAlphaComponent (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DBoundsInfoDrawHelper.java41 ColorUtils.setAlphaComponent(Color.DKGRAY, 128);
43 ColorUtils.setAlphaComponent(Color.BLUE, 128);
45 ColorUtils.setAlphaComponent(Color.MAGENTA, 128);
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt139 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>()
178 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>()
294 rippleShader.color = ColorUtils.setAlphaComponent( in <lambda>()
310 dwellShader.color = ColorUtils.setAlphaComponent( in <lambda>()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java127 background = setAlphaComponent(background, 255); in calculateMinimumBackgroundAlpha()
128 final int leastContrastyColor = setAlphaComponent(foreground, 255); in calculateMinimumBackgroundAlpha()
133 testBackground = setAlphaComponent(testBackground, 255); in calculateMinimumBackgroundAlpha()
156 int testForeground = setAlphaComponent(fg, alpha); in calculateMinimumAlpha()
166 foreground = setAlphaComponent(foreground, 255); in calculateMinimumAlpha()
373 public static int setAlphaComponent(@ColorInt int color, in setAlphaComponent() method
/frameworks/base/tests/Internal/src/com/android/internal/graphics/
DColorUtilsTest.java37 worstCase = ColorUtils.setAlphaComponent(worstCase, 255); in calculateMinimumBackgroundAlpha_satisfiestContrast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/
DSquigglyProgress.kt255 wavePaint.color = ColorUtils.setAlphaComponent(tintColor, alpha) in <lambda>()
257 ColorUtils.setAlphaComponent(tintColor, (DISABLED_ALPHA * (alpha / 255f)).toInt()) in <lambda>()
DLightSourceDrawable.kt128 ColorUtils.setAlphaComponent(highlightColor, (rippleData.alpha * 255).toInt()) in draw()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DPlaceHolderIconDrawable.java66 int newColor = ColorUtils.setAlphaComponent(placeholderColor, newAlpha); in animateIconUpdate()
DUserBadgeDrawable.java109 return ColorUtils.setAlphaComponent(color, alpha); in blendDrawableAlpha()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimation.kt73 color = ColorUtils.setAlphaComponent(config.color, config.opacity) in <lambda>()
DRippleView.kt213 rippleShader.color = ColorUtils.setAlphaComponent(color, alpha) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationTest.kt75 assertThat(color).isEqualTo(ColorUtils.setAlphaComponent(config.color, config.opacity)) in init_shaderHasCorrectConfig()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/drawable/
DSquigglyProgressTest.kt126 assertThat(linePaint.color).isEqualTo(ColorUtils.setAlphaComponent(tint, DISABLED_ALPHA)) in testTint()
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DColorScheme.java118 return ColorUtils.setAlphaComponent(mIsDark in getBackgroundColor()
124 return ColorUtils.setAlphaComponent(mIsDark in getAccentColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DDotIndicatorDecoration.java146 return ColorUtils.setAlphaComponent(color, transitionAlphaOverride); in getTransitionAdjustedColor()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DDynamicRenderResources.java190 int colorValue = ColorUtils.setAlphaComponent(value, 0xFF); in extractPalette()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DMagnifierView.java89 mShadePaint.setColor(ColorUtils.setAlphaComponent(scrimColor, alpha)); in MagnifierView()
DCropView.java102 mShadePaint.setColor(ColorUtils.setAlphaComponent(scrimColor, alpha)); in CropView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java180 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255); in childrenNeedInversion()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java678 int whiteScrim = ColorUtilsFromCompat.setAlphaComponent( in getMutedColor()
765 public static int setAlphaComponent(@ColorInt int color, in setAlphaComponent() method in ContrastColorUtil.ColorUtilsFromCompat
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java195 ColorUtils.setAlphaComponent(color, disabledAlpha), in colorStateListWithDisabledAlpha()
226 hintColor = ColorUtils.setAlphaComponent(foregroundColor, 0x99); in setBackgroundTintColor()
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java420 final int color = ColorUtils.setAlphaComponent( in drawAppThemeSnapshot()
DWindowContainer.java3318 animationRunnerBuilder.setTaskBackgroundColor(ColorUtils.setAlphaComponent( in applyAnimationUnchecked()
/frameworks/base/core/java/android/app/
DWallpaperColors.java564 int blackTransparent = ColorUtils.setAlphaComponent(Color.BLACK, dimmingLayerAlpha); in calculateDarkHints()
DNotification.java6978 return ColorUtils.setAlphaComponent(color, Math.round(alphaValue.getFloat() * 255)); in setAlphaComponentByFloatDimen()
13786 mOnTertiaryAccentTextColor = ColorUtils.setAlphaComponent( in resolvePalette()
13794 mOnTertiaryFixedAccentTextColor = ColorUtils.setAlphaComponent( in resolvePalette()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java629 int colorValue = ColorUtils.setAlphaComponent(value, 0xFF); in assignTonalPaletteToOverlay()

12