HomeSort by relevance Sort by last modified time
    Searched refs:newArrayList (Results 1 - 25 of 360) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
PredicatesTest.java 39 assertTrue(Predicates.and(newArrayList(TRUE)).apply(null));
40 assertTrue(Predicates.and(newArrayList(TRUE, TRUE)).apply(null));
44 assertFalse(Predicates.and(newArrayList(FALSE, TRUE, TRUE)).apply(null));
45 assertFalse(Predicates.and(newArrayList(TRUE, FALSE, TRUE)).apply(null));
46 assertFalse(Predicates.and(newArrayList(TRUE, TRUE, FALSE)).apply(null));
50 assertTrue(Predicates.or(newArrayList(TRUE, TRUE, TRUE)).apply(null));
54 assertFalse(Predicates.or(newArrayList(FALSE, FALSE, FALSE)).apply(null));
58 assertTrue(Predicates.or(newArrayList(TRUE, FALSE, FALSE)).apply(null));
59 assertTrue(Predicates.or(newArrayList(FALSE, TRUE, FALSE)).apply(null));
60 assertTrue(Predicates.or(newArrayList(FALSE, FALSE, TRUE)).apply(null))
    [all...]
  /frameworks/base/core/java/com/google/android/collect/
Lists.java 36 public static <E> ArrayList<E> newArrayList() {
47 * <p>{@code List<Base> list = Lists.newArrayList(sub1, sub2);}
53 * <p>{@code List<Base> list = Lists.<Base>newArrayList(sub1, sub2);}
58 public static <E> ArrayList<E> newArrayList(E... elements) {
  /external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
GestureActivity.java 22 private List<MotionEvent> downEvents = Lists.newArrayList();
23 private List<MotionEvent> scrollEvents = Lists.newArrayList();
24 private List<MotionEvent> longPressEvents = Lists.newArrayList();
25 private List<MotionEvent> showPresses = Lists.newArrayList();
26 private List<MotionEvent> singleTaps = Lists.newArrayList();
27 private List<MotionEvent> confirmedSingleTaps = Lists.newArrayList();
28 private List<MotionEvent> doubleTapEvents = Lists.newArrayList();
29 private List<MotionEvent> doubleTaps = Lists.newArrayList();
64 return Lists.newArrayList(downEvents);
68 return Lists.newArrayList(scrollEvents)
    [all...]
  /external/guava/guava-tests/test/com/google/common/eventbus/
ReentrantEventsTest.java 43 Lists.<Object>newArrayList(FIRST, SECOND), hater.eventsReceived);
48 List<Object> eventsReceived = Lists.newArrayList();
78 Lists.<Object>newArrayList(FIRST, SECOND), recorder.eventsReceived);
88 List<Object> eventsReceived = Lists.newArrayList();
StringCatcher.java 32 private List<String> events = Lists.newArrayList();
  /external/guava/guava-tests/test/com/google/common/collect/
IterablesTest.java 20 import static com.google.common.collect.Lists.newArrayList;
214 Iterable<String> unfiltered = newArrayList("foo", "bar");
219 List<String> actual = newArrayList(filtered);
226 List<String> list = newArrayList();
237 List<String> list = newArrayList();
248 Iterable<String> list = newArrayList("cool", "pants");
261 Iterable<String> list = Lists.newArrayList("cool", "pants");
275 Iterable<String> list = newArrayList("cool", "pants");
295 .newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
310 List<Integer> actual = newArrayList(result)
    [all...]
IteratorsTest.java 22 import static com.google.common.collect.Lists.newArrayList;
228 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
232 List<String> actual = Lists.newArrayList(filtered);
237 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
241 List<String> actual = Lists.newArrayList(filtered);
246 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
249 List<String> expected = Lists.newArrayList("foo", "bar");
250 List<String> actual = Lists.newArrayList(filtered);
266 List<String> actual = Lists.newArrayList(filtered);
288 List<String> list = Lists.newArrayList();
    [all...]
ObjectArraysTest.java 128 doTestToArrayImpl1(Lists.<Integer>newArrayList());
129 doTestToArrayImpl1(Lists.newArrayList(1));
130 doTestToArrayImpl1(Lists.newArrayList(1, null, 3));
141 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false);
142 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true);
144 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false);
145 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true);
146 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] { 2, 3 }, true);
148 doTestToArrayImpl2(Lists.newArrayList(1, null, 3), new Integer[0], false);
149 doTestToArrayImpl2(Lists.newArrayList(1, null, 3), new Integer[2], false)
    [all...]
RangesTest.java 55 List<Integer> nullFirst = Lists.newArrayList(null, 0);
60 List<Integer> nullNotFirst = Lists.newArrayList(0, null);
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
RootsCacheTest.java 46 private List<RootInfo> mRoots = Lists.newArrayList(
64 Lists.newArrayList(mNull, mWild, mImages, mAudio, mDocs, mMalformed1, mMalformed2),
71 Lists.newArrayList(mNull, mWild, mImages, mAudio, mDocs, mMalformed1, mMalformed2),
78 Lists.newArrayList(mNull, mWild, mAudio),
85 Lists.newArrayList(mNull, mWild, mAudio, mImages),
92 Lists.newArrayList(mNull, mWild, mAudio),
99 Lists.newArrayList(mNull, mWild, mDocs),
106 Lists.newArrayList(mNull, mWild, mAudio, mDocs),
113 Lists.newArrayList(mNull, mWild, mAudio, mImages),
  /external/chromium_org/base/android/java/src/org/chromium/base/
CollectionUtil.java 26 public static <E> ArrayList<E> newArrayList(E... elements) {
32 public static <E> ArrayList<E> newArrayList(Iterable<E> iterable) {
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/property/
PropertyListIntersector.java 40 m_intersection = Lists.newArrayList();
59 List<Property> properties = Lists.newArrayList();
79 private final List<Property> m_properties = Lists.newArrayList();
  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
SparseArray.java 33 mKeys = CollectionUtils.newArrayList(initialCapacity);
34 mValues = CollectionUtils.newArrayList(initialCapacity);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
GoogleAccountType.java 40 Lists.newArrayList("com.google.android.apps.plus");
81 kind.typeList = Lists.newArrayList();
93 kind.fieldList = Lists.newArrayList();
104 kind.typeList = Lists.newArrayList();
111 kind.fieldList = Lists.newArrayList();
124 kind.typeList = Lists.newArrayList();
145 kind.fieldList = Lists.newArrayList();
159 kind.typeList = Lists.newArrayList();
171 kind.fieldList = Lists.newArrayList();
ExchangeAccountType.java 87 kind.fieldList = Lists.newArrayList();
116 kind.fieldList = Lists.newArrayList();
149 kind.fieldList = Lists.newArrayList();
164 kind.fieldList = Lists.newArrayList();
176 kind.typeList = Lists.newArrayList();
195 kind.fieldList = Lists.newArrayList();
207 kind.fieldList = Lists.newArrayList();
220 kind.typeList = Lists.newArrayList();
225 kind.fieldList = Lists.newArrayList();
263 kind.fieldList = Lists.newArrayList();
    [all...]
  /frameworks/base/core/java/android/net/
PacProxySelector.java 52 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY);
63 return Lists.newArrayList(java.net.Proxy.NO_PROXY);
86 List<Proxy> ret = Lists.newArrayList();
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
ContentProviderTask.java 109 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op));
123 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op));
136 super.run(resolver, uri.getAuthority(), Lists.newArrayList(op));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CollectionUtils.java 69 public static <E> ArrayList<E> newArrayList() {
73 public static <E> ArrayList<E> newArrayList(final int initialCapacity) {
77 public static <E> ArrayList<E> newArrayList(final Collection<E> collection) {
  /external/guava/guava-gwt/src/com/google/common/collect/
ImmutableEnumSet_CustomFieldSerializer.java 39 List<E> deserialized = Lists.newArrayList();
RegularImmutableMultiset_CustomFieldSerializer.java 38 List<Object> elements = Lists.newArrayList();
RegularImmutableSet_CustomFieldSerializer.java 39 List<Object> elements = Lists.newArrayList();
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardBuilderTest.java 36 final ArrayList<ContentValues> contentList = Lists.newArrayList();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
PersonalizationDictionary.java 34 CollectionUtils.newArrayList();
  /external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
TestableInvalidationService.java 64 List<ObjectId> objectIdList = CollectionUtil.newArrayList(objectIds);
72 List<ObjectId> objectIdList = CollectionUtil.newArrayList(objectIds);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
StopWatch.java 32 private final ArrayList<Long> mTimes = Lists.newArrayList();
33 private final ArrayList<String> mLapLabels = Lists.newArrayList();

Completed in 1395 milliseconds

1 2 3 4 5 6 7 8 91011>>