/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_abstract_progress_unit_test.cpp | 222 const Image* backgroundImage = new Image(); in HWTEST_F() local 225 background = backgroundImage->GetPath(); in HWTEST_F() 233 EXPECT_EQ(backgroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 235 EXPECT_EQ(backgroundImage->GetSrcType(), 1); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 237 delete backgroundImage; in HWTEST_F() 238 backgroundImage = nullptr; in HWTEST_F() 253 const Image* backgroundImage = new Image(); in HWTEST_F() local 268 EXPECT_EQ(backgroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 271 EXPECT_EQ(backgroundImage->GetSrcType(), 0); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 274 delete backgroundImage; in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_abstract_progress.cpp | 122 void UIAbstractProgress::SetImage(const char* foregroundImage, const char* backgroundImage) in SetImage() argument 127 backgroundImage_->SetSrc(backgroundImage); in SetImage() 131 void UIAbstractProgress::SetImage(const ImageInfo* foregroundImage, const ImageInfo* backgroundImage) in SetImage() argument 136 backgroundImage_->SetSrc(backgroundImage); in SetImage()
|
H A D | ui_slider.cpp | 167 void UISlider::SetImage(const ImageInfo* backgroundImage, const ImageInfo* foregroundImage) in SetImage() argument 172 backgroundImage_->SetSrc(backgroundImage); in SetImage() 176 void UISlider::SetImage(const char* backgroundImage, const char* foregroundImage) in SetImage() argument 181 backgroundImage_->SetSrc(backgroundImage); in SetImage()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_abstract_progress.h | 166 * @param backgroundImage Indicates the background image of the progress bar. The default value is <b>nullptr</b>. 170 void SetImage(const char* foregroundImage, const char* backgroundImage = nullptr); 180 * @param backgroundImage Indicates the background image of the progress bar. The default value is <b>nullptr</b>. 184 void SetImage(const ImageInfo* foregroundImage, const ImageInfo* backgroundImage = nullptr);
|
H A D | ui_slider.h | 191 * @param backgroundImage Indicates the background image to set. 196 void SetImage(const ImageInfo* backgroundImage, const ImageInfo* foregroundImage); 201 * @param backgroundImage Indicates the background image to set. 206 void SetImage(const char* backgroundImage, const char* foregroundImage);
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | native_interface_accessibility_impl.h | 409 void SetBackgroundImage(const std::string& backgroundImage) in SetBackgroundImage() 411 this->backgroundImage = backgroundImage; in SetBackgroundImage() 416 return backgroundImage; in GetBackgroundImage() 486 std::string backgroundImage; member
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.cpp | 766 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); in SetBackgroundPosition() local 767 if (!backgroundImage) { in SetBackgroundPosition() 771 if (backgroundImage->GetImagePosition() == position) { in SetBackgroundPosition() 774 backgroundImage->SetImagePosition(position); in SetBackgroundPosition() 776 renderImage_->SetBgImagePosition(backgroundImage->GetImagePosition()); in SetBackgroundPosition() 816 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); in GetBackgroundPosition() local 817 if (!backgroundImage) { in GetBackgroundPosition() 821 return backgroundImage->GetImagePosition(); in GetBackgroundPosition() 829 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); in SetBackgroundSize() local 830 if (!backgroundImage) { in SetBackgroundSize() 853 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); GetBackgroundSize() local [all...] |
H A D | rosen_render_box.cpp | 103 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); in Update() local 104 UpdateBackgroundImage(backgroundImage); in Update() 703 RefPtr<BackgroundImage> backgroundImage = backDecoration_->GetImage(); local 704 if (backgroundImage && renderImage_) {
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_accessibility.cpp | 438 ArkUI_AccessibilityElementInfo* elementInfo, const char* backgroundImage) in OH_ArkUI_AccessibilityElementInfoSetBackgroundImage() 441 CHECK_NULL_RETURN(backgroundImage, ARKUI_ACCESSIBILITY_NATIVE_RESULT_BAD_PARAMETER); in OH_ArkUI_AccessibilityElementInfoSetBackgroundImage() 442 elementInfo->SetBackgroundImage(backgroundImage); in OH_ArkUI_AccessibilityElementInfoSetBackgroundImage() 437 OH_ArkUI_AccessibilityElementInfoSetBackgroundImage( ArkUI_AccessibilityElementInfo* elementInfo, const char* backgroundImage) OH_ArkUI_AccessibilityElementInfoSetBackgroundImage() argument
|
H A D | native_interface_accessibility.h | 898 * @param backgroundImage Indicates the backgroundImage. 904 ArkUI_AccessibilityElementInfo* elementInfo, const char* backgroundImage);
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 88 Flex.backgroundColor(v1.options.backgroundImage === undefined ? '#EBEEF5' : 'rgba(0,0,0,0)'); 206 Image.create(y.options.backgroundImage);
|
/foundation/arkui/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 88 Flex.backgroundColor(v1.options.backgroundImage === undefined ? '#EBEEF5' : 'rgba(0,0,0,0)'); 206 Image.create(y.options.backgroundImage);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | style.h | 130 RefPtr<BackgroundImage> backgroundImage; member
|
H A D | declaration.cpp | 154 backgroundStyle.backgroundImage = AceType::MakeRefPtr<BackgroundImage>(); in Init() 806 backgroundStyle.backgroundImage->SetSrc(value, declaration.GetThemeConstants()); 807 declaration.backDecoration_->SetImage(backgroundStyle.backgroundImage); 819 backgroundStyle.backgroundImage->SetImageRepeat(backgroundStyle.backgroundRepeat); 2936 backgroundStyle.backgroundImage->SetImageSize( 3064 backgroundStyle.backgroundImage->SetImagePosition(backgroundImagePosition.GetSizeTypeX(), 3138 background.backgroundImage = AceType::MakeRefPtr<BackgroundImage>();
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_input.cpp | 547 std::string backgroundImage; in CheckPseduo() local 553 auto normalImageStyle = normalStyle->second.find("backgroundImage"); in CheckPseduo() 555 backgroundImage = normalImageStyle->second; in CheckPseduo() 556 exsitBackgroundImage = assetManager->GetAsset(backgroundImage) != nullptr; in CheckPseduo() 561 auto pseudoImageStyle = pseudoStyles->second.find("backgroundImage"); in CheckPseduo() 575 std::string targetImage = exsitBackgroundImage ? backgroundImage : pseudoBackgroundImage; in CheckPseduo()
|
/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | render_rating.cpp | 76 RefPtr<ImageComponent> backgroundImage = rating->GetBackgroundImage(); in Update() local 77 backgroundImage->SetResourceId(backgroundResourceId_); in Update() 78 UpdateRenderImage(backgroundImage, ImageFit::FILL, backgroundSrc_, renderBackground_, starColorInactive_); in Update()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_property.cpp | 222 std::string backgroundImage = "NONE"; in ToJsonValue() local 224 backgroundImage = propBackgroundImage->GetSrc() + ", " + in ToJsonValue() 227 json->PutExtAttr("backgroundImage", backgroundImage.c_str(), filter); in ToJsonValue()
|
/foundation/barrierfree/accessibility/frameworks/common/src/ |
H A D | accessibility_element_info.cpp | 948 void AccessibilityElementInfo::SetBackgroundImage(const std::string &backgroundImage) in SetBackgroundImage() argument 950 if (backgroundImage.length() > backgroundImageMaxLength) { in SetBackgroundImage() 953 backgroundImage_ = backgroundImage; in SetBackgroundImage()
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_element_info.h | 1636 * @brief Set backgroundImage 1637 * @param textType The value of backgroundImage 1640 void SetBackgroundImage(const std::string &backgroundImage); 1643 * @brief Get backgroundImage 1644 * @return The backgroundImage of node
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | keys.h | 55 KEYWORD(BACKGROUND_IMAGE, backgroundImage) // common style, but only button, checkbox, radio support
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.cpp | 3055 RefPtr<BackgroundImage> backgroundImage = decoration_->GetImage(); in PaintShadow() local 3056 if (backgroundImage && renderImage_) { in PaintShadow()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 1302 BackgroundImageModifier.identity = Symbol('backgroundImage'); 3395 backgroundImage(src, repeat) { 10089 backgroundImage(src, repeat) { 25695 backgroundImage(src, repeat) {
|