Searched refs:items (Results 1 - 25 of 39) 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);
84 // write items list to the parcel.
85 int size = items.size();
88 dest.writeParcelable(items.get(i), flags);
H A DComprehensionTlv.java90 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>();
95 items.add(ctlv);
103 return items;
/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
713 generate_outputFileName(const Options& options, const document_item_type* items) argument
[all...]
H A Daidl_language.h145 void (*document)(document_item_type* 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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuWrapperICS.java77 android.view.MenuItem[] items = null;
79 items = new android.view.MenuItem[outSpecificItems.length];
83 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items);
85 if (items != null) {
86 for (int i = 0, z = items.length; i < z; i++) {
87 outSpecificItems[i] = getMenuItemWrapper(items[i]);
H A DListMenuPresenter.java124 * @return A ListAdapter containing the items in the menu.
239 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
240 int count = items.size() - mItemIndexOffset;
248 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
253 return items.get(position);
275 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
276 final int count = items.size();
278 final MenuItemImpl item = items.get(i);
H A DMenuPopupHelper.java310 ArrayList<MenuItemImpl> items = mOverflowOnly ?
313 return items.size();
315 return items.size() - 1;
319 ArrayList<MenuItemImpl> items = mOverflowOnly ?
324 return items.get(position);
349 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems();
350 final int count = items.size();
352 final MenuItemImpl item = items.get(i);
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/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/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
H A DTouchExplorationHelper.java100 * You <b>must</b> call this method after adding or removing items from the
256 final LinkedList<T> items = new LinkedList<T>();
257 getVisibleItems(items);
259 for (T item : items) {
435 * Populates a list with the parent view's visible items.
441 * @param items The list to populate with visible items.
443 protected abstract void getVisibleItems(List<T> items); argument
/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);

Completed in 940 milliseconds

12