Searched defs:oldState (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
H A DBrowserBackupAgent.java60 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
68 new FileInputStream(oldState.getFileDescriptor()));
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java74 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
79 long[] stateChecksums = readOldChecksums(oldState);
103 private long[] readOldChecksums(ParcelFileDescriptor oldState) throws IOException { argument
107 new FileInputStream(oldState.getFileDescriptor()));
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStateManager.java201 void switchState(ActivityState oldState, argument
203 Log.v(TAG, "switchState " + oldState + ", " + klass);
204 if (oldState != mStack.peek().activityState) {
206 + " is not at the top of the stack: " + oldState + ", "
211 if (mIsResumed) oldState.onPause();
212 oldState.onDestroy();
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEntityModifier.java938 EntityDelta oldState, EntityDelta newState,
941 // Just copying all data in oldState isn't enough, but we can still rely on a lot of
947 migrateStructuredName(context, oldState, newState, kind);
949 List<ValuesDelta> entryList = oldState.getMimeEntries(mimeType);
962 // All the other data inside oldState are silently dropped.
971 migrateStructuredName(context, oldState, newState, kind);
973 migratePostal(oldState, newState, kind);
975 migrateEvent(oldState, newState, kind, null /* default Year */);
977 migrateGenericWithoutTypeColumn(oldState, newState, kind);
979 migrateGenericWithTypeColumn(oldState, newStat
937 migrateStateForNewContact(Context context, EntityDelta oldState, EntityDelta newState, AccountType oldAccountType, AccountType newAccountType) argument
1009 migrateStructuredName( Context context, EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1112 migratePostal(EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1223 migrateEvent(EntityDelta oldState, EntityDelta newState, DataKind newDataKind, Integer defaultYear) argument
1278 migrateGenericWithoutTypeColumn( EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1295 migrateGenericWithTypeColumn( EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java605 * @param oldState Old data being edited.
606 * @param oldAccount Old account associated with oldState.
610 EntityDelta oldState, AccountWithDataSet oldAccount, AccountWithDataSet newAccount) {
624 bindEditorsForNewContact(newAccount, newAccountType, oldState, oldAccountType);
634 final AccountType newAccountType, EntityDelta oldState, AccountType oldAccountType) {
649 if (oldState == null) {
653 EntityModifier.migrateStateForNewContact(mContext, oldState, insert,
609 rebindEditorsForNewContact( EntityDelta oldState, AccountWithDataSet oldAccount, AccountWithDataSet newAccount) argument
633 bindEditorsForNewContact(AccountWithDataSet newAccount, final AccountType newAccountType, EntityDelta oldState, AccountType oldAccountType) argument

Completed in 93 milliseconds