Home
last modified time | relevance | path

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

123456789

/aosp14/frameworks/base/core/java/android/view/
H A DTaskTransitionSpec.java34 public final int backgroundColor; field in TaskTransitionSpec
36 public TaskTransitionSpec(int backgroundColor) { in TaskTransitionSpec()
/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()
/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()
/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
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java424 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast()
564 int backgroundColor) { in resolveContrastColor()
580 int backgroundColor, boolean isDark) { in resolveContrastColor()
614 public static int resolvePrimaryColor(Context context, int backgroundColor, in resolvePrimaryColor()
626 public static int resolveSecondaryColor(Context context, int backgroundColor, in resolveSecondaryColor()
638 public static int resolveDefaultColor(Context context, int backgroundColor, in resolveDefaultColor()
683 private static boolean shouldUseDark(int backgroundColor, boolean defaultBackgroundIsDark) { in shouldUseDark()
692 public static double calculateLuminance(int backgroundColor) { in calculateLuminance()
697 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast()
701 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast()
[all …]
/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()
/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
/aosp14/frameworks/base/core/java/android/util/
H A DLauncherIcons.java103 public Drawable getBadgeDrawable(Drawable badgeForeground, int backgroundColor) { in getBadgeDrawable()
108 Drawable base, Drawable badgeForeground, 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()
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/activity/
H A DEdgeToEdgeActivitContent.kt54 val backgroundColor = MaterialTheme.colorScheme.background regex
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
H A DEntryHighlight.kt45 val backgroundColor by animateColorAsState( regex
/aosp14/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
/aosp14/frameworks/base/core/java/android/text/style/
H A DSuggestionRangeSpan.java81 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_picker_unit_test.cpp110 ColorType backgroundColor; variable

123456789