/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_transition_demo.cpp | 64 if (!radius_ || !backgroundColor_ || !alpha_) { 78 p.setColor(backgroundColor_->Get().AsArgbInt()); 96 if (backgroundColor_ == nullptr) { in SetBackgroundColor() 97 backgroundColor_ = std::make_shared<RSAnimatableProperty<Color>>(backgroundColor); in SetBackgroundColor() 98 AttachProperty(backgroundColor_); in SetBackgroundColor() 100 backgroundColor_->Set(backgroundColor); in SetBackgroundColor() 132 std::shared_ptr<RSAnimatableProperty<Color>> backgroundColor_; member in TransitionModifier1 150 p.setColor(backgroundColor_.AsArgbInt()); 167 backgroundColor_ = backgroundColor; in SetBackgroundColor() 184 Color backgroundColor_ member in TransitionModifier2 237 Color backgroundColor_ = Color(COLOR_VALUE_MAX, 0, 0); global() member in TransitionModifier3 292 Color backgroundColor_ = Color(COLOR_VALUE_MAX, 0, 0); global() member in TransitionModifier4 346 Color backgroundColor_ = Color(COLOR_VALUE_MAX, 0, 0); global() member in TransitionModifier5 [all...] |
H A D | render_service_client_modifier_demo.cpp | 176 if (!alpha_ || !width_ || !height_ || !backgroundColor_) { 186 brush.SetColor(backgroundColor_->Get().AsArgbInt()); 195 std::cout << "Draw Get backgroundColor_ " << std::hex << backgroundColor_->Get().AsArgbInt() << std::endl; 230 if (backgroundColor_ == nullptr) { in SetBackgroundColor() 231 backgroundColor_ = std::make_shared<RSAnimatableProperty<Color>>(color); in SetBackgroundColor() 232 AttachProperty(backgroundColor_); in SetBackgroundColor() 234 backgroundColor_->Set(color); in SetBackgroundColor() 242 std::shared_ptr<RSAnimatableProperty<Color>> backgroundColor_; member in CustomModifier
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | card_theme.h | 55 theme->backgroundColor_ = pattern->GetAttr<Color>("card_bg_color", Color(0xff202224)); in ParsePattern() 64 return backgroundColor_; in GetBackgroundColor() 82 Color backgroundColor_; member in OHOS::Ace::CardTheme
|
H A D | app_theme.h | 47 return backgroundColor_; in GetBackgroundColor() 52 backgroundColor_ = color; in SetBackgroundColor() 139 Color backgroundColor_; member in OHOS::Ace::AppTheme
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_paint_method.h | 44 backgroundColor_ = color; in SetBackgroundColor() 49 Color backgroundColor_ = Color::WHITE; member in OHOS::Ace::NG::TimePickerPaintMethod
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_modifier.cpp | 24 backgroundColor_(AceType::MakeRefPtr<PropertyColor>(Color::WHITE)) in QRCodeModifier() 31 AttachProperty(backgroundColor_); in QRCodeModifier() 42 auto backgroundColor = backgroundColor_->Get(); in onDraw() 155 if (backgroundColor_) { in SetQRCodeBackgroundColor() 156 backgroundColor_->Set(bgColor); in SetQRCodeBackgroundColor()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_theme.h | 56 theme->backgroundColor_ = pattern->GetAttr<Color>("background_color", Color(0x00FFFFFF)); in ParsePattern() 77 return backgroundColor_; in GetBackgroundColor() 120 Color backgroundColor_; member in OHOS::Ace::ListTheme
|
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/ |
H A D | qrcode_theme.h | 61 theme->backgroundColor_ = QRCODE_DEFAULT_BACKGROUND_COLOR; in ParsePattern() 86 return backgroundColor_; in GetBackgroundColor() 114 Color backgroundColor_; member in OHOS::Ace::QrcodeTheme
|
H A D | render_qrcode.h | 46 return backgroundColor_; in GetBackgroundColor() 52 Color backgroundColor_ = Color::WHITE; member in OHOS::Ace::RenderQrcode
|
/foundation/arkui/ace_engine/frameworks/core/components/toggle/ |
H A D | toggle_component.h | 54 return backgroundColor_; in GetBackgroundColor() 99 backgroundColor_ = color; in SetBackgroundColor() 141 Color backgroundColor_; member in OHOS::Ace::ToggleComponent
|
H A D | toggle_theme.h | 67 theme->backgroundColor_ = togglePattern->GetAttr<Color>(PATTERN_BG_COLOR, Color()); in ParsePattern() 85 return backgroundColor_; in GetBackgroundColor() 152 Color backgroundColor_; member in OHOS::Ace::ToggleTheme
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_paint_method.h | 50 backgroundColor_ = color;
in SetBackgroundColor() 55 Color backgroundColor_ = Color::WHITE;
member in OHOS::Ace::NG::DatePickerPaintMethod
|
/foundation/barrierfree/accessibility/frameworks/common/src/ |
H A D | accessibility_caption.cpp | 29 return backgroundColor_; in GetBackgroundColor() 34 backgroundColor_ = color; in SetBackgroundColor()
|
/foundation/arkui/ace_engine/frameworks/core/components/refresh/ |
H A D | refresh_component.h | 146 return backgroundColor_; in GetBackgroundColor() 151 backgroundColor_ = backgroundColor; in SetBackgroundColor() 284 Color backgroundColor_ = Color::BLACK; member in OHOS::Ace::RefreshComponent 287 Color backgroundColor_ = Color::WHITE; member in OHOS::Ace::RefreshComponent
|
H A D | refresh_theme.h | 60 theme->backgroundColor_ = pattern->GetAttr<Color>("progress_bg_color", Color::WHITE); in ParsePattern() 116 return backgroundColor_; in GetBackgroundColor() 131 Color backgroundColor_; member in OHOS::Ace::RefreshTheme
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_qrcode.cpp | 24 : width_(0), needDraw_(false), backgroundColor_(Color::White()), qrColor_(Color::Black()), qrcodeVal_(nullptr) in UIQrcode() 54 backgroundColor_ = backgroundColor; in SetQrcodeInfo() 180 *(initColorData + 0) = backgroundColor_.blue; // 0: B channel in FillQrCodeBackgroundColor() 181 *(initColorData + 1) = backgroundColor_.green; // 1: G channel in FillQrCodeBackgroundColor() 182 *(initColorData + 2) = backgroundColor_.red; // 2: R channel in FillQrCodeBackgroundColor()
|
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessibility_caption_parcel.cpp | 33 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundColor_); in ReadFromParcel() 45 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundColor_); in Marshalling()
|
/foundation/barrierfree/accessibility/common/interface/src/parcel/ |
H A D | accessibility_caption_parcel.cpp | 33 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundColor_); in ReadFromParcel() 45 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundColor_); in Marshalling()
|
/foundation/arkui/ace_engine/interfaces/inner_api/form_render/src/ |
H A D | form_renderer.cpp | 64 backgroundColor_ = want.GetStringParam(OHOS::AppExecFwk::Constants::PARAM_FORM_TRANSPARENCY_KEY); in PreInitUIContent() 65 if (!backgroundColor_.empty()) { in PreInitUIContent() 66 uiContent_->SetFormBackgroundColor(backgroundColor_); in PreInitUIContent() 76 backgroundColor_ = want.GetStringParam(OHOS::AppExecFwk::Constants::PARAM_FORM_TRANSPARENCY_KEY); in RunFormPageInner() 77 if (!backgroundColor_.empty()) { in RunFormPageInner() 78 uiContent_->SetFormBackgroundColor(backgroundColor_); in RunFormPageInner() 457 if (backgroundColor_ != backgroundColor) { in AttachUIContent() 458 backgroundColor_ = backgroundColor; in AttachUIContent() 459 uiContent_->SetFormBackgroundColor(backgroundColor_); in AttachUIContent()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_bar_theme.h | 65 theme->backgroundColor_ = pattern->GetAttr<Color>("scroll_bar_background_color", Color()); in ParsePattern() 110 return backgroundColor_; in GetBackgroundColor() 157 Color backgroundColor_; member in OHOS::Ace::ScrollBarTheme
|
/foundation/arkui/ace_engine/frameworks/core/components/piece/ |
H A D | piece_theme.h | 70 theme->backgroundColor_ = pattern->GetAttr<Color>(PATTERN_BG_COLOR, Color()) in ParsePattern() 83 return backgroundColor_; 119 Color backgroundColor_;
|
/foundation/arkui/ace_engine/frameworks/core/components/counter/ |
H A D | counter_theme.h | 64 theme->backgroundColor_ = counterPattern->GetAttr<Color>("title_background_color", Color::WHITE); in ParsePattern() 82 return backgroundColor_; in GetBackGroundColor() 132 Color backgroundColor_ = Color(0xff191919); member in OHOS::Ace::CounterTheme
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | page_transition_effect.h | 119 backgroundColor_ = backgroundColor; in SetBackgroundColor() 124 return backgroundColor_; in GetBackgroundColor() 182 std::optional<Color> backgroundColor_; member in OHOS::Ace::NG::PageTransitionEffect
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_popup.cpp | 47 backgroundColor_ = theme->GetBackgroundColor(); in InitializeStyle() 48 popupChild_->GetPopupParam()->SetBackgroundColor(backgroundColor_); in InitializeStyle() 130 backgroundColor_ = ParseColor(style.second); in SetSpecializedStyle() 131 popupChild_->GetPopupParam()->SetBackgroundColor(backgroundColor_); in SetSpecializedStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_paint_method.h | 33 backgroundColor_(backgroundColor), indicatorStyle_(indicatorStyle), in TabBarPaintMethod() 57 Color backgroundColor_; member in OHOS::Ace::NG::TabBarPaintMethod
|