Searched refs:CycleItem (Results 1 – 1 of 1) sorted by relevance
24 public class CycleAdapter extends SettingsSpinnerAdapter<CycleAdapter.CycleItem> {38 public int findNearestPosition(CycleItem target) { in findNearestPosition()42 final CycleItem item = getItem(i); in findNearestPosition()54 add(new CycleAdapter.CycleItem(getContext(), cycles.get(i + 1), cycles.get(i))); in setInitialCycleList()67 final CycleAdapter.CycleItem previousItem = (CycleAdapter.CycleItem) in updateCycleList()73 add(new CycleAdapter.CycleItem(context, cycle.getLower(), cycle.getUpper())); in updateCycleList()86 public static class CycleItem implements Comparable<CycleItem> { class in CycleAdapter91 public CycleItem(Context context, long start, long end) { in CycleItem() method in CycleAdapter.CycleItem104 if (o instanceof CycleItem) { in equals()105 final CycleItem another = (CycleItem) o; in equals()[all …]