YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
android_app结构体 参考

#include <android_native_app_glue.h>

android_app 的协作图:

Public 属性

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.

在文件 android_native_app_glue.h111 行定义.

类成员变量说明

ANativeActivity* android_app::activity

在文件 android_native_app_glue.h126 行定义.

int android_app::activityState

在文件 android_native_app_glue.h158 行定义.

struct android_poll_source android_app::cmdPollSource

在文件 android_native_app_glue.h175 行定义.

pthread_cond_t android_app::cond

在文件 android_native_app_glue.h168 行定义.

AConfiguration* android_app::config

在文件 android_native_app_glue.h129 行定义.

ARect android_app::contentRect

在文件 android_native_app_glue.h154 行定义.

int android_app::destroyed

在文件 android_native_app_glue.h180 行定义.

int android_app::destroyRequested

在文件 android_native_app_glue.h162 行定义.

struct android_poll_source android_app::inputPollSource

在文件 android_native_app_glue.h176 行定义.

AInputQueue* android_app::inputQueue

在文件 android_native_app_glue.h147 行定义.

ALooper* android_app::looper

在文件 android_native_app_glue.h143 行定义.

int android_app::msgread

在文件 android_native_app_glue.h170 行定义.

int android_app::msgwrite

在文件 android_native_app_glue.h171 行定义.

pthread_mutex_t android_app::mutex

在文件 android_native_app_glue.h167 行定义.

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

在文件 android_native_app_glue.h117 行定义.

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

在文件 android_native_app_glue.h123 行定义.

ARect android_app::pendingContentRect

在文件 android_native_app_glue.h184 行定义.

AInputQueue* android_app::pendingInputQueue

在文件 android_native_app_glue.h182 行定义.

ANativeWindow* android_app::pendingWindow

在文件 android_native_app_glue.h183 行定义.

int android_app::redrawNeeded

在文件 android_native_app_glue.h181 行定义.

int android_app::running

在文件 android_native_app_glue.h178 行定义.

void* android_app::savedState

在文件 android_native_app_glue.h139 行定义.

size_t android_app::savedStateSize

在文件 android_native_app_glue.h140 行定义.

int android_app::stateSaved

在文件 android_native_app_glue.h179 行定义.

pthread_t android_app::thread

在文件 android_native_app_glue.h173 行定义.

void* android_app::userData

在文件 android_native_app_glue.h114 行定义.

ANativeWindow* android_app::window

在文件 android_native_app_glue.h150 行定义.


该结构体的文档由以下文件生成: