Home
last modified time | relevance | path

Searched refs:mClusters (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java71 private ArrayList<Cluster> mClusters; field in TimeClustering
95 mClusters = new ArrayList<Cluster>(); in TimeClustering()
150 int m = mClusters.size(); in run()
153 mNames[i] = mClusters.get(i).generateCaption(mContext); in run()
159 return mClusters.size(); in getNumberOfClusters()
164 ArrayList<SmallItem> items = mClusters.get(index).getItems(); in getCluster()
194 int numClusters = mClusters.size(); in compute()
206 mClusters.add(mCurrCluster); in compute()
217 mClusters.add(mCurrCluster); in compute()
231 int numClusters = mClusters.size(); in compute()
[all …]
DFaceClustering.java32 private FaceCluster[] mClusters; field in FaceClustering
117 mClusters = map.values().toArray(new FaceCluster[m + ((untagged.size() > 0) ? 1 : 0)]); in run()
119 mClusters[m] = untagged; in run()
125 return mClusters.length; in getNumberOfClusters()
130 return mClusters[index].mPaths; in getCluster()
135 return mClusters[index].mName; in getClusterName()
140 return mClusters[index].getCover(); in getClusterCover()
DTagClustering.java31 private ArrayList<ArrayList<Path>> mClusters; field in TagClustering
68 mClusters = new ArrayList<ArrayList<Path>>(); in run()
73 mClusters.add(entry.getValue()); in run()
77 mClusters.add(untagged); in run()
83 return mClusters.size(); in getNumberOfClusters()
88 return mClusters.get(index); in getCluster()
DSizeClustering.java31 private ArrayList<Path>[] mClusters; field in SizeClustering
85 mClusters = new ArrayList[count]; in run()
96 mClusters[k] = group[i]; in run()
125 return mClusters.length; in getNumberOfClusters()
130 return mClusters[index]; in getCluster()
DLocationClustering.java42 private ArrayList<ArrayList<SmallItem>> mClusters; field in LocationClustering
122 mClusters = new ArrayList<ArrayList<SmallItem>>(); in run()
127 mClusters.add(cluster); in run()
137 mClusters.add(withoutLatLong); in run()
184 return mClusters.size(); in getNumberOfClusters()
189 ArrayList<SmallItem> items = mClusters.get(index); in getCluster()