Home
last modified time | relevance | path

Searched refs:TrimLevel (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp64 renderThread.cacheManager().trimMemory(TrimLevel::COMPLETE); in RENDERTHREAD_TEST()
81 renderThread.cacheManager().trimMemory(TrimLevel::UI_HIDDEN); in RENDERTHREAD_TEST()
86 renderThread.cacheManager().trimMemory(TrimLevel::COMPLETE); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp119 void CacheManager::trimMemory(TrimLevel mode) { in trimMemory()
127 if (mode >= TrimLevel::BACKGROUND) { in trimMemory()
131 } else if (mode == TrimLevel::UI_HIDDEN) { in trimMemory()
326 trimMemory(TrimLevel::UI_HIDDEN); in checkUiHidden()
DCacheManager.h50 void trimMemory(TrimLevel mode);
DRenderThread.h173 void trimMemory(TrimLevel level);
DRenderProxy.cpp238 const auto trimLevel = static_cast<TrimLevel>(level); in trimMemory()
257 thread.cacheManager().trimMemory(TrimLevel::COMPLETE); in purgeCaches()
DRenderThread.cpp529 void RenderThread::trimMemory(TrimLevel level) { in trimMemory()
/frameworks/base/libs/hwui/
DMemoryPolicy.h24 enum class TrimLevel { enum
/frameworks/base/libs/hwui/platform/host/renderthread/
DCacheManager.cpp30 void CacheManager::trimMemory(TrimLevel mode) {} in trimMemory()
DRenderThread.cpp137 void RenderThread::trimMemory(TrimLevel level) {} in trimMemory()