Searched defs:items (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestBasic.java35 private String[] items = {"This is a very very very very very very very very very very very long Item1", "Item2"}; field in class:BiDiTestBasic
60 builder.setSingleChoiceItems(items, 0, null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DMenu.java31 public List<Item> items; field in class:Menu
44 items = new ArrayList<Item>();
60 // rebuild items list.
61 items = new ArrayList<Item>();
65 items.add(item);
84 // write items list to the parcel.
85 int size = items.size();
88 dest.writeParcelable(items.get(i), flags);
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java299 static byte[] toLengthPrefixedList(byte[]... items) { argument
300 if (items.length == 0) {
301 throw new IllegalArgumentException("items.length == 0");
304 for (byte[] s : items) {
312 for (byte[] s : items) {
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java358 public SentenceTextInfoParams(TextInfo ti, ArrayList<SentenceWordItem> items) { argument
360 mItems = items;
361 mSize = items.size();
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java202 * Adds the specified items at the end of the array.
204 * @param items The items to add at the end of the array.
206 public void addAll(T ... items) { argument
209 Collections.addAll(mOriginalValues, items);
211 Collections.addAll(mObjects, items);
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { argument
171 for (T item : items) {
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java137 * @param items The animations that will be started simultaneously.
139 public void playTogether(Animator... items) { argument
140 if (items != null) {
142 Builder builder = play(items[0]);
143 for (int i = 1; i < items.length; ++i) {
144 builder.with(items[i]);
152 * @param items The animations that will be started simultaneously.
154 public void playTogether(Collection<Animator> items) { argument
155 if (items != null && items
174 playSequentially(Animator... items) argument
193 playSequentially(List<Animator> items) argument
[all...]
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c317 XAAndroidBufferItem items[1]; local
318 items[0].itemKey = XA_ANDROID_ITEMKEY_DISCONTINUITY;
319 items[0].itemSize = 0;
324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/,
/frameworks/base/core/java/android/app/
H A DAlertDialog.java607 * Set a list of items to be displayed in the dialog as the content, you will be notified of the
619 * Set a list of items to be displayed in the dialog as the content, you will be notified of the
624 public Builder setItems(CharSequence[] items, final OnClickListener listener) { argument
625 P.mItems = items;
631 * Set a list of items, which are supplied by the given {@link ListAdapter}, to be
635 * @param adapter The {@link ListAdapter} to supply the list of items
647 * Set a list of items, which are supplied by the given {@link Cursor}, to be
651 * @param cursor The {@link Cursor} to supply the list of items
667 * Set a list of items to be displayed in the dialog as the content,
675 * @param checkedItems specifies which items ar
710 setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final OnMultiChoiceClickListener listener) argument
812 setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener listener) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp248 check_filenames(const char* filename, document_item_type* items) argument
251 while (items) {
252 if (items->item_type == USER_DATA_TYPE) {
253 user_data_type* p = (user_data_type*)items;
256 else if (items->item_type == INTERFACE_TYPE_BINDER
257 || items->item_type == INTERFACE_TYPE_RPC) {
258 interface_type* c = (interface_type*)items;
263 items->item_type);
266 items = items
300 gather_types(const char* filename, document_item_type* items) argument
549 check_types(const char* filename, document_item_type* items) argument
589 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument
633 generate_dep_file(const Options& options, const document_item_type* items) argument
723 generate_outputFileName(const Options& options, const document_item_type* items) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c169 const XAAndroidBufferItem *items; local
183 items = &eos;
190 items = &discontinuity;
196 items = &formatChange;
198 // pure data with no items
200 items = NULL;
204 // enqueue the optional data and optional items; there is always at least one or the other
207 sizeof(MPEG2TS_Packet) * packetsThisBuffer, items, itemSize);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java86 /** Contains all of the items for this menu */
89 /** Contains only the items that are currently visible. This will be created/refreshed from
93 * Whether or not the items (or any one item's shown state) has changed since it was last
99 * Contains only the items that should appear in the Action Bar, if present.
103 * Contains items that should NOT appear in the Action Bar, if present.
108 * Whether or not the items (or any one item's action state) has changed since it was
114 * Default value for how added items should show in the action list.
121 * should be set on all items added to this menu.
180 * Called by menu items to execute their associated action
559 // We handle the notification of items bein
747 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument
780 findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java365 private void addUsersToMenu(ArrayList<Action> items) { argument
395 items.add(switchToUser);
512 // only 3 items now, but may as well keep this flexible approach so it will
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java79 * Contains all of the items for this menu
84 * Contains only the items that are currently visible. This will be created/refreshed from
90 * Whether or not the items (or any one item's shown state) has changed since it was last
96 * Contains only the items that should appear in the Action Bar, if present.
101 * Contains items that should NOT appear in the Action Bar, if present.
106 * Whether or not the items (or any one item's action state) has changed since it was last
112 * Default value for how added items should show in the action list.
119 * all items added to this menu.
184 * Called by menu items to execute their associated action
592 // We handle the notification of items bein
789 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument
824 findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1362 const AString &s, const char *separator, List<AString> *items) {
1363 items->clear();
1369 items->push_back(AString(s, start, s.size() - start));
1373 items->push_back(AString(s, start, offset - start));
1361 SplitString( const AString &s, const char *separator, List<AString> *items) argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp3411 // Create correct ordering of items.
3412 KeyedVector<uint32_t, const Item*> items; local
3415 items.add(it.bagKeyId, &it);
3417 N = items.size();
3431 const Item& it = *items.valueAt(i);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java11797 ArrayList<MemItem> items, boolean sort, boolean isCompact) {
11799 Collections.sort(items, new Comparator<MemItem>() {
11812 for (int i=0; i<items.size(); i++) {
11813 MemItem mi = items.get(i);
11796 dumpMemItems(PrintWriter pw, String prefix, String tag, ArrayList<MemItem> items, boolean sort, boolean isCompact) argument

Completed in 526 milliseconds