Searched refs:srcType_ (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/ |
H A D | image.cpp | 35 if (srcType_ == IMG_SRC_FILE) { in ~Image() 45 srcType_ = IMG_SRC_UNKNOWN; in ~Image() 99 srcType_ = IMG_SRC_UNKNOWN; in SetStandardSrc() 132 srcType_ = IMG_SRC_FILE; in SetStandardSrc() 141 srcType_ = IMG_SRC_UNKNOWN; in SetLiteSrc() 186 srcType_ = IMG_SRC_FILE; in SetLiteSrc() 205 srcType_ = IMG_SRC_UNKNOWN; in SetSrc() 212 srcType_ = IMG_SRC_UNKNOWN; in SetSrc() 317 srcType_ = IMG_SRC_UNKNOWN; in SetPNGSrc() 406 srcType_ = IMG_SRC_VARIABLE; in SetPNGSrc() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_source_info.cpp | 145 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in ImageSourceInfo() 175 srcType_(ResolveSrcType()) in ImageSourceInfo() 228 if (srcType_ == SrcType::BASE64) { in GenerateCacheKey() 261 srcType_ = ResolveURIType(src); in SetSrc() 263 isSvg_ = IsSVGSource(src, srcType_, resourceId_); in SetSrc() 280 srcType_ = SrcType::RESOURCE_ID; in SetResourceId() 282 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in SetResourceId() 296 srcType_ = SrcType::PIXMAP; in SetPixMap() 299 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in SetPixMap() 338 …eturn pixmap_ != nullptr || SrcType::DATA_ABILITY_DECODED == srcType_ || SrcType::ASTC == srcType_; in IsPixmap() [all …]
|
H A D | image_source_info.h | 152 SrcType srcType_ = SrcType::UNSUPPORTED; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_source_info.cpp | 121 isPng_(IsPngSource(src_, resourceId_)), srcType_(ResolveSrcType()) in ImageSourceInfo() 123 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in ImageSourceInfo() 131 isPng_(IsPngSource(src_, resourceId_)), srcType_(ResolveSrcType()) in ImageSourceInfo() 133 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in ImageSourceInfo() 173 srcType_ = ResolveURIType(src_); in SetSrc() 175 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in SetSrc() 188 srcType_ = SrcType::RESOURCE_ID; in SetResourceId() 190 isSvg_ = IsSVGSource(src_, srcType_, resourceId_); in SetResourceId() 224 return pixmap_ || srcType_ == SrcType::DATA_ABILITY_DECODED; in IsPixmap() 229 return srcType_; in GetSrcType()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | image.h | 113 return srcType_; in GetSrcType() 166 uint8_t srcType_; variable
|
/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; 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;
|