Searched refs:items (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java129 final ArrayList<ActionMenuItem> items = mItems;
130 final int itemCount = items.size();
132 if (items.get(i).getItemId() == id) {
149 final ArrayList<ActionMenuItem> items = mItems;
150 final int itemCount = items.size();
153 if (items.get(i).isVisible()) {
164 final ArrayList<ActionMenuItem> items = mItems;
165 final int itemCount = items.size();
168 ActionMenuItem item = items.get(i);
201 final ArrayList<ActionMenuItem> items
[all...]
H A DListMenuPresenter.java115 * @return A ListAdapter containing the items in the menu.
230 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
231 int count = items.size() - mItemIndexOffset;
239 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
244 return items.get(position);
266 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
267 final int count = items.size();
269 final MenuItemImpl item = items.get(i);
H A DMenuPopupHelper.java314 ArrayList<MenuItemImpl> items = mOverflowOnly ?
317 return items.size();
319 return items.size() - 1;
323 ArrayList<MenuItemImpl> items = mOverflowOnly ?
328 return items.get(position);
353 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
354 final int count = items.size();
356 final MenuItemImpl item = items.get(i);
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/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);
H A DComprehensionTlv.java90 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>();
95 items.add(ctlv);
103 return items;
H A DCommandParams.java144 for (Item item : menu.items) {
H A DCatService.java680 if (menu.items.size() == 1 && menu.items.get(0) == null) {
684 CatLog.d(this, "Unable to get Menu's items size");
/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...]
H A Daidl_language.h141 void (*document)(document_item_type* 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/base/core/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java69 ArrayList<String> items = new ArrayList<String>();
71 items.add(c.getString(0));
74 String[] result = items.toArray(new String[items.size()]);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java44 List<String> items = Lists.newArrayList("hello");
45 Adapter<String> adapter = new Adapter<String>(context, 0, items);
74 List<String> items = Lists.newArrayList("hello");
75 Adapter<String> adapter = new Adapter<String>(context, 0, items);
86 items.remove(0);
/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/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java127 final CharSequence[] items = {"Open", "Run"};
130 builder.setSingleChoiceItems(items, -1,
/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/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/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/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/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/services/java/com/android/server/am/
H A DProviderMap.java223 HashMap<ComponentName, ContentProviderRecord> items
225 if (items != null) {
227 evenPersistent, userId, items, result);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java810 String[] items = config.split(":");
811 if (items.length == 3) {
815 List overrideList = mOemModeMap.get(items[0]);
818 mOemModeMap.put(items[0], overrideList);
820 overrideList.add(new Pair<String, String>(items[1], items[2]));
/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/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

Completed in 371 milliseconds

12