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

  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java 94 final boolean validTypes = hasValidTypes(state, kind);
97 return (validTypes && validOverall);
174 final ArrayList<EditType> validTypes = new ArrayList<EditType>();
177 if (!hasEditTypes(kind)) return validTypes;
195 validTypes.add(type);
199 return validTypes;
313 final ArrayList<EditType> validTypes = getValidTypes(state, kind, null, includeSecondary,
315 if (validTypes.size() == 0) return null;
318 final EditType lastType = validTypes.get(validTypes.size() - 1)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
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 43 milliseconds