Lines Matching refs:oldState
938 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, newState, kind);
1010 Context context, EntityDelta oldState, EntityDelta newState, DataKind newDataKind) {
1012 oldState.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE).getAfter();
1112 public static void migratePostal(EntityDelta oldState, EntityDelta newState,
1115 oldState.getMimeEntries(StructuredPostal.CONTENT_ITEM_TYPE));
1223 public static void migrateEvent(EntityDelta oldState, EntityDelta newState,
1226 oldState.getMimeEntries(Event.CONTENT_ITEM_TYPE));
1279 EntityDelta oldState, EntityDelta newState, DataKind newDataKind) {
1281 oldState.getMimeEntries(newDataKind.mimeType));
1296 EntityDelta oldState, EntityDelta newState, DataKind newDataKind) {
1297 final ArrayList<ValuesDelta> mimeEntries = oldState.getMimeEntries(newDataKind.mimeType);