Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java296 public final int summaryCount; field in GroupUtil.GroupsProjection
309 summaryCount = cursor.getColumnIndex(Groups.SUMMARY_COUNT); in GroupsProjection()
324 summaryCount = list.indexOf(Groups.SUMMARY_COUNT); in GroupsProjection()
348 return cursor.getInt(summaryCount); in getSummaryCount()
353 systemId == -1 || summaryCount == -1) { in isEmptyFFCGroup()
359 && cursor.getInt(summaryCount) <= 0; in isEmptyFFCGroup()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java122 final int summaryCount = cursor.getInt(Projections.COL_SUMMARY_COUNT); in testGroupSummary() local
127 assertEquals("Incorrect Grey count", 4, summaryCount); in testGroupSummary()
131 assertEquals("Incorrect Red count", 3, summaryCount); in testGroupSummary()
135 assertEquals("Incorrect Green count", 1, summaryCount); in testGroupSummary()
139 assertEquals("Incorrect Blue count", 0, summaryCount); in testGroupSummary()