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.java69 String[] allowedTypes = getIntent().getStringArrayExtra( in onCreate() local
71 startAccountTypePicker(allowedTypes); in onCreate()
86 private void startAccountTypePicker(String[] allowedTypes) { in startAccountTypePicker() argument
88 i.putExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY, allowedTypes); in startAccountTypePicker()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java1257 final SparseArray<EventEditType> allowedTypes = new SparseArray<EventEditType>(); in migrateEvent() local
1259 allowedTypes.put(editType.rawValue, (EventEditType) editType); in migrateEvent()
1268 if (type != null && (allowedTypes.indexOfKey(type) >= 0) in migrateEvent()
1270 EventEditType suitableType = allowedTypes.get(type); in migrateEvent()
1351 final Set<Integer> allowedTypes = new HashSet<Integer>(); in migrateGenericWithTypeColumn() local
1355 allowedTypes.add(defaultType); in migrateGenericWithTypeColumn()
1365 allowedTypes.add(editType.rawValue); in migrateGenericWithTypeColumn()
1395 if (!allowedTypes.contains(oldType)) { in migrateGenericWithTypeColumn()