Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
void Engine::TermDisplay() { gl_context_->Suspend(); }
190
191
void Engine::TrimMemory() {
192
LOGI(
"Trimming memory"
);
193
gl_context_->Invalidate();
194
}
195
/**
196
* Process the next input event.
197
*/
Callers
1
HandleCmd
Method · 0.45
Calls
1
Invalidate
Method · 0.80
Tested by
no test coverage detected