Searched refs:canInsert (Results 1 – 4 of 4) sorted by relevance
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 90 public static boolean canInsert(RawContactDelta state, DataKind kind) { in canInsert() method in RawContactModifier 560 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) { in parseExtras() 577 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) { in parseExtras() 909 final boolean canInsert = RawContactModifier.canInsert(state, kind); in parseExtras() 911 if (!validValue || !canInsert) return null; in parseExtras()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | KindSectionView.java | 252 } else if (!RawContactModifier.canInsert(mState, mKind)) { in updateEmptyEditors()
|
D | CompactKindSectionView.java | 549 || !RawContactModifier.canInsert(rawContactDelta, dataKind) in updateEmptyNonNameEditors()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactModifierTests.java | 300 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert() 305 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert() 309 assertFalse("Able to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
|