/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenu.java | 129 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 D | ListMenuPresenter.java | 115 * @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 D | MenuPopupHelper.java | 348 ArrayList<MenuItemImpl> items = mOverflowOnly ? 351 return items.size(); 353 return items.size() - 1; 357 ArrayList<MenuItemImpl> items = mOverflowOnly ? 362 return items.get(position); 387 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); 388 final int count = items.size(); 390 final MenuItemImpl item = items.get(i);
|
H A D | MenuBuilder.java | 86 /** 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 565 // We handle the notification of items bein 753 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument 786 findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Menu.java | 31 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 D | ComprehensionTlv.java | 90 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>(); 95 items.add(ctlv); 103 return items;
|
H A D | CommandParams.java | 149 for (Item item : mMenu.items) {
|
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 248 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...] |
H A D | aidl_language.h | 145 void (*document)(document_item_type* items);
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 137 * @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 D | MenuWrapperICS.java | 77 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 D | ListMenuPresenter.java | 124 * @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 D | MenuPopupHelper.java | 310 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 D | MenuBuilder.java | 79 * 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 D | DatabaseLocaleTest.java | 69 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 D | ListViewTest.java | 44 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 D | BiDiTestBasic.java | 35 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 D | AlertDialog.java | 607 * 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/core/java/android/net/ |
H A D | SSLCertificateSocketFactory.java | 299 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/widget/ |
H A D | ArrayAdapter.java | 202 * 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 D | SpellCheckerService.java | 358 public SentenceTextInfoParams(TextInfo ti, ArrayList<SentenceWordItem> items) { argument 360 mItems = items; 361 mSize = items.size();
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 317 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 D | TestGrouping.java | 169 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 D | ProviderMap.java | 224 HashMap<ComponentName, ContentProviderRecord> items 226 if (items != null) { 228 evenPersistent, userId, items, result);
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 829 String[] items = config.split(":"); 830 if (items.length == 3) { 834 List overrideList = mOemModeMap.get(items[0]); 837 mOemModeMap.put(items[0], overrideList); 839 overrideList.add(new Pair<String, String>(items[1], items[2]));
|