Home | History | Annotate | Download | only in contacts

Lines Matching refs:counts

25  * their respective counts.
37 * @param counts a non-null array of the same size as <code>sections</code>
39 public ContactsSectionIndexer(String[] sections, int[] counts) {
40 if (sections == null || counts == null) {
44 if (sections.length != counts.length) {
46 "The sections and counts arrays must have the same length");
49 // TODO process sections/counts based on current locale and/or specific section titles
52 mPositions = new int[counts.length];
54 for (int i = 0; i < counts.length; i++) {
62 position += counts[i];