/frameworks/base/core/java/android/hardware/input/ |
KeyboardLayout.java | 43 public KeyboardLayout(String descriptor, String label, String collection) { 46 mCollection = collection; 75 * Gets the name of the collection to which the keyboard layout belongs. This is 77 * @return The keyboard layout collection name.
|
/libcore/luni/src/main/java/java/util/ |
AbstractSequentialList.java | 41 public boolean addAll(int location, Collection<? extends E> collection) { 43 Iterator<? extends E> colIt = collection.iterator();
|
Vector.java | 104 * {@code collection}. The order of the elements in the new {@code Vector} 105 * is dependent on the iteration order of the seed collection. 107 * @param collection 108 * the collection of elements to add. 110 public Vector(Collection<? extends E> collection) { 111 this(collection.size(), 0); 112 Iterator<? extends E> it = collection.iterator(); 161 * Inserts the objects in the specified collection at the specified location 163 * returned from the Collection iterator. The elements with an index equa [all...] |
AbstractList.java | 259 public boolean addAll(int location, Collection<? extends E> collection) { 263 collection); 265 size += collection.size(); 276 public boolean addAll(Collection<? extends E> collection) { 278 boolean result = fullList.addAll(offset + size, collection); 280 size += collection.size(); 430 * Inserts the objects in the specified Collection at the specified location 432 * the collection's iterator [all...] |
Collections.java | 29 * {@code Collection} classes. 155 @Override public Collection values() { 363 static class SynchronizedCollection<E> implements Collection<E>, Serializable { 365 final Collection<E> c; 368 SynchronizedCollection(Collection<E> collection) { 369 c = collection; 373 SynchronizedCollection(Collection<E> collection, Object mutex) { 374 c = collection; [all...] |
LinkedList.java | 252 * elements contained in the specified {@code collection}. The order of the 254 * iteration order of {@code collection}. 256 * @param collection 257 * the collection of elements to add. 259 public LinkedList(Collection<? extends E> collection) { 261 addAll(collection); 324 * Inserts the objects in the specified collection at the specified location 326 * returned from the collection's iterator. 330 * @param collection [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HTMLAllCollectionCustom.cpp | 44 static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, AtomicString name) 47 collection->namedItems(name, namedItems); 58 static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v8::Value> argument) 62 v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(argument->ToString())); 70 RefPtr<Node> result = collection->item(index->Uint32Value());
|
V8HTMLCollectionCustom.cpp | 44 static v8::Handle<v8::Value> getNamedItems(HTMLCollection* collection, AtomicString name) 47 collection->namedItems(name, namedItems); 58 static v8::Handle<v8::Value> getItem(HTMLCollection* collection, v8::Handle<v8::Value> argument) 65 v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(asString)); 73 RefPtr<Node> result = collection->item(index->Uint32Value());
|
V8HTMLOptionsCollectionCustom.cpp | 120 HTMLOptionsCollection* collection = V8HTMLOptionsCollection::toNative(info.Holder()); local 122 RefPtr<Node> result = collection->item(index); 132 HTMLOptionsCollection* collection = V8HTMLOptionsCollection::toNative(info.Holder()); local 133 HTMLSelectElement* base = static_cast<HTMLSelectElement*>(collection->base());
|
/external/guava/guava/src/com/google/common/collect/ |
Constraints.java | 24 import java.util.Collection; 69 * Returns a constrained view of the specified collection, using the specified 70 * constraint. Any operations that add new elements to the collection will 74 * <p>The returned collection is not serializable. 76 * @param collection the collection to constrain 78 * @return a constrained view of the collection 80 public static <E> Collection<E> constrainedCollection( 81 Collection<E> collection, Constraint<? super E> constraint) [all...] |
ImmutableEnumSet.java | 22 import java.util.Collection; 65 @Override public boolean containsAll(Collection<?> collection) { 66 return delegate.containsAll(collection);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeaderList.java | 519 public boolean addAll(Collection<? extends HDR> collection) { 520 return this.hlist.addAll(collection); 523 public boolean addAll(int index, Collection<? extends HDR> collection) { 524 return this.hlist.addAll(index, collection); 528 public boolean containsAll(Collection<?> collection) { 529 return this.hlist.containsAll(collection); 613 * @see List#removeAll(java.util.Collection) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
HashMap.h | 350 void deleteAllPairSeconds(HashTableType& collection) 353 iterator end = collection.end(); 354 for (iterator it = collection.begin(); it != end; ++it) 359 inline void deleteAllValues(const HashMap<T, U, V, W, X>& collection) 361 deleteAllPairSeconds<typename HashMap<T, U, V, W, X>::MappedType>(collection); 365 void deleteAllPairFirsts(HashTableType& collection) 368 iterator end = collection.end(); 369 for (iterator it = collection.begin(); it != end; ++it) 374 inline void deleteAllKeys(const HashMap<T, U, V, W, X>& collection) 376 deleteAllPairFirsts<typename HashMap<T, U, V, W, X>::KeyType>(collection); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestCase.java | 18 import java.util.Collection; 232 * Asserts that the length of the collection is the expected size. 238 * @param collection 239 * collection 244 NodeList collection) { 245 framework.assertSize(this, assertID, expectedSize, collection); 249 * Asserts that the length of the collection is the expected size. 255 * @param collection 256 * collection 261 NamedNodeMap collection) { [all...] |
JUnitTestCaseAdapter.java | 21 import java.util.Collection; 226 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NodeList collection) { 227 assertEquals(assertID,expectedSize, collection.getLength()); 230 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NamedNodeMap collection) { 231 assertEquals(assertID, expectedSize, collection.getLength()); 234 public void assertSize(DOMTestCase test, String assertID, int expectedSize, Collection collection) { 235 assertEquals(assertID, expectedSize, collection.size()); 244 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collection actual) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
ArrayListTest.java | 21 import java.util.Collection; 67 * java.util.ArrayList#ArrayList(java.util.Collection) 70 // Test for method java.util.ArrayList(java.util.Collection) 72 assertTrue("arrayList created from collection has incorrect size", al 76 "arrayList created from collection has incorrect elements", 132 * java.util.ArrayList#addAll(int, java.util.Collection) 136 // java.util.Collection) 194 // * java.util.ArrayList#addAll(int, java.util.Collection) 200 // obj.addAll((int) -1, (Collection) null); 208 * java.util.ArrayList#addAll(java.util.Collection) 605 ArrayList collection = new ArrayList(); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionIteratorTester.java | 41 * A generic JUnit test which tests {@code iterator} operations on a collection. 52 for (E element : collection) { // uses iterator() 62 for (E element : collection) { // uses iterator() 106 return collection.iterator(); 139 Iterator<E> iterator = collection.iterator();
|
ListCreationTester.java | 41 collection = getSubjectGenerator().create(array);
|
/external/webkit/Source/WebCore/bindings/js/ |
JSHTMLDocumentCustom.cpp | 65 RefPtr<HTMLCollection> collection = document->documentNamedItems(name); local 67 unsigned length = collection->length(); 72 Node* node = collection->firstItem(); 81 return toJS(exec, collection.get());
|
/external/chromium/chrome/browser/notifications/ |
balloon.h | 53 BalloonCollection* collection); 71 const BalloonCollection* collection() const { return collection_; } function in class:Balloon 79 // to the balloon collection for checking against available space and 118 // The collection that this balloon belongs to. Non-owned pointer.
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ArrayListMultimap.java | 25 import java.util.Collection; 98 super(new HashMap<K, Collection<V>>()); 103 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); 117 * Creates a new, empty {@code ArrayList} to hold the collection of values for 128 for (Collection<V> collection : backingMap().values()) { 129 ArrayList<V> arrayList = (ArrayList<V>) collection;
|
/external/junit/src/org/junit/internal/matchers/ |
IsCollectionContaining.java | 7 import java.util.Collection; 22 public boolean matchesSafely(Iterable<T> collection) { 23 for (T item : collection) { 33 .appendText("a collection containing ") 49 Collection<Matcher<? extends Iterable<T>>> all 59 Collection<Matcher<? extends Iterable<T>>> all
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 89 private void encodeValueCollection(ASN1ValueCollection collection) { 97 collection.type.encodeASN(this); 199 private void getValueOfLength(ASN1ValueCollection collection) { 201 Object[] cv = collection.getValues(content).toArray(); 212 collection.type.setEncodingContent(this); 220 seqLen += collection.type.getEncodedLength(this);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeSet.java | 20 import java.util.Collection; 47 public SafeTreeSet(Collection<? extends E> collection) { 48 this(new TreeSet<E>(collection)); 70 @Override public boolean addAll(Collection<? extends E> collection) { 71 for (E e : collection) { 74 return delegate.addAll(collection); 98 @Override public boolean containsAll(Collection<?> c) { 159 @Override public boolean removeAll(Collection<?> c) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ArrayListTest.java | 21 import java.util.Collection; 75 * @tests java.util.ArrayList#ArrayList(java.util.Collection) 78 // Test for method java.util.ArrayList(java.util.Collection) 80 assertTrue("arrayList created from collection has incorrect size", al 84 "arrayList created from collection has incorrect elements", 90 Collection<String> collection = shrinksOnSize("A", "B", "C", "D"); local 91 ArrayList<String> list = new ArrayList<String>(collection); 189 * @tests java.util.ArrayList#addAll(int, java.util.Collection) 193 // java.util.Collection) 879 ArrayList collection = new ArrayList(); local [all...] |