Home
last modified time | relevance | path

Searched refs:ImageLoadingContext (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_loading_context.cpp22 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 Dimage_loading_context.cpp70 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 Dimage_provider.h71 …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 Dimage_state_manager.h46 class ImageLoadingContext; variable
52 explicit ImageStateManager(WeakPtr<ImageLoadingContext> ctx) : ctx_(std::move(ctx)) {} in ImageStateManager()
67 WeakPtr<ImageLoadingContext> ctx_;
H A Dimage_loading_context.h33 class ACE_FORCE_EXPORT ImageLoadingContext : public AceType {
34 DECLARE_ACE_TYPE(ImageLoadingContext, AceType);
38ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, bool syncLoad = false…
39 ~ImageLoadingContext() override;
244 ACE_DISALLOW_COPY_AND_MOVE(ImageLoadingContext);
H A Dimage_provider.cpp209 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 Dstatic_image_object.h33 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctxWp, const SizeF& targetSize, bool force…
H A Danimated_image_object.h31 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
H A Danimated_image_object.cpp26 void AnimatedImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& size… in MakeCanvasImage()
H A Dpixel_map_image_object.h34 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
H A Dstatic_image_object.cpp26 void StaticImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& target… in MakeCanvasImage()
H A Dsvg_image_object.h40 …void MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool force…
H A Dsvg_image_object.cpp45 void SvgImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*resizeT… in MakeCanvasImage()
H A Dpixel_map_image_object.cpp25 void PixelMapImageObject::MakeCanvasImage(const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*re… in MakeCanvasImage()
H A Dimage_object.h69 …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 Drating_layout_algorithm.h31 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 Drating_pattern.h165 RefPtr<ImageLoadingContext> foregroundImageLoadingCtx_;
166 RefPtr<ImageLoadingContext> secondaryImageLoadingCtx_;
167 RefPtr<ImageLoadingContext> backgroundImageLoadingCtx_;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp111 …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 Dimage_layout_algorithm.h30 …const WeakPtr<ImageLoadingContext>& loadingCtx, const WeakPtr<ImageLoadingContext>& altLoadingCtx …
52 WeakPtr<ImageLoadingContext> loadingCtx_;
53 WeakPtr<ImageLoadingContext> altLoadingCtx_;
H A Dimage_pattern.h198 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 Dimage_test_ng.cpp965 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 Dgauge_layout_algorithm.h27 explicit GaugeLayoutAlgorithm(const RefPtr<ImageLoadingContext>& indicatorIconLoadingCtx) in GaugeLayoutAlgorithm()
50 RefPtr<ImageLoadingContext> indicatorIconLoadingCtx_;
H A Dgauge_pattern.h199 RefPtr<ImageLoadingContext> indicatorIconLoadingCtx_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_render_image.h165 RefPtr<NG::ImageLoadingContext> loadingCtx_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.h638 RefPtr<ImageLoadingContext> bgLoadingCtx_;
640 RefPtr<ImageLoadingContext> bdImageLoadingCtx_;
664 std::map<std::string, RefPtr<ImageLoadingContext>> particleImageContextMap_;

12