Home
last modified time | relevance | path

Searched defs:backgroundColor (Results 1 – 25 of 38) 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()
603 public static double calculateLuminance(int backgroundColor) { in calculateLuminance()
608 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast()
612 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/packages/SystemUI/src/com/android/systemui/media/
DSmartspaceMediaData.kt50 val backgroundColor: Int constant in com.android.systemui.media.SmartspaceMediaData
DIlluminationDrawable.kt67 private var backgroundColor = Color.TRANSPARENT variable in com.android.systemui.media.IlluminationDrawable
DMediaData.kt28 val backgroundColor: Int, constant in com.android.systemui.media.MediaData
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java127 ColorStateList backgroundColor = in init() local
289 int backgroundColor = 0; in updateBackground() local
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp339 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsFlatLayout.java53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
DGlobalActionsLayoutLite.java56 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
DGlobalActionsLayout.java65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java57 static Drawable[] makeIconDrawable(@ColorInt int backgroundColor, @ColorInt int themeColor, in makeIconDrawable()
165 public MaskBackgroundDrawable(@ColorInt int backgroundColor) { in MaskBackgroundDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java113 int backgroundColor = getBackgroundColor(mView); in onReinflated() local
173 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp950 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/java/android/window/
DSplashScreenView.java197 public Builder setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor()
599 int backgroundColor) { in applySystemBarsContrastColor()
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java159 @ColorInt final int backgroundColor = in onBindViewHolder() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java468 public void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h89 float backgroundColor[3]; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java691 int backgroundColor = getBackgroundColorWithoutTint(); local
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java739 public int backgroundColor = 0; field in ExtendedBitmapDrawable.ExtendedOptions
/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.java271 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotSurface() local

12