/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast() 475 int backgroundColor) { in resolveContrastColor() 491 int backgroundColor, boolean isDark) { in resolveContrastColor() 525 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor() 537 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor() 549 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor() 594 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() 601 public static double calculateLuminance(int backgroundColor) { in calculateLuminance() 606 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() 610 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() [all …]
|
/frameworks/base/core/java/android/util/ |
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()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionRangeSpan.java | 71 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
|
/frameworks/base/core/java/android/view/accessibility/ |
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
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | VectorDrawablePerfTest.java | 78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleView.java | 240 private Drawable buildIconWithTint(Drawable iconDrawable, int backgroundColor) { in buildIconWithTint() 247 private Drawable checkTint(Drawable iconDrawable, int backgroundColor) { in checkTint()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifLayout.java | 127 ColorStateList backgroundColor = in init() local 289 int backgroundColor = 0; in updateBackground() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 95 int backgroundColor = getBackgroundColor(mView); in onReinflated() local 155 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageGradientColorizer.java | 35 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { in colorize()
|
D | MediaNotificationProcessor.java | 108 int backgroundColor = 0; in processNotification() local 155 private int selectForegroundColor(int backgroundColor, Palette palette) { in selectForegroundColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessorTest.java | 165 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { in colorize()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 140 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); in preloadPlan() local
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 109 int backgroundColor = 0xff585868; in testColorSatisfiedWhenBgDarkTextDarker() local
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 82 float backgroundColor[3]; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 450 private void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 822 public void setBackgroundTintColor(int backgroundColor) { in setBackgroundTintColor() 846 private static void setButtonColors(Button button, int backgroundColor, int strokeColor, in setButtonColors()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 739 public int backgroundColor = 0; field in ExtendedBitmapDrawable.ExtendedOptions
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 297 public void setColors(int fillColor, int backgroundColor) { in setColors()
|
D | ThemedBatteryDrawable.kt | 81 private var backgroundColor: Int = Color.MAGENTA in <lambda>() variable
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotSurface.java | 247 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotSurface() local
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() local 918 public final CaptionColor backgroundColor; field in Cea708CCParser.CaptionPenColor 921 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, in CaptionPenColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 434 int backgroundColor) { in getContrastedColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 683 int getContrastedStaticDrawableColor(int backgroundColor) { in getContrastedStaticDrawableColor()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 1304 public Background(int backgroundColor) { in Background()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1160 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
|