Home
last modified time | relevance | path

Searched refs:trimMemory (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp35 RENDERTHREAD_SKIA_PIPELINE_TEST(CacheManager, trimMemory) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
61 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.h46 void trimMemory(TrimMemoryMode mode);
DRenderProxy.h95 ANDROID_API static void trimMemory(int level);
DCanvasContext.cpp614 void CanvasContext::trimMemory(RenderThread& thread, int level) { in trimMemory() function in android::uirenderer::renderthread::CanvasContext
619 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
622 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()
DCacheManager.cpp105 void CacheManager::trimMemory(TrimMemoryMode mode) { in trimMemory() function in android::uirenderer::renderthread::CacheManager
DRenderProxy.cpp188 void RenderProxy::trimMemory(int level) { in trimMemory() function in android::uirenderer::renderthread::RenderProxy
192 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory()
DCanvasContext.h136 static void trimMemory(RenderThread& thread, int level);
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java536 public void trimMemory(int level) { in trimMemory() method in WindowManagerGlobal
550 ThreadedRenderer.trimMemory(level); in trimMemory()
579 ThreadedRenderer.trimMemory( in doTrimForeground()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp371 renderthread::RenderProxy::trimMemory(100); in main()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java940 public static void trimMemory(int level) { in trimMemory() method in HardwareRenderer
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java607 WindowManagerGlobal.getInstance().trimMemory( in onKeyguardFadedAway()
DStatusBar.java2011 WindowManagerGlobal.getInstance().trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN); in makeExpandedInvisible()
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp776 RenderProxy::trimMemory(level); in android_view_ThreadedRenderer_trimMemory()
/frameworks/base/core/java/android/app/
DActivityThread.java6009 WindowManagerGlobal.getInstance().trimMemory(level); in handleTrimMemory()