OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:android_app
(Results
1 - 4
of
4
) sorted by null
/development/ndk/sources/android/native_app_glue/
android_native_app_glue.c
39
static void free_saved_state(struct
android_app
*
android_app
) {
40
pthread_mutex_lock(&
android_app
->mutex);
41
if (
android_app
->savedState != NULL) {
42
free(
android_app
->savedState);
43
android_app
->savedState = NULL;
44
android_app
->savedStateSize = 0;
46
pthread_mutex_unlock(&
android_app
->mutex);
49
int8_t android_app_read_cmd(struct
android_app
*
android_app
) {
209
struct
android_app
*
android_app
= (struct
android_app
*)param;
local
245
struct
android_app
*
android_app
= (struct
android_app
*)malloc(sizeof(struct
android_app
));
local
352
struct
android_app
*
android_app
= (struct
android_app
*)activity->instance;
local
386
struct
android_app
*
android_app
= (struct
android_app
*)activity->instance;
local
392
struct
android_app
*
android_app
= (struct
android_app
*)activity->instance;
local
[
all
...]
android_native_app_glue.h
50
* 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
* app, int32_t cmd)
[
all
...]
/external/skia/platform_tools/android/third_party/native_app_glue/
android_native_app_glue.c
38
static void free_saved_state(struct
android_app
*
android_app
) {
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
) {
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
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
...]
android_native_app_glue.h
50
* 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
* app, int32_t cmd)
[
all
...]
Completed in 204 milliseconds