Searched refs:imageCache_ (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_cache.cpp | 55 …cheWithCountLimitLRU<std::shared_ptr<CachedImage>>(key, image, cacheList_, imageCache_, capacity_); in CacheImage() 61 …LimitLRU::GetCacheObjWithCountLimitLRU<std::shared_ptr<CachedImage>>(key, cacheList_, imageCache_); in GetCacheImage() 191 auto iter = imageCache_.find(key); in ClearCacheImage() 192 if (iter != imageCache_.end()) { in ClearCacheImage() 194 imageCache_.erase(iter); in ClearCacheImage() 222 imageCache_.clear(); in Clear()
|
H A D | image_cache.h | 97 …ordered_map<std::string, std::list<CacheNode<std::shared_ptr<CachedImage>>>::iterator> imageCache_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/ |
H A D | image_cache_test.cpp | 54 ASSERT_EQ(frontKey, imageCache->imageCache_[FILE_KEYS[i]]->cacheKey); 63 ASSERT_EQ(imageCache->imageCache_[FILE_KEYS[3]]->cacheKey, FILE_KEYS[3]); 85 auto iter = (imageCache->imageCache_).find(FILE_KEYS[2]); 86 ASSERT_NE(iter, imageCache->imageCache_.end()); 89 ASSERT_EQ(imageCache->imageCache_[FILE_KEYS[2]]->cacheKey, FILE_KEYS[2]);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_base.cpp | 50 imageCache_ = ImageCache::Create(); in PipelineBase() 75 imageCache_ = ImageCache::Create(); in PipelineBase() 200 if (imageCache_) { in ClearImageCache() 201 imageCache_->Clear(); in ClearImageCache() 209 imageCache_ = imageCache; in SetImageCache() 216 return imageCache_; in GetImageCache() 1003 imageCache_.Reset(); in Destroy()
|
H A D | pipeline_base.h | 1556 RefPtr<ImageCache> imageCache_; variable
|
H A D | pipeline_context.cpp | 108 imageCache_.Reset(); in PipelineContext()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_method.cpp | 207 CHECK_NULL_VOID(imageCache_); in CloseImageBitmap() 208 auto cacheImage = imageCache_->GetCacheImage(src); in CloseImageBitmap() 211 imageCache_->ClearCacheImage(src); in CloseImageBitmap()
|
H A D | custom_paint_paint_method.cpp | 297 if (!imageCache_) { in GetImage() 298 imageCache_ = ImageCache::Create(); in GetImage() 299 imageCache_->SetCapacity(IMAGE_CACHE_COUNT); in GetImage() 301 auto cacheImage = imageCache_->GetCacheImage(src); in GetImage() 310 imageCache_->CacheImage(src, std::make_shared<Ace::CachedImage>(image)); in GetImage()
|
H A D | custom_paint_paint_method.h | 405 RefPtr<ImageCache> imageCache_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.cpp | 3028 if (!imageCache_) { 3029 imageCache_ = ImageCache::Create(); 3030 imageCache_->SetCapacity(IMAGE_CACHE_COUNT); 3032 auto cacheImage = imageCache_->GetCacheImage(src); 3045 imageCache_->CacheImage(src, std::make_shared<CachedImage>(rasterizedImage)); 3054 if (!imageCache_) { 3055 imageCache_ = ImageCache::Create(); 3056 imageCache_->SetCapacity(IMAGE_CACHE_COUNT); 3058 auto cacheImage = imageCache_->GetCacheImage(src); 3076 imageCache_->CacheImage(src, std::make_shared<CachedImage>(rasterizedImage));
|
H A D | rosen_render_custom_paint.h | 221 RefPtr<ImageCache> imageCache_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 2833 if (imageCache_) { in OnDumpInfo() 2834 imageCache_->DumpCacheInfo(); in OnDumpInfo()
|