Searched defs:items (Results 1 - 16 of 16) 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);
82 // write items list to the parcel.
83 int size = items.size();
86 dest.writeParcelable(items.get(i), flags);
/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/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
H A DDirListActivity.java160 public DirListAdapter(Activity context, ListItem[] items) { argument
161 super(context, R.layout.dirlist_row, items);
164 mItems = items;
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java127 * @param items The animations that will be started simultaneously.
129 public void playTogether(Animator... items) { argument
130 if (items != null) {
132 Builder builder = play(items[0]);
133 for (int i = 1; i < items.length; ++i) {
134 builder.with(items[i]);
142 * @param items The animations that will be started simultaneously.
144 public void playTogether(Collection<Animator> items) { argument
145 if (items != null && items
164 playSequentially(Animator... items) argument
183 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.cpp242 check_filenames(const char* filename, document_item_type* items) argument
245 while (items) {
246 if (items->item_type == USER_DATA_TYPE) {
247 user_data_type* p = (user_data_type*)items;
250 else if (items->item_type == INTERFACE_TYPE_BINDER
251 || items->item_type == INTERFACE_TYPE_RPC) {
252 interface_type* c = (interface_type*)items;
257 items->item_type);
260 items = items
294 gather_types(const char* filename, document_item_type* items) argument
543 check_types(const char* filename, document_item_type* items) argument
583 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument
627 generate_dep_file(const Options& options, const document_item_type* items) argument
707 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.java348 private void addUsersToMenu(ArrayList<Action> items) { argument
383 items.add(switchToUser);
495 // only 3 items now, but may as well keep this flexible approach so it will
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1076 const AString &s, const char *separator, List<AString> *items) {
1077 items->clear();
1083 items->push_back(AString(s, start, s.size() - start));
1087 items->push_back(AString(s, start, offset - start));
1075 SplitString( const AString &s, const char *separator, List<AString> *items) argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp3345 // Create correct ordering of items.
3346 KeyedVector<uint32_t, const Item*> items; local
3349 items.add(it.bagKeyId, &it);
3351 N = items.size();
3365 const Item& it = *items.valueAt(i);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java10294 static final void dumpMemItems(PrintWriter pw, String prefix, ArrayList<MemItem> items, argument
10297 Collections.sort(items, new Comparator<MemItem>() {
10310 for (int i=0; i<items.size(); i++) {
10311 MemItem mi = items.get(i);

Completed in 993 milliseconds