Searched refs:SmallItem (Results 1 – 2 of 2) sorted by relevance
83 private static final Comparator<SmallItem> sDateComparator =86 private static class DateComparator implements Comparator<SmallItem> {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()164 ArrayList<SmallItem> items = mClusters.get(index).getItems(); in getCluster()192 private void compute(SmallItem currentItem) { in compute()204 SmallItem prevItem = mCurrCluster.getLastItem(); in compute()249 ArrayList<SmallItem> currClusterItems = mCurrCluster.getItems(); in splitAndAddCurrentCluster()[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()121 mClusters = new ArrayList<ArrayList<SmallItem>>(); in run()[all …]