Searched refs:foregroundImage (Results 1 - 8 of 8) sorted by relevance
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_abstract_progress_unit_test.cpp | 223 const Image* foregroundImage = new Image(); in HWTEST_F() local 224 foreground = foregroundImage->GetPath(); in HWTEST_F() 228 EXPECT_EQ(foregroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 230 EXPECT_EQ(foregroundImage->GetSrcType(), 1); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 239 delete foregroundImage; in HWTEST_F() 240 foregroundImage = nullptr; in HWTEST_F() 254 const Image* foregroundImage = new Image(); in HWTEST_F() local 261 EXPECT_EQ(foregroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 264 EXPECT_EQ(foregroundImage->GetSrcType(), 0); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNOWN in HWTEST_F() 278 delete foregroundImage; 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 128 foregroundImage_->SetSrc(foregroundImage); in SetImage() 131 void UIAbstractProgress::SetImage(const ImageInfo* foregroundImage, const ImageInfo* backgroundImage) in SetImage() argument 137 foregroundImage_->SetSrc(foregroundImage); in SetImage()
|
H A D | ui_slider.cpp | 167 void UISlider::SetImage(const ImageInfo* backgroundImage, const ImageInfo* foregroundImage) in SetImage() argument 173 foregroundImage_->SetSrc(foregroundImage); in SetImage() 176 void UISlider::SetImage(const char* backgroundImage, const char* foregroundImage) in SetImage() argument 182 foregroundImage_->SetSrc(foregroundImage); in SetImage()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_abstract_progress.h | 165 * @param foregroundImage Indicates the foreground image of the progress bar. The default value is <b>nullptr</b>. 170 void SetImage(const char* foregroundImage, const char* backgroundImage = nullptr); 179 * @param foregroundImage Indicates the foreground 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 | 192 * @param foregroundImage Indicates the foreground image to set. 196 void SetImage(const ImageInfo* backgroundImage, const ImageInfo* foregroundImage); 202 * @param foregroundImage Indicates the foreground image to set. 206 void SetImage(const char* backgroundImage, const char* foregroundImage);
|
/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | render_rating.cpp | 68 RefPtr<ImageComponent> foregroundImage = rating->GetForegroundImage(); in Update() local 69 foregroundImage->SetResourceId(foregroundResourceId_); in Update() 70 UpdateRenderImage(foregroundImage, ImageFit::FILL, foregroundSrc_, renderForeground_, starColorActive_); in Update()
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 155 Image.create(l1.options.foregroundImage);
|
/foundation/arkui/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 155 Image.create(l1.options.foregroundImage);
|
Completed in 4 milliseconds