Searched refs:collection (Results 1 - 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DCollectionUtils.java71 public static <E> ArrayList<E> newArrayList(final Collection<E> collection) { argument
72 return new ArrayList<E>(collection);
84 final Collection<E> collection) {
85 return new CopyOnWriteArrayList<E>(collection);
83 newCopyOnWriteArrayList( final Collection<E> collection) argument
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideModel.java71 * Create a SlideModel with exist media collection.
74 * @param mediaList The exist media collection.
288 public boolean addAll(Collection<? extends MediaModel> collection) { argument
319 public boolean containsAll(Collection<?> collection) { argument
320 return mMedia.containsAll(collection);
340 public boolean removeAll(Collection<?> collection) { argument
344 public boolean retainAll(Collection<?> collection) { argument
365 Collection<? extends MediaModel> collection) {
364 addAll(int location, Collection<? extends MediaModel> collection) argument
H A DSlideshowModel.java417 public boolean addAll(Collection<? extends SlideModel> collection) { argument
439 public boolean containsAll(Collection<?> collection) { argument
440 return mSlides.containsAll(collection);
462 public boolean removeAll(Collection<?> collection) { argument
466 public boolean retainAll(Collection<?> collection) { argument
498 Collection<? extends SlideModel> collection) {
497 addAll(int location, Collection<? extends SlideModel> collection) argument
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DKeyboardLayoutDialogFragment.java231 String label, collection;
234 collection = item.getCollection();
237 collection = "";
241 if (collection.isEmpty()) {
244 return inflateTwoLine(convertView, parent, label, collection, checked);
264 String label, String collection, boolean checked) {
277 subText.setText(collection);
263 inflateTwoLine(View convertView, ViewGroup parent, String label, String collection, boolean checked) argument
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java293 private static <T> Set<T> toSet(Collection<T> collection) { argument
295 ret.addAll(collection);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java959 public static long[] toPrimitiveLongArray(Collection<Long> collection) { argument
962 final int size = collection.size();
966 for (Long value : collection) {

Completed in 162 milliseconds