| /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/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/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/packages/SystemUI/src/com/android/systemui/media/ |
| D | IlluminationDrawable.kt | 58 private var backgroundColor = Color.TRANSPARENT variable
|
| D | MediaData.kt | 28 val backgroundColor: Int, constant in com.android.systemui.media.MediaData
|
| /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/ |
| 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 161 public static int selectForegroundColor(int backgroundColor, Palette palette) { in selectForegroundColor()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
| D | GlobalActionsFlatLayout.java | 53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
| D | GlobalActionsLayout.java | 65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
| D | NotificationViewWrapper.java | 111 int backgroundColor = getBackgroundColor(mView); in onReinflated() local 171 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
|
| /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/native/libs/renderengine/tests/ |
| D | RenderEngineTest.cpp | 948 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
|
| /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 | 87 float backgroundColor[3]; member
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/ |
| D | BatteryMeterView.java | 494 private void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors()
|
| /frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
| D | ExtendedBitmapDrawable.java | 739 public int backgroundColor = 0; field in ExtendedBitmapDrawable.ExtendedOptions
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
| D | SmartReplyView.java | 827 public void setBackgroundTintColor(int backgroundColor) { in setBackgroundTintColor() 851 private static void setButtonColors(Button button, int backgroundColor, int strokeColor, in setButtonColors()
|
| /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 | 295 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 | 489 int backgroundColor) { in getContrastedColor()
|