/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionViewInflater.java | 59 return Collections.singletonList(mViewType);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestsForListsInJavaUtil.java | 115 return Collections.singletonList(elements[0]); 118 .named("singletonList")
|
AbstractCollectionTestSuiteBuilder.java | 82 return Collections.singletonList(
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AbstractAppleMetaDataBox.java | 26 return Collections.singletonList((Box) appleDataBox); 44 return (List<T>) Collections.singletonList(appleDataBox);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
ExportGradleTest.java | 69 builder.setProject(Collections.singletonList(javaProject)); 150 builder.setProject(Collections.singletonList(javaProject)); 214 builder.setProject(Collections.singletonList(javaProject));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
TextTrackImpl.java | 54 ftab.setEntries(Collections.singletonList(new FontTableBox.FontRecord(1, "Serif")));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
Path.java | 67 return Collections.singletonList(box);
|
/libcore/luni/src/main/java/java/net/ |
ProxySelectorImpl.java | 32 return Collections.singletonList(selectOneProxy(uri));
|
/libcore/luni/src/test/java/libcore/util/ |
CollectionUtilsTest.java | 84 assertEquals(Collections.singletonList("A"), list);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutRefactoringTest.java | 123 List<Element> selectedElements = Collections.singletonList(element);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TableLayoutRule.java | 88 mRulesEngine.select(Collections.singletonList(newRow)); 149 rulesEngine.select(Collections.singletonList(newRow));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutContentAssist.java | 169 superClasses = Collections.singletonList(CLASS_VIEW); 173 superClasses = Collections.singletonList(CLASS_ACTIVITY);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
IterablesTest.java | 145 Iterable<String> iterable = Collections.singletonList("foo"); 168 Iterable<String> iterable = Collections.singletonList("foo"); 200 Iterable<String> iterable = Collections.singletonList("a"); 218 List<String> expected = Collections.singletonList("foo"); 448 assertEquals(Collections.singletonList(1), partitions.iterator().next()); 635 Iterable<String> singletonList = Collections.singletonList("foo"); 636 assertFalse(Iterables.isEmpty(singletonList)); 825 Iterable<String> iterable = Collections.singletonList("foo"); 863 Iterable<String> iterable = Collections.singletonList("foo") [all...] |
ImmutableListTest.java | 138 assertEquals(Collections.singletonList("a"), list); 249 assertEquals(Collections.singletonList(array), list); 261 assertEquals(Collections.singletonList("a"), list); 291 assertEquals(Collections.singletonList("a"), list); 322 assertEquals(Collections.singletonList("a"), list);
|
IteratorsTest.java | 129 Iterator<String> iterator = Collections.singletonList("foo").iterator(); 180 Iterator<String> iterator = Collections.singletonList("foo").iterator(); 214 Iterator<String> iterator = Collections.singletonList("a").iterator(); 231 List<String> expected = Collections.singletonList("foo"); 528 assertEquals(Collections.singletonList("b"), iterable); [all...] |
PeekingIteratorTest.java | 95 actsLikeIteratorHelper(Collections.singletonList(new Object()));
|
/libcore/luni/src/test/java/libcore/java/net/ |
CookiesTest.java | 319 result.put("Cookie", Collections.singletonList("Bar=bar")); 320 result.put("Cookie2", Collections.singletonList("Baz=baz")); 321 result.put("Quux", Collections.singletonList("quux")); 369 result.put("COOKIE", Collections.singletonList("Bar=bar")); 370 result.put("cooKIE2", Collections.singletonList("Baz=baz"));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 80 assertEquals(Collections.singletonList("42"), out.lines);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseVoicemailProviderTest.java | 137 return Collections.singletonList(input);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
MarqueeGesture.java | 88 return Collections.<Overlay> singletonList(mOverlay);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
DeletionHandlerTest.java | 73 List<INode> deletedNodes = Collections.<INode>singletonList(button2); 325 List<INode> deletedNodes = Collections.<INode>singletonList(button1); 397 List<INode> deletedNodes = Collections.<INode>singletonList(button2); 398 List<INode> movedNodes = Collections.<INode>singletonList(button2);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfoTest.java | 665 root.setChildren(Collections.singletonList(child)); 667 child.setChildren(Collections.singletonList(grandChild)); [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListSubListTester.java | 122 Collections.singletonList(samples.e3), subList); 174 Collections.singletonList(samples.e1), subList);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RawHeaders.java | 342 result.put(null, Collections.unmodifiableList(Collections.singletonList(statusLine))); 344 result.put(null, Collections.unmodifiableList(Collections.singletonList(requestLine)));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 194 callback.action(orientationAction, Collections.singletonList(node), VALUE_VERTICAL, true); 199 callback.action(orientationAction, Collections.singletonList(node), VALUE_HORIZONTAL,
|