Home
last modified time | relevance | path

Searched defs:backgroundColor (Results 1 – 25 of 55) sorted by relevance

123

/aosp14/frameworks/base/core/java/android/view/
H A DTaskTransitionSpec.java34 public final int backgroundColor; field in TaskTransitionSpec
36 public TaskTransitionSpec(int backgroundColor) { in TaskTransitionSpec()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java424 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
564 int backgroundColor) { in resolveContrastColor()
580 int backgroundColor, boolean isDark) { in resolveContrastColor()
614 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor()
626 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor()
638 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor()
683 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark()
692 public static double calculateLuminance(int backgroundColor) { in calculateLuminance()
697 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast()
701 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast()
[all …]
/aosp14/frameworks/base/core/java/android/util/
H A DLauncherIcons.java103 public Drawable getBadgeDrawable(Drawable badgeForeground, int backgroundColor) { in getBadgeDrawable()
108 Drawable base, Drawable badgeForeground, int backgroundColor) { in getBadgedDrawable()
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/
H A DEdgeToEdgeActivitContent.kt54 val backgroundColor = MaterialTheme.colorScheme.background regex
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
H A DEntryHighlight.kt45 val backgroundColor by animateColorAsState( regex
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DVectorDrawablePerfTest.java78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
/aosp14/frameworks/base/core/java/android/text/style/
H A DSuggestionRangeSpan.java81 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java422 public final int backgroundColor; field in CaptioningManager.CaptionStyle
460 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle()
584 final int backgroundColor = Secure.getInt( in getCustomStyle() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsFlatLayout.java53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
H A DGlobalActionsLayoutLite.java48 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
H A DGlobalActionsLayout.java65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenIconDrawableFactory.java63 static Drawable[] makeIconDrawable(@ColorInt int backgroundColor, @ColorInt int themeColor, in makeIconDrawable()
176 public MaskBackgroundDrawable(@ColorInt int backgroundColor) { in MaskBackgroundDrawable()
H A DTaskSnapshotWindow.java166 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotWindow() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationViewWrapper.java112 int backgroundColor = getBackgroundColor(mView); in onReinflated() local
172 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusOverlayHoverListener.kt114 val backgroundColor regex
H A DLetterboxAppearanceCalculator.kt173 val backgroundColor = outerLetterboxBackgroundColor() regex
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
H A DActivityEmbeddingAnimationRunner.java342 final int backgroundColor = getTransitionBackgroundColorIfSet(info, adapter.mChange, in addBackgroundColorIfNeeded() local
346 addBackgroundToTransition(info.getRootLeash(), backgroundColor, startTransaction, in addBackgroundColorIfNeeded() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DIlluminationDrawable.kt65 private var backgroundColor = Color.TRANSPARENT regex
/aosp14/frameworks/base/core/java/android/window/
H A DTransitionInfo.java749 public void setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor()
1034 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition()
1049 int exitResId, @ColorInt int backgroundColor, boolean overrideTaskTransition) { in makeCustomAnimOptions()
1217 int enterResId, int exitResId, int backgroundColor) { in addCustomActivityTransition()
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
H A DBouncerScene.kt108 val backgroundColor = MaterialTheme.colorScheme.surface regex
H A DPinBouncer.kt199 val backgroundColor = regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DLockIconView.java90 int backgroundColor = Utils.getColorAttrDefaultColor(getContext(), in updateColorAndBackgroundVisibility() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsKeyguardViewLegacy.java193 final int backgroundColor = Utils.getColorAttrDefaultColor(getContext(), in updateColor() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
H A DKeyboardBacklightDialog.kt85 var backgroundColor = getColorFromStyle(com.android.internal.R.attr.materialColorSurfaceBright) regex
/aosp14/frameworks/base/core/java/android/app/
H A DIActivityClientController.aidl126 int backgroundColor); in overrideActivityTransition()
136 int enterAnim, int exitAnim, int backgroundColor); in overridePendingTransition()

123