Searched defs:android_app (Results 1 - 2 of 2) sorted by relevance

/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.c38 static void free_saved_state(struct android_app* android_app) { argument
39 pthread_mutex_lock(&android_app->mutex);
40 if (android_app->savedState != NULL) {
41 free(android_app->savedState);
42 android_app->savedState = NULL;
43 android_app->savedStateSize = 0;
45 pthread_mutex_unlock(&android_app->mutex);
48 int8_t android_app_read_cmd(struct android_app* android_app) { argument
63 print_cur_config(struct android_app* android_app) argument
88 android_app_pre_exec_cmd(struct android_app* android_app, int8_t cmd) argument
145 android_app_post_exec_cmd(struct android_app* android_app, int8_t cmd) argument
173 android_app_destroy(struct android_app* android_app) argument
208 struct android_app* android_app = (struct android_app*)param; local
244 struct android_app* android_app = (struct android_app*)malloc(sizeof(struct android_app)); local
280 android_app_write_cmd(struct android_app* android_app, int8_t cmd) argument
286 android_app_set_input(struct android_app* android_app, AInputQueue* inputQueue) argument
296 android_app_set_window(struct android_app* android_app, ANativeWindow* window) argument
311 android_app_set_activity_state(struct android_app* android_app, int8_t cmd) argument
320 android_app_free(struct android_app* android_app) argument
351 struct android_app* android_app = (struct android_app*)activity->instance; local
385 struct android_app* android_app = (struct android_app*)activity->instance; local
391 struct android_app* android_app = (struct android_app*)activity->instance; local
[all...]
H A Dandroid_native_app_glue.h50 * 2/ android_main() receives a pointer to a valid "android_app" structure
54 * 3/ the "android_app" object holds an ALooper instance that already
72 * can call the process() function on it, and fill in android_app->onAppCmd
73 * and android_app->onInputEvent to be called for your own processing
84 struct android_app;
95 // The android_app this ident is associated with.
96 struct android_app* app;
100 void (*process)(struct android_app* app, struct android_poll_source* source);
111 struct android_app { struct
117 void (*onAppCmd)(struct android_app* ap
[all...]

Completed in 39 milliseconds