/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_paint_method.cpp | 55 …BarPaintMethod::PaintGradient(RSCanvas& canvas, const RectF& barRect, const Color& backgroundColor, in PaintGradient() 90 …aintMethod::PaintLeftGradient(RSCanvas& canvas, const RectF& barRect, const Color& backgroundColor, in PaintLeftGradient() 104 …intMethod::PaintRightGradient(RSCanvas& canvas, const RectF& barRect, const Color& backgroundColor, in PaintRightGradient() 119 …PaintMethod::PaintTopGradient(RSCanvas& canvas, const RectF& barRect, const Color& backgroundColor, in PaintTopGradient() 133 …ntMethod::PaintBottomGradient(RSCanvas& canvas, const RectF& barRect, const Color& backgroundColor, in PaintBottomGradient() 148 …thod::PaintGradientRect(RSCanvas& canvas, const RSRect& gradientRect, const Color& backgroundColor, in PaintGradientRect()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | TaskTransitionSpec.java | 37 public final int backgroundColor; field in TaskTransitionSpec 52 int backgroundColor, Set<Integer> animationBoundInsets) { in TaskTransitionSpec()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | NotificationUtils.java | 148 @ColorInt int notificationColor, @ColorInt int backgroundColor) { in resolveContrastColor() 155 public static boolean isColorLight(int backgroundColor) { in isColorLight() 198 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstLightBackground() 233 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstDarkBackground() 266 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in getContrastedForegroundColor()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_capsule_test.cpp | 56 std::string backgroundColor = "testBackgroundColor"; variable 72 std::string backgroundColor = "testBackgroundColor"; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | toggle_button_model_ng.cpp | 51 void ToggleButtonModelNG::SetBackgroundColor(const Color& backgroundColor, bool flag) in SetBackgroundColor() 74 void ToggleButtonModelNG::SetBackgroundColor(FrameNode* frameNode, const Color& backgroundColor) in SetBackgroundColor()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast() 476 int backgroundColor) { in resolveContrastColor() 492 int backgroundColor, boolean isDark) { in resolveContrastColor() 526 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor() 538 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor() 550 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor() 595 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark() 604 public static double calculateLuminance(int backgroundColor) { in calculateLuminance() 609 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() 613 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-qrcode.md | 55 ### backgroundColor subsection
|
H A D | ohos-arkui-advanced-ToolBar.md | 77 ### backgroundColor subsection
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-qrcode.md | 55 ### backgroundColor subsection
|
H A D | ohos-arkui-advanced-ToolBar.md | 77 ### backgroundColor subsection
|
H A D | ts-universal-attributes-background.md | 30 ## backgroundColor section
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_transition_demo.cpp | 91 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() 162 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() 215 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() 270 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() 324 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListPinnedHeaderView.java | 42 int backgroundColor = a.getColor( in ContactListPinnedHeaderView() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_paint_method.cpp | 47 auto backgroundColor = paintProperty->GetBackgroundColorValue(); in UpdateContentModifier() local
|
H A D | arkui_qrcode.js | 26 static backgroundColor(value) { method in QRCode
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | modal_style.h | 32 std::optional<Color> backgroundColor; member
|
/ohos5.0/foundation/barrierfree/accessibility/services/aams/ |
H A D | accessibility_config.json | 20 "backgroundColor": "white", string
|
/aosp12/frameworks/base/core/java/android/util/ |
H A 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/qrcode/ |
H A D | qrcode_declaration.h | 30 Color backgroundColor; member 107 void SetBackgroundColor(const Color& backgroundColor) in SetBackgroundColor()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_alert_dialog_ffi.cpp | 101 Color backgroundColor = Color(ColorAlphaAdapt(alertDialog.backgroundColor)); in ParseAlertDialogConfirm() local 144 Color backgroundColor = Color(ColorAlphaAdapt(*objInner.backgroundColor)); in ParseButtonObj() local
|
H A D | cj_alert_dialog_ffi.h | 42 uint32_t* backgroundColor; member 58 uint32_t backgroundColor; member
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_time_picker.cpp | 282 ColorType backgroundColor, in SetTextStyle() 302 void UITimePicker::SetTextColor(ColorType backgroundColor, ColorType highlightColor) in SetTextColor()
|
/aosp12/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionRangeSpan.java | 71 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | VectorDrawablePerfTest.java | 78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_picker_unit_test.cpp | 110 ColorType backgroundColor; variable
|