Home
last modified time | relevance | path

Searched refs:TrimMemoryMode (Results 1 – 4 of 4) 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
46 void trimMemory(TrimMemoryMode mode);
DCacheManager.cpp105 void CacheManager::trimMemory(TrimMemoryMode mode) { in trimMemory()
113 case TrimMemoryMode::Complete: in trimMemory()
118 case TrimMemoryMode::UiHidden: in trimMemory()
DCanvasContext.cpp619 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
622 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()