Searched refs:savedState (Results 1 - 12 of 12) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DReorderFour.java30 protected void onCreate(Bundle savedState) { argument
31 super.onCreate(savedState);
H A DReorderOnLaunch.java30 protected void onCreate(Bundle savedState) { argument
31 super.onCreate(savedState);
H A DReorderThree.java30 protected void onCreate(Bundle savedState) { argument
31 super.onCreate(savedState);
H A DReorderTwo.java30 protected void onCreate(Bundle savedState) { argument
31 super.onCreate(savedState);
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
H A DForegroundNdefPush.java37 public void onCreate(Bundle savedState) { argument
38 super.onCreate(savedState);
H A DTechFilter.java32 public void onCreate(Bundle savedState) { argument
33 super.onCreate(savedState);
H A DForegroundDispatch.java45 public void onCreate(Bundle savedState) { argument
46 super.onCreate(savedState);
/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.c40 if (android_app->savedState != NULL) {
41 free(android_app->savedState);
42 android_app->savedState = NULL;
243 void* savedState, size_t savedStateSize) {
251 if (savedState != NULL) {
252 android_app->savedState = malloc(savedStateSize);
254 memcpy(android_app->savedState, savedState, savedStateSize);
352 void* savedState = NULL; local
362 if (android_app->savedState !
242 android_app_create(ANativeActivity* activity, void* savedState, size_t savedStateSize) argument
422 ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, size_t savedStateSize) argument
[all...]
H A Dandroid_native_app_glue.h134 // APP_CMD_RESUME, at which point it will be freed and savedState set to NULL.
139 void* savedState; member in struct:android_app
291 * allocate it with malloc and place it in android_app.savedState with
/development/samples/LunarLander/src/com/example/android/lunarlander/
H A DLunarView.java327 * @param savedState Bundle containing the game state
329 public synchronized void restoreState(Bundle savedState) { argument
335 mDifficulty = savedState.getInt(KEY_DIFFICULTY);
336 mX = savedState.getDouble(KEY_X);
337 mY = savedState.getDouble(KEY_Y);
338 mDX = savedState.getDouble(KEY_DX);
339 mDY = savedState.getDouble(KEY_DY);
340 mHeading = savedState.getDouble(KEY_HEADING);
342 mLanderWidth = savedState.getInt(KEY_LANDER_WIDTH);
343 mLanderHeight = savedState
[all...]
/development/ndk/platforms/android-9/samples/native-activity/jni/
H A Dmain.c187 engine->app->savedState = malloc(sizeof(struct saved_state));
188 *((struct saved_state*)engine->app->savedState) = engine->state;
250 if (state->savedState != NULL) {
252 engine.state = *(struct saved_state*)state->savedState;
/development/ndk/platforms/android-9/include/android/
H A Dnative_activity.h224 * the savedState will be non-NULL and point to the saved data. You must make
229 void* savedState, size_t savedStateSize);

Completed in 470 milliseconds