Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp62 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
79 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in RENDERTHREAD_SKIA_PIPELINE_TEST()
84 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.h45 enum class TrimMemoryMode { Complete, UiHidden }; enum
48 void trimMemory(TrimMemoryMode mode);
DCacheManager.cpp141 void CacheManager::trimMemory(TrimMemoryMode mode) { in trimMemory()
149 case TrimMemoryMode::Complete: in trimMemory()
153 case TrimMemoryMode::UiHidden: in trimMemory()
DCanvasContext.cpp645 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
649 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()