Searched defs:Collapsible (Results 1 - 2 of 2) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DCollapser.java26 * collapsible should implement the Collapsible interface. The class also contains a utility
47 public interface Collapsible<T> { interface in class:Collapser
54 * Collapses a list of Collapsible items into a list of collapsed items. Items are collapsed
55 * if {@link Collapsible#shouldCollapseWith(Object)} returns true, and are collapsed
56 * through the {@Link Collapsible#collapseWith(Object)} function implemented by the data item.
58 * @param list List of Objects of type <T extends Collapsible<T>> to be collapsed.
60 public static <T extends Collapsible<T>> void collapseList(List<T> list, Context context) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DCollapser.java24 * collapsible should implement the Collapsible interface. The class also contains a utility
39 public interface Collapsible<T> { interface in class:Collapser
45 * Collapses a list of Collapsible items into a list of collapsed items. Items are collapsed
46 * if {@link Collapsible#shouldCollapseWith(Object) return strue, and are collapsed
47 * through the {@Link Collapsible#collapseWith(Object)} function implemented by the data item.
49 * @param list ArrayList of Objects of type <T extends Collapsible<T>> to be collapsed.
51 public static <T extends Collapsible<T>> void collapseList(ArrayList<T> list) {

Completed in 139 milliseconds