Lines Matching defs:defaultType
1154 int defaultType;
1156 defaultType = newDataKind.defaultValues.getAsInteger(StructuredPostal.TYPE);
1158 defaultType = newDataKind.typeList.get(0).rawValue;
1160 values.put(StructuredPostal.TYPE, defaultType);
1318 // 1. detect defaultType
1323 // 3.2 replace unallowed types with defaultType
1326 // Here, defaultType can be supplied in two ways
1329 Integer defaultType = null;
1331 defaultType = newDataKind.defaultValues.getAsInteger(COLUMN_FOR_TYPE);
1336 if (defaultType != null) {
1337 allowedTypes.add(defaultType);
1338 typeSpecificMaxMap.put(defaultType, -1);
1343 // anything other than defaultType into allowedTypes and typeSpecificMapMax.
1350 if (defaultType == null) {
1351 defaultType = newDataKind.typeList.get(0).rawValue;
1355 if (defaultType == null) {
1379 if (defaultType != null) {
1380 typeForNewAccount = defaultType.intValue();
1381 values.put(COLUMN_FOR_TYPE, defaultType.intValue());