Lines Matching refs:sets
858 final ArrayList<MediaSet> sets = new ArrayList<MediaSet>();
875 sets.ensureCapacity(sortCursor.getCount());
880 sets.add(cameraSet);
892 sets.add(mediaSet);
904 writeSetsToCache(sets);
909 populateMediaItemsForSets(context, sets, acceleratedSets, false);
924 final ArrayList<MediaSet> sets = new ArrayList<MediaSet>(numIds);
929 sets.add(set);
934 populateMediaItemsForSets(context, sets, acceleratedSets, true);
1015 // We now check for any deleted sets.
1068 private final static void populateMediaItemsForSets(final Context context, final ArrayList<MediaSet> sets,
1070 if (sets == null || sets.size() == 0 || Thread.interrupted()) {
1081 int numSets = sets.size();
1084 whereString.append(sets.get(i).mId);
1107 final int numSets = sets.size();
1110 final MediaSet set = sets.get(i);
1139 if (sets.size() > 0) {
1140 writeItemsToCache(sets);
1146 private static final void writeSetsToCache(final ArrayList<MediaSet> sets) {
1148 final int numSets = sets.size();
1156 final MediaSet set = sets.get(i);
1177 private static final void writeItemsToCache(final ArrayList<MediaSet> sets) {
1178 final int numSets = sets.size();
1183 writeItemsForASet(sets.get(i));