/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_loading_context.cpp | 22 ImageLoadingContext::ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, b… in ImageLoadingContext() function in OHOS::Ace::NG::ImageLoadingContext 26 ImageLoadingContext::~ImageLoadingContext() = default; 34 void ImageLoadingContext::OnUnloaded() {} in OnUnloaded() 36 void ImageLoadingContext::OnDataLoading() {} in OnDataLoading() 38 void ImageLoadingContext::OnDataReady() {} in OnDataReady() 42 void ImageLoadingContext::OnLoadSuccess() {} in OnLoadSuccess() 44 void ImageLoadingContext::OnLoadFail() {} in OnLoadFail() 88 void ImageLoadingContext::LoadImageData() {} in LoadImageData() 99 void ImageLoadingContext::MakeCanvasImage( in MakeCanvasImage() 150 bool ImageLoadingContext::NeedAlt() const in NeedAlt() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_loading_context.cpp | 70 ImageLoadingContext::ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, b… in ImageLoadingContext() function in OHOS::Ace::NG::ImageLoadingContext 81 ImageLoadingContext::~ImageLoadingContext() in ~ImageLoadingContext() 117 void ImageLoadingContext::OnUnloaded() in OnUnloaded() 126 void ImageLoadingContext::OnLoadSuccess() in OnLoadSuccess() 137 void ImageLoadingContext::OnLoadFail() in OnLoadFail() 144 void ImageLoadingContext::OnDataReady() in OnDataReady() 164 void ImageLoadingContext::OnDataLoading() in OnDataLoading() 213 bool ImageLoadingContext::Downloadable() in Downloadable() 218 void ImageLoadingContext::DownloadImage() in DownloadImage() 433 void ImageLoadingContext::LoadImageData() in LoadImageData() [all …]
|
H A D | image_provider.h | 71 …static void CreateImageObject(const ImageSourceInfo& src, const WeakPtr<ImageLoadingContext>& ctxW… 83 …static void MakeCanvasImage(const RefPtr<ImageObject>& obj, const WeakPtr<ImageLoadingContext>& ct… 97 static void CancelTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx); 112 static bool RegisterTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx); 115 static std::set<WeakPtr<ImageLoadingContext>> EndTask(const std::string& key); 132 std::set<WeakPtr<ImageLoadingContext>> ctxs_;
|
H A D | image_state_manager.h | 46 class ImageLoadingContext; variable 52 explicit ImageStateManager(WeakPtr<ImageLoadingContext> ctx) : ctx_(std::move(ctx)) {} in ImageStateManager() 67 WeakPtr<ImageLoadingContext> ctx_;
|
H A D | image_loading_context.h | 33 class ACE_FORCE_EXPORT ImageLoadingContext : public AceType { 34 DECLARE_ACE_TYPE(ImageLoadingContext, AceType); 38 …ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, bool syncLoad = false… 39 ~ImageLoadingContext() override; 244 ACE_DISALLOW_COPY_AND_MOVE(ImageLoadingContext);
|
H A D | image_provider.cpp | 209 bool ImageProvider::RegisterTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx) in RegisterTask() 222 std::set<WeakPtr<ImageLoadingContext>> ImageProvider::EndTask(const std::string& key) in EndTask() 238 void ImageProvider::CancelTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx) in CancelTask() 255 void ImageProvider::CreateImageObject(const ImageSourceInfo& src, const WeakPtr<ImageLoadingContext… in CreateImageObject() 313 …rovider::MakeCanvasImage(const RefPtr<ImageObject>& obj, const WeakPtr<ImageLoadingContext>& ctxWp, in MakeCanvasImage()
|
H A D | static_image_object.h | 33 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctxWp, const SizeF& targetSize, bool force…
|
H A D | animated_image_object.h | 31 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
|
H A D | animated_image_object.cpp | 26 void AnimatedImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& size… in MakeCanvasImage()
|
H A D | pixel_map_image_object.h | 34 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
|
H A D | static_image_object.cpp | 26 void StaticImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& target… in MakeCanvasImage()
|
H A D | svg_image_object.h | 40 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
|
H A D | svg_image_object.cpp | 45 void SvgImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*resizeT… in MakeCanvasImage()
|
H A D | pixel_map_image_object.cpp | 25 void PixelMapImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*re… in MakeCanvasImage()
|
H A D | image_object.h | 69 …virtual void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bo…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_layout_algorithm.h | 31 RatingLayoutAlgorithm(const RefPtr<ImageLoadingContext>& foregroundLoadingCtx, in RatingLayoutAlgorithm() 32 …const RefPtr<ImageLoadingContext>& secondaryLoadingCtx, const RefPtr<ImageLoadingContext>& backgro… in RatingLayoutAlgorithm() 52 RefPtr<ImageLoadingContext> foregroundLoadingCtx_; 53 RefPtr<ImageLoadingContext> secondaryLoadingCtx_; 54 RefPtr<ImageLoadingContext> backgroundLoadingCtx_;
|
H A D | rating_pattern.h | 165 RefPtr<ImageLoadingContext> foregroundImageLoadingCtx_; 166 RefPtr<ImageLoadingContext> secondaryImageLoadingCtx_; 167 RefPtr<ImageLoadingContext> backgroundImageLoadingCtx_;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/ |
H A D | image_provider_test_ng.cpp | 111 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 116 …auto ctx1 = AceType::MakeRefPtr<ImageLoadingContext>(src1, LoadNotifier(nullptr, nullptr, nullptr)… 128 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 149 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 171 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 200 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 236 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 384 std::vector<RefPtr<ImageLoadingContext>> contexts(20); 425 … auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr)); 511 std::vector<RefPtr<ImageLoadingContext>> contexts(2); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_layout_algorithm.h | 30 …const WeakPtr<ImageLoadingContext>& loadingCtx, const WeakPtr<ImageLoadingContext>& altLoadingCtx … 52 WeakPtr<ImageLoadingContext> loadingCtx_; 53 WeakPtr<ImageLoadingContext> altLoadingCtx_;
|
H A D | image_pattern.h | 198 WeakPtr<ImageLoadingContext> GetImageLoadingContext() in GetImageLoadingContext() 203 WeakPtr<ImageLoadingContext> GetAltImageLoadingContext() in GetAltImageLoadingContext() 502 RefPtr<ImageLoadingContext> loadingCtx_; 510 RefPtr<ImageLoadingContext> altLoadingCtx_;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/ |
H A D | image_test_ng.cpp | 965 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1015 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1084 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1196 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1243 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1306 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1691 loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1717 AceType::MakeRefPtr<ImageLoadingContext>( 1720 AceType::MakeRefPtr<ImageLoadingContext>( 1724 AceType::MakeRefPtr<ImageLoadingContext>( [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_layout_algorithm.h | 27 explicit GaugeLayoutAlgorithm(const RefPtr<ImageLoadingContext>& indicatorIconLoadingCtx) in GaugeLayoutAlgorithm() 50 RefPtr<ImageLoadingContext> indicatorIconLoadingCtx_;
|
H A D | gauge_pattern.h | 199 RefPtr<ImageLoadingContext> indicatorIconLoadingCtx_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_render_image.h | 165 RefPtr<NG::ImageLoadingContext> loadingCtx_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.h | 638 RefPtr<ImageLoadingContext> bgLoadingCtx_; 640 RefPtr<ImageLoadingContext> bdImageLoadingCtx_; 664 std::map<std::string, RefPtr<ImageLoadingContext>> particleImageContextMap_;
|