MCPcopy Create free account
hub / github.com/android/ndk-samples / TrimMemory

Method TrimMemory

teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:191–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189void Engine::TermDisplay() { gl_context_->Suspend(); }
190
191void Engine::TrimMemory() {
192 LOGI("Trimming memory");
193 gl_context_->Invalidate();
194}
195/**
196 * Process the next input event.
197 */

Callers 1

HandleCmdMethod · 0.45

Calls 1

InvalidateMethod · 0.80

Tested by

no test coverage detected