Home
last modified time | relevance | path

Searched refs:GetSrcType (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_abstract_progress_unit_test.cpp228 …EXPECT_EQ(foregroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
230 …EXPECT_EQ(foregroundImage->GetSrcType(), 1); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
233 …EXPECT_EQ(backgroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
235 …EXPECT_EQ(backgroundImage->GetSrcType(), 1); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
261 …EXPECT_EQ(foregroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
264 …EXPECT_EQ(foregroundImage->GetSrcType(), 0); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
268 …EXPECT_EQ(backgroundImage->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
271 …EXPECT_EQ(backgroundImage->GetSrcType(), 0); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_…
H A Dui_image_unit_test.cpp524 …EXPECT_EQ(imageView_->GetSrcType(), 2); // 0 : IMG_SRC_VARIABLE 1 : IMG_SRC_FILE 2 : IMG_SRC_UNKNO…
H A Dui_button_unit_test.cpp356 EXPECT_EQ(button_->GetCurImageSrc()->GetSrcType(), IMG_SRC_VARIABLE);
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_checkbox.cpp69 …if ((image_[SELECTED].GetSrcType() == IMG_SRC_UNKNOWN) || (image_[UNSELECTED].GetSrcType() == IMG_… in SetState()
223 …if ((image_[SELECTED].GetSrcType() != IMG_SRC_UNKNOWN) && (image_[UNSELECTED].GetSrcType() != IMG_… in OnDraw()
H A Dui_radio_button.cpp86 …if ((image_[SELECTED].GetSrcType() != IMG_SRC_UNKNOWN) && (image_[UNSELECTED].GetSrcType() != IMG_… in OnDraw()
H A Dui_toggle_button.cpp98 …if ((image_[SELECTED].GetSrcType() != IMG_SRC_UNKNOWN) && (image_[UNSELECTED].GetSrcType() != IMG_… in OnDraw()
H A Dui_box_progress.cpp36 if ((image != nullptr) && (image->GetSrcType() != IMG_SRC_UNKNOWN)) { in DrawValidRect()
119 if ((image != nullptr) && (image->GetSrcType() != IMG_SRC_UNKNOWN)) { in DrawRoundCap()
H A Dui_image_view.cpp412 if ((image_.GetSrcType() == IMG_SRC_UNKNOWN)) { in OnPreDraw()
438 uint8_t srcType = image_.GetSrcType(); in OnDraw()
H A Dui_analog_clock.cpp50 if (img.GetSrcType() == IMG_SRC_FILE) { in SetHandImage()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_image_view.h258 uint8_t GetSrcType() const in GetSrcType() function
260 return image_.GetSrcType(); in GetSrcType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_loading_context.cpp76 src_.GetSrcType() == SrcType::PIXMAP) { in ImageLoadingContext()
215 return src_.GetSrcType() == SrcType::NETWORK && SystemProperties::GetDownloadByNetworkEnabled(); in Downloadable()
331 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == GetSourceInfo().GetSrcType()); in OnMakeCanvasImage()
360 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == GetSourceInfo().GetSrcType()); in ResizableCalcDstSize()
H A Dimage_provider.cpp107 if (src.GetSrcType() == SrcType::DATA_ABILITY_DECODED) { in QueryImageObjectFromCache()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dimage.h111 uint8_t GetSrcType() const in GetSrcType() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drosen_render_image.cpp240 …if (imageObj_->GetFrameCount() == 1 && imageObj_->GetSourceInfo().GetSrcType() != SrcType::MEMORY)… in ImageDataPaintSuccess()
359 SrcType srcType = sourceInfo_.GetSrcType(); in FetchImageObject()
375 if (curSourceInfo_.GetSrcType() == SrcType::PIXMAP) { in FetchImageObject()
379 sourceInfo_.GetSrcType() != SrcType::NETWORK) || in FetchImageObject()
557 if (sourceInfo_.GetSrcType() != SrcType::PIXMAP) {
1231 } else if (sourceInfo_.GetSrcType() != SrcType::MEMORY) {
1239 if (sourceInfo_.GetSrcType() == SrcType::MEMORY) {
1495 sourceInfo_.GetSrcType() != SrcType::NETWORK;
H A Drender_image.cpp322 auto type = sourceInfo_.GetSrcType(); in HandleOnCopy()
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_arc.cpp61 if ((image != nullptr) && (image->GetSrcType() != IMG_SRC_UNKNOWN)) { in DrawVerLine()
77 if ((image != nullptr) && (image->GetSrcType() != IMG_SRC_UNKNOWN)) { in DrawHorLine()
423 if ((arcInfo.imgSrc != nullptr) && (arcInfo.imgSrc->GetSrcType() != IMG_SRC_UNKNOWN)) { in Draw()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_source_info.h100 SrcType GetSrcType() const;
H A Dimage_loader.cpp109 SrcType srcType = imageSourceInfo.GetSrcType(); in CreateImageLoader()
267 if (imageSourceInfo.GetSrcType() == SrcType::INTERNAL) { in LoadImageData()
283 } else if (imageSourceInfo.GetSrcType() == SrcType::FILE) { in LoadImageData()
H A Dimage_source_info.cpp351 SrcType ImageSourceInfo::GetSrcType() const in GetSrcType() function in OHOS::Ace::ImageSourceInfo
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp757 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == ctx->GetSourceInfo().GetSrcType());
847 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == ctx->GetSourceInfo().GetSrcType());
1257 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == ctx->GetSourceInfo().GetSrcType());
1274 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == ctx->GetSourceInfo().GetSrcType());
1296 bool isPixelMapResource = (SrcType::DATA_ABILITY == ctx->GetSourceInfo().GetSrcType());
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_source_info.cpp227 SrcType ImageSourceInfo::GetSrcType() const in GetSrcType() function in OHOS::Ace::ImageSourceInfo
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
H A Dimage_decoder.cpp86 auto srcStr = src.GetSrcType() == SrcType::BASE64 ? src.GetKey() : src.ToString(); in MakePixmapImage()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-common-guide.md97 | const void\* GetSrcType () const | 获取图片类型 |
/ohos5.0/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_dump_dom_tree.cpp64 ImageSrcType srcType = tmpImageView->GetSrcType(); in AddImageViewSpecialField()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp113 label2->SetText(GetCharByImageSrcType(imageView->GetSrcType())); in UIKitUIImageTestSetImage001()

12