HomeSort by relevance Sort by last modified time
    Searched refs:validTypes (Results 1 - 2 of 2) sorted by null

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactModifier.java 93 final boolean validTypes = hasValidTypes(state, kind);
96 return (validTypes && validOverall);
173 final ArrayList<EditType> validTypes = new ArrayList<EditType>();
176 if (!hasEditTypes(kind)) return validTypes;
194 validTypes.add(type);
198 return validTypes;
312 final ArrayList<EditType> validTypes = getValidTypes(state, kind, null, includeSecondary,
314 if (validTypes.size() == 0) return null;
317 final EditType lastType = validTypes.get(validTypes.size() - 1)
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactModifierTests.java 213 List<EditType> validTypes;
221 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null);
222 assertContains(validTypes, typeHome);
223 assertNotContains(validTypes, typeWork);
224 assertContains(validTypes, typeOther);
230 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null);
231 assertNotContains(validTypes, typeHome);
232 assertNotContains(validTypes, typeWork);
233 assertContains(validTypes, typeOther);
240 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null)
    [all...]

Completed in 502 milliseconds