/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
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); 82 // write items list to the parcel. 83 int size = items.size(); 86 dest.writeParcelable(items.get(i), flags);
|
H A D | ComprehensionTlv.java | 87 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>(); 91 items.add(ctlv); 95 return items;
|
H A D | CommandParams.java | 139 for (Item item : menu.items) {
|
H A D | StkService.java | 547 if (menu.items.size() == 1 && menu.items.get(0) == null) { 551 StkLog.d(this, "Unable to get Menu's items size");
|
H A D | CommandParamsFactory.java | 524 menu.items.add(ValueParser.retrieveItem(ctlv)); 531 if (menu.items.size() == 0) { 537 // STK items are listed 1...n while list start at 0, need to 580 // Create a new array for all the icons (title and items).
|
/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/tools/aidl/ |
H A D | aidl.cpp | 237 check_filenames(const char* filename, document_item_type* items) argument 240 while (items) { 241 if (items->item_type == PARCELABLE_TYPE) { 242 parcelable_type* p = (parcelable_type*)items; 245 else if (items->item_type == INTERFACE_TYPE) { 246 interface_type* c = (interface_type*)items; 251 items->item_type); 254 items = items->next; 288 gather_types(const char* filename, document_item_type* items) argument 496 check_types(const char* filename, document_item_type* items) argument 535 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument 614 generate_outputFileName(const Options& options, const document_item_type* items) argument [all...] |
H A D | aidl_language.h | 132 void (*document)(document_item_type* items);
|
/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/core/java/android/app/ |
H A D | AlertDialog.java | 462 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 474 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 479 public Builder setItems(CharSequence[] items, final OnClickListener listener) { argument 480 P.mItems = items; 486 * Set a list of items, which are supplied by the given {@link ListAdapter}, to be 490 * @param adapter The {@link ListAdapter} to supply the list of items 502 * Set a list of items, which are supplied by the given {@link Cursor}, to be 506 * @param cursor The {@link Cursor} to supply the list of items 522 * Set a list of items to be displayed in the dialog as the content, 530 * @param checkedItems specifies which items ar 565 setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final OnMultiChoiceClickListener listener) argument 667 setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener listener) argument [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FileList.java | 126 final CharSequence[] items = {"Open", "Run"}; 129 builder.setSingleChoiceItems(items, -1,
|
/frameworks/base/tools/localize/ |
H A D | ValuesFile.cpp | 227 const set<StringResource>& items = it->second; local 228 XMLNode* arrayNode = XMLNode::NewElement(items.begin()->pos, "", "array", arrayAttrs, 233 for (set<StringResource>::const_iterator item = items.begin(); 234 item != items.end(); item++) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuBuilder.java | 122 /** Contains all of the items for this menu */ 125 /** Contains only the items that are currently visible. This will be created/refreshed from 129 * Whether or not the items (or any one item's shown state) has changed since it was last 137 * should be set on all items added to this menu. 267 * Called by menu items to execute their associated action 301 * Gets a menu View that contains this menu's items. 311 // The expanded menu depends on the number if items shown in the icon menu (which 536 // We handle the notification of items being changed ourselves, so we use setVisibleInt rather 537 // than setVisible and at the end notify of items being changed 647 * Returns the ordering across all items 729 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 167 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { argument 169 for (T item : items) {
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 977 const AString &s, const char *separator, List<AString> *items) { 978 items->clear(); 984 items->push_back(AString(s, start, s.size() - start)); 988 items->push_back(AString(s, start, offset - start)); 976 SplitString( const AString &s, const char *separator, List<AString> *items) argument
|
/frameworks/base/core/java/android/content/ |
H A D | SyncManager.java | 1213 ArrayList<SyncStorageEngine.SyncHistoryItem> items 1215 if (items != null && items.size() > 0) { 1218 final int N = items.size(); 1220 SyncStorageEngine.SyncHistoryItem item = items.get(i);
|
H A D | SyncStorageEngine.java | 1220 ArrayList<SyncHistoryItem> items = new ArrayList<SyncHistoryItem>(N); 1222 items.add(mSyncHistory.get(i)); 1224 return items;
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 3281 // Create correct ordering of items. 3282 KeyedVector<uint32_t, const Item*> items; local 3285 items.add(it.bagKeyId, &it); 3287 N = items.size(); 3301 const Item& it = *items.valueAt(i);
|