/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | NotificationUtils.java | 148 @ColorInt int notificationColor, @ColorInt int backgroundColor) { in resolveContrastColor() 155 public static boolean isColorLight(int backgroundColor) { in isColorLight() 198 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstLightBackground() 233 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstDarkBackground() 266 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in getContrastedForegroundColor()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | TaskTransitionSpec.java | 37 public final int backgroundColor; field in TaskTransitionSpec 52 int backgroundColor, Set<Integer> animationBoundInsets) { in TaskTransitionSpec()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast() 476 int backgroundColor) { in resolveContrastColor() 492 int backgroundColor, boolean isDark) { in resolveContrastColor() 526 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor() 538 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor() 550 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor() 595 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() 604 public static double calculateLuminance(int backgroundColor) { in calculateLuminance() 609 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() 613 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() [all …]
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListPinnedHeaderView.java | 42 int backgroundColor = a.getColor( in ContactListPinnedHeaderView() local
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | LauncherIcons.java | 101 public Drawable getBadgeDrawable(int foregroundRes, int backgroundColor) { in getBadgeDrawable() 105 public Drawable getBadgedDrawable(Drawable base, int foregroundRes, int backgroundColor) { in getBadgedDrawable()
|
/aosp12/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionRangeSpan.java | 71 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
|
/aosp12/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 318 public final int backgroundColor; field in CaptioningManager.CaptionStyle 356 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle() 480 final int backgroundColor = Secure.getInt( in getCustomStyle() local
|
/aosp12/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
|
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifLayout.java | 127 ColorStateList backgroundColor = in init() local 289 int backgroundColor = 0; in updateBackground() local
|
/aosp12/frameworks/native/libs/renderengine/tests/ |
H A D | RenderEngineTest.cpp | 339 const ubyte4& backgroundColor) { in expectShadowColor() 378 const ubyte4& backgroundColor) { in expectShadowColorWithoutCaster() 1223 const ubyte4& casterColor, const ubyte4& backgroundColor) { in drawShadow() 1260 const ubyte4& backgroundColor) { in drawShadowWithoutCaster() 1310 const ubyte4 backgroundColor(255.f, 255.f, 255.f, 255.f); in TEST_P() local 1658 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_P() local 1674 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_P() local 1693 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_P() local 1713 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_P() local 1734 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_P() local [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | ViewPagerTabStrip.java | 49 int backgroundColor = res.getColor(R.color.action_bar_background_color); in ViewPagerTabStrip() local
|
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ViewPagerTabStrip.java | 47 int backgroundColor = ThemeComponent.get(context).theme().getColorPrimary(); in ViewPagerTabStrip() local
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | EmojiCategoryPageIndicatorView.java | 41 public void setColors(final int foregroundColor, final int backgroundColor) { in setColors()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsFlatLayout.java | 53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
H A D | GlobalActionsLayoutLite.java | 56 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
H A D | GlobalActionsLayout.java | 65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
H A D | SplashscreenIconDrawableFactory.java | 61 static Drawable[] makeIconDrawable(@ColorInt int backgroundColor, @ColorInt int themeColor, in makeIconDrawable() 169 public MaskBackgroundDrawable(@ColorInt int backgroundColor) { in MaskBackgroundDrawable()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | SimSelectorAvatarRequest.java | 74 final int backgroundColor = selected ? subColor : Color.WHITE; in renderSimAvatarInternal() local
|
H A D | ImageRequest.java | 226 final int backgroundColor = mDescriptor.circleBackgroundColor; in postProcessOnBitmapResourceLoaded() local
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | BaseContentFragment.java | 54 int backgroundColor) { in buildArgs() 60 int backgroundColor) { in buildArgs()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A D | NotificationViewWrapper.java | 114 int backgroundColor = getBackgroundColor(mView); in onReinflated() local 174 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | IlluminationDrawable.kt | 67 private var backgroundColor = Color.TRANSPARENT regex
|
/aosp12/frameworks/av/media/libstagefright/renderfright/tests/ |
H A D | RenderEngineTest.cpp | 950 const ubyte4& casterColor, const ubyte4& backgroundColor) { in drawShadow() 1310 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local 1327 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local 1344 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local 1362 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local 1382 const ubyte4 backgroundColor(255, 255, 255, 255); in TEST_F() local
|
/aosp12/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/ |
H A D | ColorScheme.kt | 70 val backgroundColor regex
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | SplashScreenView.java | 204 public Builder setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor() 646 int backgroundColor) { in applySystemBarsContrastColor()
|