Home
last modified time | relevance | path

Searched refs:allowedTypes (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAddAccountWithTypeActivity.java71 String[] allowedTypes = getIntent().getStringArrayExtra( in onCreate() local
73 if (allowedTypes == null || allowedTypes.length == 0) { in onCreate()
74 allowedTypes = getIntent().getStringArrayExtra(Settings.EXTRA_ACCOUNT_TYPES); in onCreate()
76 startAccountTypePicker(allowedTypes); in onCreate()
91 private void startAccountTypePicker(String[] allowedTypes) { in startAccountTypePicker() argument
93 i.putExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY, allowedTypes); in startAccountTypePicker()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1189 final SparseArray<EventEditType> allowedTypes = new SparseArray<EventEditType>(); in migrateEvent() local
1191 allowedTypes.put(editType.rawValue, (EventEditType) editType); in migrateEvent()
1200 if (type != null && (allowedTypes.indexOfKey(type) >= 0) in migrateEvent()
1202 EventEditType suitableType = allowedTypes.get(type); in migrateEvent()
1283 final Set<Integer> allowedTypes = new HashSet<Integer>(); in migrateGenericWithTypeColumn() local
1287 allowedTypes.add(defaultType); in migrateGenericWithTypeColumn()
1297 allowedTypes.add(editType.rawValue); in migrateGenericWithTypeColumn()
1327 if (!allowedTypes.contains(oldType)) { in migrateGenericWithTypeColumn()