Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java336 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/
DLauncherIcons.java101 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/
DSuggestionRangeSpan.java71 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DVectorDrawablePerfTest.java78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java318 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/
DIlluminationDrawable.kt58 private var backgroundColor = Color.TRANSPARENT variable
DMediaData.kt28 val backgroundColor: Int, constant in com.android.systemui.media.MediaData
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java127 ColorStateList backgroundColor = in init() local
289 int backgroundColor = 0; in updateBackground() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java35 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { in colorize()
DMediaNotificationProcessor.java108 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/
DGlobalActionsFlatLayout.java53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
DGlobalActionsLayout.java65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java111 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/
DMediaNotificationProcessorTest.java165 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { in colorize()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp948 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/
DNotificationTest.java109 int backgroundColor = 0xff585868; in testColorSatisfiedWhenBgDarkTextDarker() local
/frameworks/base/cmds/bootanimation/
DBootAnimation.h87 float backgroundColor[3]; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java494 private void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java739 public int backgroundColor = 0; field in ExtendedBitmapDrawable.ExtendedOptions
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java827 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/
DBatteryMeterDrawableBase.java297 public void setColors(int fillColor, int backgroundColor) { in setColors()
DThemedBatteryDrawable.kt81 private var backgroundColor: Int = Color.MAGENTA in <lambda>() variable
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java295 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotSurface() local
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java507 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/
DNotificationEntry.java489 int backgroundColor) { in getContrastedColor()

12