Home
last modified time | relevance | path

Searched refs:SrcType (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_source_info.cpp76 return SrcType::UNSUPPORTED; in ResolveURIType()
80 return SrcType::ASSET; in ResolveURIType()
85 return SrcType::NETWORK; in ResolveURIType()
92 return SrcType::FILE; in ResolveURIType()
94 return SrcType::INTERNAL; in ResolveURIType()
99 return SrcType::BASE64; in ResolveURIType()
101 return SrcType::UNSUPPORTED; in ResolveURIType()
103 return SrcType::MEMORY; in ResolveURIType()
105 return SrcType::RESOURCE; in ResolveURIType()
139 return SrcType::PIXMAP; in ResolveSrcType()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_source_info.cpp98 return SrcType::ASSET; in ResolveURIType()
103 return SrcType::NETWORK; in ResolveURIType()
108 return SrcType::ASTC; in ResolveURIType()
112 return SrcType::FILE; in ResolveURIType()
114 return SrcType::INTERNAL; in ResolveURIType()
120 return SrcType::BASE64; in ResolveURIType()
124 return SrcType::MEMORY; in ResolveURIType()
126 return SrcType::RESOURCE; in ResolveURIType()
207 return SrcType::PIXMAP; in ResolveSrcType()
216 return SrcType::UNSUPPORTED; in ResolveSrcType()
[all …]
H A Dimage_source_info.h61 …static bool IsSVGSource(const std::string& imageSrc, SrcType srcType, InternalResource::ResourceId…
63 static SrcType ResolveURIType(const std::string& uri);
100 SrcType GetSrcType() const;
130 SrcType ResolveSrcType() const;
152 SrcType srcType_ = SrcType::UNSUPPORTED;
H A Dimage_loader.cpp111 case SrcType::INTERNAL: in CreateImageLoader()
112 case SrcType::FILE: { in CreateImageLoader()
115 case SrcType::NETWORK: { in CreateImageLoader()
118 case SrcType::ASSET: { in CreateImageLoader()
121 case SrcType::BASE64: { in CreateImageLoader()
124 case SrcType::RESOURCE: { in CreateImageLoader()
127 case SrcType::DATA_ABILITY: { in CreateImageLoader()
133 case SrcType::MEMORY: { in CreateImageLoader()
141 case SrcType::RESOURCE_ID: { in CreateImageLoader()
144 case SrcType::PIXMAP: { in CreateImageLoader()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_image.cpp50 case SrcType::BASE64: in OnDraw()
53 case SrcType::ASSET: in OnDraw()
128 SrcType SvgImage::ParseHrefAttr(const std::string& uri) in ParseHrefAttr()
131 return SrcType::UNSUPPORTED; in ParseHrefAttr()
135 return SrcType::ASSET; in ParseHrefAttr()
140 return SrcType::NETWORK; in ParseHrefAttr()
145 return SrcType::BASE64; in ParseHrefAttr()
147 return SrcType::UNSUPPORTED; in ParseHrefAttr()
149 return SrcType::ASSET; in ParseHrefAttr()
H A Dsvg_image.h35 SrcType ParseHrefAttr(const std::string& uri);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp115 src1.srcType_ = SrcType::PIXMAP;
245 src1.srcType_ = SrcType::PIXMAP;
757 bool isPixelMapResource = (SrcType::DATA_ABILITY_DECODED == ctx->GetSourceInfo().GetSrcType());
801 src1.srcType_ = SrcType::PIXMAP;
876 src.srcType_ = SrcType::NETWORK;
1203 src.srcType_ = SrcType::NETWORK;
1219 src.srcType_ = SrcType::MEMORY;
1235 src.srcType_ = SrcType::NETWORK;
1270 src.srcType_ = SrcType::DATA_ABILITY_DECODED;
1289 src.srcType_ = SrcType::DATA_ABILITY_DECODED;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_controller_ffi.cpp247 SrcType srcType = ImageSourceInfo::ResolveURIType(image); in AddImageSpan()
249 … (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::DATA_ABILITY); in AddImageSpan()
259 SrcType srcType = ImageSourceInfo::ResolveURIType(assetSrc); in AddImageSpan()
265 if (srcType == SrcType::ASSET) { in AddImageSpan()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_render_image.cpp153 SrcType srcType = ImageSourceInfo::ResolveURIType(textString); in NotFormSupport()
154 …return (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::DATA_ABILIT… in NotFormSupport()
/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()
361 case SrcType::DATA_ABILITY_DECODED: { in FetchImageObject()
365 case SrcType::PIXMAP: { in FetchImageObject()
369 case SrcType::MEMORY: { 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) {
[all …]
H A Drender_image.cpp324 case SrcType::PIXMAP: { in HandleOnCopy()
328 case SrcType::BASE64: { in HandleOnCopy()
332 case SrcType::DATA_ABILITY_DECODED: in HandleOnCopy()
333 case SrcType::DATA_ABILITY: { in HandleOnCopy()
/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/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_image.cpp146 if (ImageSourceInfo::ResolveURIType(src) == SrcType::NETWORK) { in SetAlt()
308 SrcType srcType = ImageSourceInfo::ResolveURIType(src); in CreateImage()
309 …bool notSupport = (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::… in CreateImage()
H A Djs_richeditor.cpp1598 SrcType srcType = ImageSourceInfo::ResolveURIType(assetSrc); in CheckImageSource()
1604 if (srcType == SrcType::ASSET) { in CheckImageSource()
1636 SrcType srcType = ImageSourceInfo::ResolveURIType(image); in CreateJsImageOptions()
1637 …bool notSupport = (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::… in CreateJsImageOptions()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_image_bridge.cpp168 SrcType srcType = ImageSourceInfo::ResolveURIType(src); in SetImageShowSrc()
169 …bool notSupport = (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::… in SetImageShowSrc()
617 if (ImageSourceInfo::ResolveURIType(src) == SrcType::NETWORK) { in SetAlt()
/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/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dimage_modifier.cpp216 if (ImageSourceInfo::ResolveURIType(src) == SrcType::NETWORK) { in SetAlt()
H A Dnode_image_modifier.cpp332 if (ImageSourceInfo::ResolveURIType(src) == SrcType::NETWORK) { in SetAlt()
721 if (ImageSourceInfo::ResolveURIType(sourceInfo->url) == SrcType::NETWORK) { in SetAltSourceInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_object.cpp713 SrcType srcType = ImageSourceInfo::ResolveURIType(imageSrc); in CreateImageOptions()
714 …bool notSupport = (srcType == SrcType::NETWORK || srcType == SrcType::FILE || srcType == SrcType::… in CreateImageOptions()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h416 enum class SrcType { enum
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp1517 if (src.GetSrcType() == SrcType::RESOURCE) { in OnLanguageConfigurationUpdate()