GATE
|
#include <gate_android_native_app_glue.h>
Public Attributes | |
void * | userData |
void(* | onAppCmd )(gate_android_app_t *app, int32_t cmd) |
int32_t(* | onInputEvent )(gate_android_app_t *app, AInputEvent *event) |
ANativeActivity * | activity |
AConfiguration * | config |
void * | savedState |
size_t | savedStateSize |
ALooper * | looper |
AInputQueue * | inputQueue |
ANativeWindow * | window |
ARect | contentRect |
int | activityState |
int | destroyRequested |
pthread_mutex_t | mutex |
pthread_cond_t | cond |
int | msgread |
int | msgwrite |
pthread_t | app_thread |
pthread_t | gate_thread |
gate_android_poll_source_t | cmdPollSource |
gate_android_poll_source_t | inputPollSource |
int | running |
int | stateSaved |
int | destroyed |
int | redrawNeeded |
AInputQueue * | pendingInputQueue |
ANativeWindow * | pendingWindow |
ARect | pendingContentRect |
ASensorManager * | sensorManager |
const ASensor * | sensors [10] |
ASensorEventQueue * | sensorEventQueues [10] |
gate_main_function_t | main_function |
gate_android_app_callbacks_t const * | callback_functions |
void * | callback_user_param |
This is the interface for the standard glue code of a threaded application. In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.