/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_source_info.cpp | 76 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 D | image_source_info.cpp | 98 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 D | image_source_info.h | 61 …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 D | image_loader.cpp | 111 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 D | svg_image.cpp | 50 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 D | svg_image.h | 35 SrcType ParseHrefAttr(const std::string& uri);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/ |
H A D | image_provider_test_ng.cpp | 115 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 D | cj_richeditor_controller_ffi.cpp | 247 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 D | js_render_image.cpp | 153 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 D | rosen_render_image.cpp | 240 …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 D | render_image.cpp | 324 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 D | image_loading_context.cpp | 76 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 D | image_provider.cpp | 107 if (src.GetSrcType() == SrcType::DATA_ABILITY_DECODED) { in QueryImageObjectFromCache()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_image.cpp | 146 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 D | js_richeditor.cpp | 1598 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 D | arkts_native_image_bridge.cpp | 168 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 D | image_decoder.cpp | 86 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 D | image_modifier.cpp | 216 if (ImageSourceInfo::ResolveURIType(src) == SrcType::NETWORK) { in SetAlt()
|
H A D | node_image_modifier.cpp | 332 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 D | js_span_object.cpp | 713 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 D | constants.h | 416 enum class SrcType { enum
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 1517 if (src.GetSrcType() == SrcType::RESOURCE) { in OnLanguageConfigurationUpdate()
|