Home | History | Annotate | Download | only in list

Lines Matching refs:counts

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