Home
last modified time | relevance | path

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

123456789

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_paint_method.cpp55 …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 DTaskTransitionSpec.java37 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 DNotificationUtils.java148 @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 Dnotification_capsule_test.cpp56 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 Dtoggle_button_model_ng.cpp51 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 DContrastColorUtil.java336 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 Dts-basic-components-qrcode.md55 ### backgroundColor subsection
H A Dohos-arkui-advanced-ToolBar.md77 ### backgroundColor subsection
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-qrcode.md55 ### backgroundColor subsection
H A Dohos-arkui-advanced-ToolBar.md77 ### backgroundColor subsection
H A Dts-universal-attributes-background.md30 ## backgroundColor section
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_transition_demo.cpp91 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 DContactListPinnedHeaderView.java42 int backgroundColor = a.getColor( in ContactListPinnedHeaderView() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_paint_method.cpp47 auto backgroundColor = paintProperty->GetBackgroundColorValue(); in UpdateContentModifier() local
H A Darkui_qrcode.js26 static backgroundColor(value) { method in QRCode
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dmodal_style.h32 std::optional<Color> backgroundColor; member
/ohos5.0/foundation/barrierfree/accessibility/services/aams/
H A Daccessibility_config.json20 "backgroundColor": "white", string
/aosp12/frameworks/base/core/java/android/util/
H A DLauncherIcons.java101 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 Dqrcode_declaration.h30 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 Dcj_alert_dialog_ffi.cpp101 Color backgroundColor = Color(ColorAlphaAdapt(alertDialog.backgroundColor)); in ParseAlertDialogConfirm() local
144 Color backgroundColor = Color(ColorAlphaAdapt(*objInner.backgroundColor)); in ParseButtonObj() local
H A Dcj_alert_dialog_ffi.h42 uint32_t* backgroundColor; member
58 uint32_t backgroundColor; member
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_time_picker.cpp282 ColorType backgroundColor, in SetTextStyle()
302 void UITimePicker::SetTextColor(ColorType backgroundColor, ColorType highlightColor) in SetTextColor()
/aosp12/frameworks/base/core/java/android/text/style/
H A DSuggestionRangeSpan.java71 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DVectorDrawablePerfTest.java78 int backgroundColor = bmp.getPixel(w / 4, h / 2); in testBitmapDrawPerf() local
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_picker_unit_test.cpp110 ColorType backgroundColor; variable

123456789