/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() 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/ |
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/packages/SystemUI/src/com/android/systemui/media/ |
D | SmartspaceMediaData.kt | 50 val backgroundColor: Int constant in com.android.systemui.media.SmartspaceMediaData
|
D | IlluminationDrawable.kt | 67 private var backgroundColor = Color.TRANSPARENT variable in com.android.systemui.media.IlluminationDrawable
|
D | MediaData.kt | 28 val backgroundColor: Int, constant in com.android.systemui.media.MediaData
|
/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/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/native/libs/renderengine/tests/ |
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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsFlatLayout.java | 53 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
D | GlobalActionsLayoutLite.java | 56 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
D | GlobalActionsLayout.java | 65 protected HardwareBgDrawable getBackgroundDrawable(int backgroundColor) { in getBackgroundDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenIconDrawableFactory.java | 57 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/ |
D | NotificationViewWrapper.java | 113 int backgroundColor = getBackgroundColor(mView); in onReinflated() local 173 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion() local
|
/frameworks/av/media/libstagefright/renderfright/tests/ |
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
|
/frameworks/base/core/java/android/window/ |
D | SplashScreenView.java | 197 public Builder setBackgroundColor(@ColorInt int backgroundColor) { in setBackgroundColor() 599 int backgroundColor) { in applySystemBarsContrastColor()
|
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/ |
D | BannerMessagePreference.java | 159 @ColorInt final int backgroundColor = in onBindViewHolder() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 468 public void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 89 float backgroundColor[3]; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 691 int backgroundColor = getBackgroundColorWithoutTint(); local
|
/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 | 271 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotSurface() local
|