webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Attributes | List of all members
android_app Struct Reference

#include <android_native_app_glue.h>

Public Attributes

voiduserData
 
void(* onAppCmd )(struct android_app *app, int32_t cmd)
 
int32_t(* onInputEvent )(struct android_app *app, AInputEvent *event)
 
ANativeActivity * activity
 
AConfiguration * config
 
voidsavedState
 
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
 

Detailed Description

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.

Member Data Documentation

◆ activity

ANativeActivity* android_app::activity

◆ activityState

int android_app::activityState

◆ cmdPollSource

struct android_poll_source android_app::cmdPollSource

◆ cond

pthread_cond_t android_app::cond

◆ config

AConfiguration* android_app::config

◆ contentRect

ARect android_app::contentRect

◆ destroyed

int android_app::destroyed

◆ destroyRequested

int android_app::destroyRequested

◆ inputPollSource

struct android_poll_source android_app::inputPollSource

◆ inputQueue

AInputQueue* android_app::inputQueue

◆ looper

ALooper* android_app::looper

◆ msgread

int android_app::msgread

◆ msgwrite

int android_app::msgwrite

◆ mutex

pthread_mutex_t android_app::mutex

◆ onAppCmd

void(* android_app::onAppCmd) (struct android_app *app, int32_t cmd)

◆ onInputEvent

int32_t(* android_app::onInputEvent) (struct android_app *app, AInputEvent *event)

◆ pendingContentRect

ARect android_app::pendingContentRect

◆ pendingInputQueue

AInputQueue* android_app::pendingInputQueue

◆ pendingWindow

ANativeWindow* android_app::pendingWindow

◆ redrawNeeded

int android_app::redrawNeeded

◆ running

int android_app::running

◆ savedState

void* android_app::savedState

◆ savedStateSize

size_t android_app::savedStateSize

◆ stateSaved

int android_app::stateSaved

◆ thread

pthread_t android_app::thread

◆ userData

void* android_app::userData

◆ window

ANativeWindow* android_app::window

The documentation for this struct was generated from the following file: