| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/mock/image_provider/ |
| D | mock_image_loading_context.cpp | 20 ImageLoadingContext::ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, b… in ImageLoadingContext() function in OHOS::Ace::NG::ImageLoadingContext 24 ImageLoadingContext::~ImageLoadingContext() = default; 26 SizeF ImageLoadingContext::CalculateTargetSize(const SizeF& srcSize, const SizeF& dstSize, const Si… in CalculateTargetSize() 32 void ImageLoadingContext::OnUnloaded() {} in OnUnloaded() 34 void ImageLoadingContext::OnDataLoading() {} in OnDataLoading() 36 void ImageLoadingContext::OnDataReady() {} in OnDataReady() 38 void ImageLoadingContext::OnMakeCanvasImage() {} in OnMakeCanvasImage() 40 void ImageLoadingContext::OnLoadSuccess() in OnLoadSuccess() 44 void ImageLoadingContext::OnLoadFail() {} in OnLoadFail() 46 void ImageLoadingContext::DataReadyCallback(const RefPtr<ImageObject>& imageObj) {} in DataReadyCallback() [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
| D | image_loading_context.cpp | 28 ImageLoadingContext::ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, b… in ImageLoadingContext() function in OHOS::Ace::NG::ImageLoadingContext 38 ImageLoadingContext::~ImageLoadingContext() in ~ImageLoadingContext() 55 SizeF ImageLoadingContext::CalculateTargetSize(const SizeF& srcSize, const SizeF& dstSize, const Si… in CalculateTargetSize() 72 void ImageLoadingContext::OnUnloaded() in OnUnloaded() 82 void ImageLoadingContext::OnLoadSuccess() in OnLoadSuccess() 92 void ImageLoadingContext::OnLoadFail() in OnLoadFail() 99 void ImageLoadingContext::OnDataReady() in OnDataReady() 106 void ImageLoadingContext::OnDataLoading() in OnDataLoading() 115 void ImageLoadingContext::OnMakeCanvasImage() in OnMakeCanvasImage() 154 void ImageLoadingContext::DataReadyCallback(const RefPtr<ImageObject>& imageObj) in DataReadyCallback() [all …]
|
| D | image_provider.h | 60 …static void CreateImageObject(const ImageSourceInfo& src, const WeakPtr<ImageLoadingContext>& ctxW… 70 …static void MakeCanvasImage(const RefPtr<ImageObject>& obj, const WeakPtr<ImageLoadingContext>& ct… 84 static void CancelTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx); 95 static bool RegisterTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx); 98 static std::set<WeakPtr<ImageLoadingContext>> EndTask(const std::string& key); 116 std::set<WeakPtr<ImageLoadingContext>> ctxs_;
|
| D | image_loading_context.h | 30 class ImageLoadingContext : public AceType { 31 DECLARE_ACE_TYPE(ImageLoadingContext, AceType); 35 …ImageLoadingContext(const ImageSourceInfo& src, LoadNotifier&& loadNotifier, bool syncLoad = false… 36 ~ImageLoadingContext() override; 128 ACE_DISALLOW_COPY_AND_MOVE(ImageLoadingContext);
|
| D | image_state_manager.h | 46 class ImageLoadingContext; variable 52 explicit ImageStateManager(WeakPtr<ImageLoadingContext> ctx) : ctx_(std::move(ctx)) {} in ImageStateManager() 66 WeakPtr<ImageLoadingContext> ctx_;
|
| D | image_provider.cpp | 198 bool ImageProvider::RegisterTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx) in RegisterTask() 214 std::set<WeakPtr<ImageLoadingContext>> ImageProvider::EndTask(const std::string& key) in EndTask() 231 void ImageProvider::CancelTask(const std::string& key, const WeakPtr<ImageLoadingContext>& ctx) in CancelTask() 251 void ImageProvider::CreateImageObject(const ImageSourceInfo& src, const WeakPtr<ImageLoadingContext… in CreateImageObject() 302 …rovider::MakeCanvasImage(const RefPtr<ImageObject>& obj, const WeakPtr<ImageLoadingContext>& ctxWp, in MakeCanvasImage()
|
| D | static_image_object.h | 34 …const RefPtr<ImageLoadingContext>& ctxWp, const SizeF& targetSize, bool forceResize, bool syncLoad…
|
| D | animated_image_object.h | 32 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool forceResize, bool syncLoad…
|
| D | pixel_map_image_object.cpp | 24 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*resizeTarget*/, bool /*forceResize*/, bool … in MakeCanvasImage()
|
| D | animated_image_object.cpp | 27 const RefPtr<ImageLoadingContext>& ctx, const SizeF& size, bool forceResize, bool /*syncLoad*/) in MakeCanvasImage()
|
| D | pixel_map_image_object.h | 35 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool forceResize, bool syncLoad…
|
| D | static_image_object.cpp | 30 … const RefPtr<ImageLoadingContext>& ctx, const SizeF& targetSize, bool forceResize, bool syncLoad) in MakeCanvasImage()
|
| D | svg_image_object.h | 40 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool forceResize, bool syncLoad…
|
| D | image_object.h | 53 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& resizeTarget, bool forceResize, bool syncLoad…
|
| D | svg_image_object.cpp | 42 …const RefPtr<ImageLoadingContext>& ctx, const SizeF& /*resizeTarget*/, bool /*forceResize*/, bool … in MakeCanvasImage()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
| 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_;
|
| D | rating_pattern.h | 160 RefPtr<ImageLoadingContext> foregroundImageLoadingCtx_; 161 RefPtr<ImageLoadingContext> secondaryImageLoadingCtx_; 162 RefPtr<ImageLoadingContext> backgroundImageLoadingCtx_;
|
| D | rating_pattern.cpp | 708 …AceType::MakeRefPtr<ImageLoadingContext>(foregroundImageSourceInfo, std::move(loadNotifierForegrou… in LoadForeground() 732 …AceType::MakeRefPtr<ImageLoadingContext>(secondaryImageSourceInfo, std::move(loadNotifierSecondary… in LoadSecondary() 756 …AceType::MakeRefPtr<ImageLoadingContext>(backgroundImageSourceInfo, std::move(loadNotifierBackgrou… in LoadBackground()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
| D | image_layout_algorithm.h | 30 …const WeakPtr<ImageLoadingContext>& loadingCtx, const WeakPtr<ImageLoadingContext>& altLoadingCtx … 47 WeakPtr<ImageLoadingContext> loadingCtx_; 48 WeakPtr<ImageLoadingContext> altLoadingCtx_;
|
| D | image_pattern.h | 166 RefPtr<ImageLoadingContext> loadingCtx_; 174 RefPtr<ImageLoadingContext> altLoadingCtx_;
|
| D | image_pattern.cpp | 291 … loadingCtx_ = AceType::MakeRefPtr<ImageLoadingContext>(src, std::move(loadNotifier), syncLoad_); in LoadImageDataIfNeed() 300 …altLoadingCtx_ = AceType::MakeRefPtr<ImageLoadingContext>(altImageSourceInfo, std::move(altLoadNot… in LoadImageDataIfNeed()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/image_provider/ |
| D | image_provider_test_ng.cpp | 87 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 106 std::vector<RefPtr<ImageLoadingContext>> contexts(20); 108 …ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), false… 133 …auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr), … 147 … auto ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr)); 171 …AceType::MakeRefPtr<ImageLoadingContext>(ImageSourceInfo(), LoadNotifier(nullptr, nullptr, nullptr… 231 std::vector<RefPtr<ImageLoadingContext>> contexts(2); 233 … ctx = AceType::MakeRefPtr<ImageLoadingContext>(src, LoadNotifier(nullptr, nullptr, nullptr)); 269 …AceType::MakeRefPtr<ImageLoadingContext>(ImageSourceInfo(), LoadNotifier(nullptr, nullptr, nullptr… 298 …AceType::MakeRefPtr<ImageLoadingContext>(ImageSourceInfo(), LoadNotifier(nullptr, nullptr, nullptr…
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/image/ |
| D | image_test_ng.cpp | 490 imagePattern->loadingCtx_ = AceType::MakeRefPtr<ImageLoadingContext>( 493 imagePattern->altLoadingCtx_ = AceType::MakeRefPtr<ImageLoadingContext>( 1004 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1008 auto altloadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1054 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1058 auto altloadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1096 auto altloadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1123 auto loadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1153 auto altloadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( 1192 auto altloadingCtx = AceType::MakeRefPtr<ImageLoadingContext>( [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
| D | rosen_render_context.h | 431 RefPtr<ImageLoadingContext> bgLoadingCtx_; 433 RefPtr<ImageLoadingContext> bdImageLoadingCtx_; 450 std::map<std::string, RefPtr<ImageLoadingContext>> particleImageContextMap_;
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
| D | text_field_pattern.h | 561 const RefPtr<ImageLoadingContext>& GetShowPasswordIconCtx() const in GetShowPasswordIconCtx() 573 const RefPtr<ImageLoadingContext>& GetHidePasswordIconCtx() const in GetHidePasswordIconCtx() 1190 RefPtr<ImageLoadingContext> showPasswordImageLoadingCtx_; 1191 RefPtr<ImageLoadingContext> hidePasswordImageLoadingCtx_;
|