/aosp14/frameworks/base/core/java/android/view/ |
H A D | TaskTransitionSpec.java | 34 public final int backgroundColor; field in TaskTransitionSpec 36 public TaskTransitionSpec(int backgroundColor) { in TaskTransitionSpec() argument 37 this.backgroundColor = backgroundColor; in TaskTransitionSpec() 41 this.backgroundColor = in.readInt(); in TaskTransitionSpec() 51 dest.writeInt(backgroundColor); in writeToParcel()
|
H A D | RemoteAnimationTarget.java | 243 public @ColorInt int backgroundColor; field in RemoteAnimationTarget 321 backgroundColor = in.readInt(); in RemoteAnimationTarget() 373 dest.writeInt(backgroundColor); in writeToParcel() 397 pw.print(prefix); pw.print("backgroundColor="); pw.println(backgroundColor); in dump()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A D | NotificationViewWrapper.java | 112 int backgroundColor = getBackgroundColor(mView); in onReinflated() local 113 if (backgroundColor != Color.TRANSPARENT) { in onReinflated() 114 mBackgroundColor = backgroundColor; in onReinflated() 172 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local 173 if (Color.alpha(backgroundColor) != 255) { in childrenNeedInversion() 174 backgroundColor = ContrastColorUtil.compositeColors(backgroundColor, parentBackground); in childrenNeedInversion() 175 backgroundColor = ColorUtils.setAlphaComponent(backgroundColor, 255); in childrenNeedInversion() 181 if (ColorUtils.calculateContrast(foreground, backgroundColor) < 3) { in childrenNeedInversion() 185 if (childrenNeedInversion(backgroundColor, (ViewGroup) child)) { in childrenNeedInversion()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 426 int bg = backgroundColor; in findAlphaToMeetContrast() 564 int backgroundColor) { in resolveContrastColor() argument 566 backgroundColor, false /* isDark */); in resolveContrastColor() 580 int backgroundColor, boolean isDark) { in resolveContrastColor() argument 614 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor() argument 638 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor() argument 684 if (backgroundColor == Notification.COLOR_DEFAULT) { in shouldUseDark() 692 public static double calculateLuminance(int backgroundColor) { in calculateLuminance() argument 693 return ColorUtilsFromCompat.calculateLuminance(backgroundColor); in calculateLuminance() 712 public static boolean isColorLight(int backgroundColor) { in isColorLight() argument [all …]
|
/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 422 public final int backgroundColor; field in CaptioningManager.CaptionStyle 460 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle() argument 463 mHasBackgroundColor = hasColor(backgroundColor); in CaptionStyle() 471 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK; in CaptionStyle() 506 overlay.backgroundColor : backgroundColor; in applyStyle() 584 final int backgroundColor = Secure.getInt( in getCustomStyle() local 585 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); in getCustomStyle() 598 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor, in getCustomStyle()
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/ |
H A D | EdgeToEdgeActivitContent.kt | 54 val backgroundColor = MaterialTheme.colorScheme.background regex 55 Box(modifier.fillMaxSize().background(backgroundColor)) { 56 CompositionLocalProvider(LocalContentColor provides contentColorFor(backgroundColor)) {
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
H A D | SplashscreenIconDrawableFactory.java | 63 static Drawable[] makeIconDrawable(@ColorInt int backgroundColor, @ColorInt int themeColor, in makeIconDrawable() argument 69 backgroundColor != Color.TRANSPARENT && backgroundColor != themeColor; in makeIconDrawable() 87 background = new MaskBackgroundDrawable(backgroundColor); in makeIconDrawable() 176 public MaskBackgroundDrawable(@ColorInt int backgroundColor) { in MaskBackgroundDrawable() argument 182 if (backgroundColor != Color.TRANSPARENT) { in MaskBackgroundDrawable() 185 mBackgroundPaint.setColor(backgroundColor); in MaskBackgroundDrawable()
|
H A D | TaskSnapshotWindow.java | 166 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotWindow() local 167 mBackgroundPaint.setColor(backgroundColor != 0 ? backgroundColor : WHITE); in TaskSnapshotWindow()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | LauncherIcons.java | 103 public Drawable getBadgeDrawable(Drawable badgeForeground, int backgroundColor) { in getBadgeDrawable() argument 104 return getBadgedDrawable(null, badgeForeground, backgroundColor); in getBadgeDrawable() 108 Drawable base, Drawable badgeForeground, int backgroundColor) { in getBadgedDrawable() argument 120 badgeForeground.setTint(backgroundColor); in getBadgedDrawable()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
H A D | IlluminationDrawable.kt | 65 private var backgroundColor = Color.TRANSPARENT regex 167 ColorUtils.colorToHSL(backgroundColor, tmpHsl) 191 paint.color = blendARGB(initialBackground, backgroundColor, progress) 209 backgroundColor = tint!!.defaultColor
|
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
H A D | PinBouncer.kt | 163 backgroundColor = MaterialTheme.colorScheme.surfaceVariant, 199 val backgroundColor = regex 209 backgroundColor = backgroundColor, 230 backgroundColor: Color, 268 else -> backgroundColor
|
/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionRangeSpan.java | 81 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor() argument 82 mBackgroundColor = backgroundColor; in setBackgroundColor()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
H A D | EntryHighlight.kt | 45 val backgroundColor by animateColorAsState( regex 56 Box(modifier = Modifier.background(color = backgroundColor)) {
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | VectorDrawablePerfTest.java | 78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local 81 assertTrue("The background should be white", backgroundColor == Color.WHITE); in testBitmapDrawPerf()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LetterboxAppearanceCalculator.kt | 173 val backgroundColor = outerLetterboxBackgroundColor() regex 176 lightBarController.darkAppearanceIconColor, backgroundColor) 179 lightBarController.lightAppearanceIconColor, backgroundColor)
|
H A D | StatusOverlayHoverListener.kt | 114 val backgroundColor regex 139 PaintDrawable(backgroundColor).apply {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsLayout.java | 65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable() argument 67 background.setTint(backgroundColor); in getBackgroundDrawable()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/ |
H A D | FooterActionsViewModel.kt | 153 backgroundColor = R.attr.shadeInactive, 171 backgroundColor = R.attr.shadeActive, 271 backgroundColor = R.attr.shadeInactive,
|
H A D | FooterActionsButtonViewModel.kt | 32 @AttrRes val backgroundColor: Int,
|
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/ |
H A D | FooterActions.kt | 124 val backgroundColor = colorAttr(R.attr.underSurface) regex 129 backgroundColor, 134 backgroundColor, 241 color = colorAttr(model.backgroundColor),
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
H A D | PrivacyDialogV2.kt | 164 val backgroundColor = getBackgroundColor(element.isActive) regex 170 background.setTint(backgroundColor) 180 firstBackground.setTint(backgroundColor) 181 middleBackground.setTint(backgroundColor) 182 lastBackground.setTint(backgroundColor)
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | TransitionInfo.java | 749 public void setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor() argument 750 mBackgroundColor = backgroundColor; in setBackgroundColor() 1034 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition() argument 1045 customTransition.addCustomActivityTransition(enterResId, exitResId, backgroundColor); in addCustomActivityTransition() 1049 int exitResId, @ColorInt int backgroundColor, boolean overrideTaskTransition) { in makeCustomAnimOptions() argument 1054 options.mBackgroundColor = backgroundColor; in makeCustomAnimOptions() 1217 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition() argument 1220 mCustomBackgroundColor = backgroundColor; in addCustomActivityTransition()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ActivityClient.java | 498 int backgroundColor) { in overrideActivityTransition() argument 501 token, open, enterAnim, exitAnim, backgroundColor); in overrideActivityTransition() 516 int backgroundColor) { in overridePendingTransition() argument 519 enterAnim, exitAnim, backgroundColor); in overridePendingTransition()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyView.java | 721 public void setBackgroundTintColor(int backgroundColor, boolean colorized) { in setBackgroundTintColor() argument 722 if (backgroundColor == mCurrentBackgroundColor && colorized == mCurrentColorized) { in setBackgroundTintColor() 726 mCurrentBackgroundColor = backgroundColor; in setBackgroundTintColor() 729 final boolean dark = ContrastColorUtil.isColorDark(backgroundColor); in setBackgroundTintColor() 733 backgroundColor | 0xff000000, dark); in setBackgroundTintColor() 735 mDefaultStrokeColor, backgroundColor | 0xff000000, dark, mMinStrokeContrast); in setBackgroundTintColor()
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/ |
H A D | TurbulenceNoiseAnimationConfig.kt | 50 val backgroundColor: Int = DEFAULT_BACKGROUND_COLOR,
|