|
Torque2D Reference
|
#include <android_native_app_glue.h>
Public Attributes | |
| void * | userData |
| void(* | onAppCmd )(struct android_app *app, int32_t cmd) |
| int32_t(* | onInputEvent )(struct android_app *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 | thread |
| struct android_poll_source | cmdPollSource |
| struct android_poll_source | inputPollSource |
| int | running |
| int | stateSaved |
| int | destroyed |
| int | redrawNeeded |
| AInputQueue * | pendingInputQueue |
| ANativeWindow * | pendingWindow |
| ARect | pendingContentRect |
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.
| ANativeActivity* activity |
| int activityState |
| struct android_poll_source cmdPollSource |
| pthread_cond_t cond |
| AConfiguration* config |
| ARect contentRect |
| int destroyed |
| int destroyRequested |
| struct android_poll_source inputPollSource |
| AInputQueue* inputQueue |
| ALooper* looper |
| int msgread |
| int msgwrite |
| pthread_mutex_t mutex |
| void(* onAppCmd) (struct android_app *app, int32_t cmd) |
| int32_t(* onInputEvent) (struct android_app *app, AInputEvent *event) |
| ARect pendingContentRect |
| AInputQueue* pendingInputQueue |
| ANativeWindow* pendingWindow |
| int redrawNeeded |
| int running |
| void* savedState |
| size_t savedStateSize |
| int stateSaved |
| pthread_t thread |
| void* userData |
| ANativeWindow* window |