HomeSort by relevance Sort by last modified time
    Searched defs:list (Results 451 - 475 of 4851) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/
FmLayoutToActivityMethodTest.java 22 import java.util.List;
31 List list = Collections.singletonList(new SimpleScalar(s)); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmSlashedPackageNameMethodTest.java 22 import java.util.List;
31 List list = Collections.singletonList(new SimpleScalar(s)); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmUnderscoreToCamelCaseMethodTest.java 22 import java.util.List;
31 List list = Collections.singletonList(new SimpleScalar(s)); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
  /tools/loganalysis/src/com/android/loganalysis/util/
ArrayUtil.java 22 import java.util.List;
59 * Convert a varargs list/array to an {@link List}. This is useful for building instances of
60 * {@link List} by hand. Note that this differs from {@link java.util.Arrays#asList} in that
63 * @param inputAry an array, or a varargs list
64 * @return a {@link List} instance with the identical contents
67 public static <T> List<T> list(T... inputAry) { method in class:ArrayUtil
68 List<T> retList = new ArrayList<T>(inputAry.length);
99 * joined. Otherwise, wraps the passed {@link Object}(s) in a {@link List} and joins th
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/
ArrayUtil.java 22 import java.util.List;
58 * Convert a varargs list/array to an {@link List}. This is useful for building instances of
59 * {@link List} by hand. Note that this differs from {@link java.util.Arrays#asList} in that
62 * @param inputAry an array, or a varargs list
63 * @return a {@link List} instance with the identical contents
66 public static <T> List<T> list(T... inputAry) { method in class:ArrayUtil
67 List<T> retList = new ArrayList<T>(inputAry.length);
98 * joined. Otherwise, wraps the passed {@link Object}(s) in a {@link List} and joins th
    [all...]
StreamUtil.java 133 ByteArrayList list = new ByteArrayList(); local
135 list.add((byte)inputByte);
137 list.trimToSize();
138 return list;
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationUtils.java 150 * @param types {@code non-null;} the list of (the types of) the member classes
210 CstArray.List list = new CstArray.List(size); local
213 list.set(i, new CstString(pieces.get(i)));
216 list.setImmutable();
218 result.put(new NameValuePair(VALUE_UTF, new CstArray(list)));
226 * @param types {@code non-null;} the list of thrown types
240 * @param types {@code non-null;} the type list
245 CstArray.List list = new CstArray.List(size) local
    [all...]
ClassDataItem.java 34 import java.util.List;
47 /** {@code non-null;} list of static fields */
50 /** {@code non-null;} list of initial values for static fields */
53 /** {@code non-null;} list of instance fields */
56 /** {@code non-null;} list of direct methods */
59 /** {@code non-null;} list of virtual methods */
62 /** {@code null-ok;} static initializer list; set in {@link #addContents} */
177 * Gets all the methods in this class. The returned list is not linked
179 * the objects contained in the list are shared.
181 * @return {@code non-null;} list of all method
311 CstArray.List list = new CstArray.List(size); local
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AnnotationParser.java 120 * @return {@code non-null;} the parsed list of lists of annotations
144 * @return {@code non-null;} the list of annotations read from the attribute
166 * Parses a list of annotation lists.
169 * @return {@code non-null;} the list of annotation lists read from the attribute
201 * Parses an annotation list.
204 * @return {@code non-null;} the list of annotations read from the attribute
386 CstArray.List list = new CstArray.List(numValues); local
399 list.set(i, parseValue())
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationUtils.java 151 * @param types {@code non-null;} the list of (the types of) the member classes
211 CstArray.List list = new CstArray.List(size); local
214 list.set(i, new CstString(pieces.get(i)));
217 list.setImmutable();
219 result.put(new NameValuePair(VALUE_STRING, new CstArray(list)));
241 * @param types {@code non-null;} the list of thrown types
255 * @param types {@code non-null;} the type list
260 CstArray.List list = new CstArray.List(size) local
    [all...]
ClassDataItem.java 43 /** {@code non-null;} list of static fields */
46 /** {@code non-null;} list of initial values for static fields */
49 /** {@code non-null;} list of instance fields */
52 /** {@code non-null;} list of direct methods */
55 /** {@code non-null;} list of virtual methods */
58 /** {@code null-ok;} static initializer list; set in {@link #addContents} */
173 * Gets all the methods in this class. The returned list is not linked
175 * the objects contained in the list are shared.
177 * @return {@code non-null;} list of all methods
307 CstArray.List list = new CstArray.List(size) local
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ExecutionListTest.java 39 private final ExecutionList list = new ExecutionList(); field in class:ExecutionListTest
44 list.add(new MockRunnable(countDownLatch), exec);
45 list.add(new MockRunnable(countDownLatch), exec);
46 list.add(new MockRunnable(countDownLatch), exec);
49 list.execute();
57 list.add(new Runnable() {
62 list.execute();
64 list.execute();
71 list.add(new Runnable() {
84 list.execute()
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleCollationTest.java 22 import java.util.List;
307 Set<ULocale> list = new LinkedHashSet<ULocale>(); local
308 List<UiListItem> expected = new ArrayList<UiListItem>();
310 list.add(new ULocale(item));
316 List<UiListItem> newList = names.getUiList(list, false, collator);
319 errln(list.toString() + ": wrong size" + expected + ", " + newList);
321 errln(list.toString());
327 assertEquals(list.toString(), expected, newList);
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
ULocaleCollationTest.java 21 import java.util.List;
304 Set<ULocale> list = new LinkedHashSet<ULocale>(); local
305 List<UiListItem> expected = new ArrayList<UiListItem>();
307 list.add(new ULocale(item));
313 List<UiListItem> newList = names.getUiList(list, false, collator);
316 errln(list.toString() + ": wrong size" + expected + ", " + newList);
318 errln(list.toString());
324 assertEquals(list.toString(), expected, newList);
  /external/proguard/src/proguard/gui/
ListPanel.java 28 import java.util.List;
32 * list and between lists. Extensions of this class should add buttons to add
33 * and possibly edit entries, and to set and get the resulting list.
40 protected final JList list = new JList(listModel); field in class:ListPanel
60 list.addListSelectionListener(new ListSelectionListener()
68 add(new JScrollPane(list), listConstraints);
89 removeElementsAt(list.getSelectedIndices());
104 int[] selectedIndices = list.getSelectedIndices();
125 int[] selectedIndices = list.getSelectedIndices();
155 int[] selectedIndices = list.getSelectedIndices()
187 List list = new ArrayList(getComponentCount()-1); local
    [all...]
ClassPathPanel.java 30 import java.util.List;
55 list.setCellRenderer(new MyListCellRenderer());
125 int[] selectedIndices = list.getSelectedIndices();
183 if (!list.isSelectionEmpty())
185 int[] selectedIndices = list.getSelectedIndices();
298 list.setSelectedIndices(indices);
362 public Component getListCellRendererComponent(JList list,
403 cellPanel.setBackground(list.getSelectionBackground());
404 jarNameLabel.setForeground(list.getSelectionForeground());
405 filterLabel.setForeground(list.getSelectionForeground())
    [all...]
  /frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java 105 // Setup the list
106 ListView list = findViewById(android.R.id.list); local
108 list.setAdapter(new AccountArrayAdapter(this,
110 list.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
111 list.setTextFilterEnabled(true);
112 list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
ChooseAccountTypeActivity.java 74 // Create a list of authenticators that are allowable. Filter out those that
101 // Setup the list
102 ListView list = findViewById(android.R.id.list); local
104 list.setAdapter(new AccountArrayAdapter(this,
106 list.setChoiceMode(ListView.CHOICE_MODE_NONE);
107 list.setTextFilterEnabled(false);
108 list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ExpectedKeyboardBuilder.java 117 final ArrayList<ExpectedKey> list = new ArrayList<>(); local
120 list.add((ExpectedKey)key);
122 list.addAll(Arrays.asList((ExpectedKey[])key));
124 list.add(ExpectedKey.newInstance((String)key));
129 return list.toArray(new ExpectedKey[list.size()]);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
TransliteratorInputMethod.java 687 JList list,
697 setBackground(list.getSelectionBackground());
698 setForeground(list.getSelectionForeground());
700 setBackground(list.getBackground());
701 setForeground(list.getForeground());
704 setEnabled(list.isEnabled());
705 setFont(list.getFont());
  /frameworks/base/core/tests/coretests/src/android/os/
AidlTest.java 26 import java.util.List;
113 public TestParcelable listParcelableLonger(List<TestParcelable> list, int index) {
114 list.add(list.get(index));
115 return list.get(index);
118 public int listParcelableShorter(List<TestParcelable> list, int index) {
119 list.remove(index);
120 return list.size()
241 List<TestParcelable> list = Lists.newArrayList(); local
265 List<TestParcelable> list = Lists.newArrayList(); local
    [all...]
  /art/test/092-locale/src/
Main.java 103 String[] list = syms.getAmPmStrings(); local
104 System.out.println("USA dfs: " + Arrays.deepToString(list));
  /art/test/1919-vminit-thread-start-timing/
vminit.cc 57 EventList* list = nullptr; local
58 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list)));
59 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex));
60 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) });
61 CheckJvmtiError(jvmti, jvmti->RawMonitorExit(list->events_mutex));
67 EventList* list = nullptr; local
68 CheckJvmtiError(jvmti, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list)));
69 CheckJvmtiError(jvmti, jvmti->RawMonitorEnter(list->events_mutex));
72 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) });
75 CheckJvmtiError(jvmti, jvmti->RawMonitorNotify(list->events_mutex))
104 EventList* list = nullptr; local
130 EventList* list = nullptr; local
150 EventList* list = nullptr; local
171 EventList* list = nullptr; local
    [all...]
  /art/test/911-get-stack-trace/src/art/
ThreadListTraces.java 32 Thread list[] = new Thread[N/2 + 1]; local
43 list[i/2] = t;
46 list[list.length - 1] = Thread.currentThread();
52 printList(list, 0);
54 printList(list, 5);
56 printList(list, 25);
  /bionic/libc/bionic/
net_if.cpp 9 * notice, this list of conditions and the following disclaimer.
11 * notice, this list of conditions and the following disclaimer in
80 explicit if_list(if_list** list) {
81 // push_front onto `list`.
82 next = *list;
83 *list = this;
86 static void Free(if_list* list, bool names_too) {
87 while (list) {
88 if_list* it = list;
89 list = it->next
97 if_list** list = reinterpret_cast<if_list**>(context); local
118 if_list* list = nullptr; local
    [all...]

Completed in 746 milliseconds

<<11121314151617181920>>