Lines Matching refs:sections
80 ContactEntryAdapter(Context context, ArrayList<ArrayList<E>> sections, boolean separators) {
83 mSections = sections;
90 * @param sections the section data
92 public final void setSections(ArrayList<ArrayList<E>> sections, boolean separators) {
93 mSections = sections;
101 * @param sections the section data
105 public final int setSections(ArrayList<ArrayList<E>> sections, E entry) {
106 mSections = sections;
177 * @param sections the list of sections
181 public final static <T extends Entry> T getEntry(ArrayList<ArrayList<T>> sections,
183 int numSections = sections.size();
185 ArrayList<T> section = sections.get(i);
200 * Get the count of entries in all sections
202 * @param sections the list of sections
203 * @return the count of entries in all sections
205 public static <T extends Entry> int countEntries(ArrayList<ArrayList<T>> sections,
208 int numSections = sections.size();
210 ArrayList<T> section = sections.get(i);
216 count += sections.get(i).size();