OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:android_app
(Results
1 - 5
of
5
) sorted by null
/development/ndk/sources/android/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
...]
/development/ndk/platforms/android-9/samples/native-activity/jni/
main.c
45
struct
android_app
* app;
168
static int32_t engine_handle_input(struct
android_app
* app, AInputEvent* event) {
182
static void engine_handle_cmd(struct
android_app
* app, int32_t cmd) {
231
void android_main(struct
android_app
* state) {
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/
main.c
45
struct
android_app
* app;
168
static int32_t engine_handle_input(struct
android_app
* app, AInputEvent* event) {
182
static void engine_handle_cmd(struct
android_app
* app, int32_t cmd) {
231
void android_main(struct
android_app
* state) {
/development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c
375
struct
android_app
* app;
413
static int32_t engine_handle_input(struct
android_app
* app, AInputEvent* event) {
428
static void engine_handle_cmd(struct
android_app
* app, int32_t cmd) {
446
void android_main(struct
android_app
* state) {
Completed in 2156 milliseconds