Searched refs:SmallItem (Results 1 – 2 of 2) sorted by relevance
88 public int compare(SmallItem item1, SmallItem item2) { in compare()102 final SmallItem[] buf = new SmallItem[total]; in run()109 SmallItem s = new SmallItem(); in run()119 ArrayList<SmallItem> items = new ArrayList<SmallItem>(total); in run()322 private static boolean isGeographicallySeparated(SmallItem itemA, SmallItem itemB) { in isGeographicallySeparated()337 private static long timeDistance(SmallItem a, SmallItem b) { in timeDistance()342 class SmallItem { class356 private ArrayList<SmallItem> mItems = new ArrayList<SmallItem>();361 public void addItem(SmallItem item) { in addItem()369 public SmallItem getLastItem() { in getLastItem()[all …]
41 private ArrayList<ArrayList<SmallItem>> mClusters;55 private static class SmallItem { class in LocationClustering69 final SmallItem[] buf = new SmallItem[total]; in run()76 SmallItem s = new SmallItem(); in run()85 final ArrayList<SmallItem> withLatLong = new ArrayList<SmallItem>(); in run()86 final ArrayList<SmallItem> withoutLatLong = new ArrayList<SmallItem>(); in run()89 SmallItem s = buf[i]; in run()99 ArrayList<ArrayList<SmallItem>> clusters = new ArrayList<ArrayList<SmallItem>>(); in run()110 clusters.add(new ArrayList<SmallItem>()); in run()122 for (ArrayList<SmallItem> cluster : clusters) { in run()[all …]