Searched defs:collection (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java303 private static <T> Set<T> toSet(Collection<T> collection) { argument
305 ret.addAll(collection);
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
H A DVehiclePropValueUtil.java253 public static int[] toIntArray(List<Integer> collection) { argument
254 int[] array = new int[collection.size()];
256 for (int value : collection) {
262 public static float[] toFloatArray(List<Float> collection) { argument
263 float[] array = new float[collection.size()];
265 for (float value : collection) {
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DKeyboardLayoutDialogFragment.java244 String label, collection;
247 collection = item.getCollection();
250 collection = "";
254 if (collection.isEmpty()) {
257 return inflateTwoLine(convertView, parent, label, collection, checked);
277 String label, String collection, boolean checked) {
290 subText.setText(collection);
276 inflateTwoLine(View convertView, ViewGroup parent, String label, String collection, boolean checked) argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java699 public static <E> ArraySet<E> newArraySet(Collection<E> collection) { argument
700 final ArraySet<E> arraySet = new ArraySet<>(collection.size());
701 arraySet.addAll(collection);
/packages/apps/TV/src/com/android/tv/util/
H A DUtils.java563 * Check if the index is valid for the collection,
564 * @param collection the collection
566 * @return index >= 0 && index < collection.size().
568 public static boolean isIndexValid(@Nullable Collection<?> collection, int index) { argument
569 return collection == null ? false : index >= 0 && index < collection.size();
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DConversation.java688 * found in the collection of conversations specified as the haystack. False
714 * Returns a collection of a single conversation. This method always returns
715 * a valid collection even if the input conversation is null.
718 * @return a collection of the conversation.
774 * @param collection Any collection of conversations
777 public static String toString(Collection<Conversation> collection) { argument
778 final StringBuilder out = new StringBuilder(collection.size() + " conversations:");
780 for (final Conversation c : collection) {
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java1918 * collection
1919 * @param collection The collection to which the strings will be added. If
1921 * @return The collection to which the substrings were added. This is
1931 Collection<String> collection) {
1935 if (collection == null) {
1936 collection = new ArrayList<String>();
1939 collection.add(in);
1940 return collection;
1951 collection
1927 string2Collection( String in, String delimiter, boolean doStrip, Collection<String> collection) argument
[all...]
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 176 milliseconds