Home
last modified time | relevance | path

Searched refs:TrimMemoryMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp61 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
78 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in RENDERTHREAD_SKIA_PIPELINE_TEST()
83 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.h43 enum class TrimMemoryMode { Complete, UiHidden }; enum
48 void trimMemory(TrimMemoryMode mode);
DCacheManager.cpp99 void CacheManager::trimMemory(TrimMemoryMode mode) { in trimMemory()
108 case TrimMemoryMode::Complete: in trimMemory()
112 case TrimMemoryMode::UiHidden: in trimMemory()
DCanvasContext.cpp880 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
883 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()
DRenderProxy.cpp211 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in purgeCaches()