/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 56 * {@link Intent#EXTRA_INTENT} query, along with any injected items. 62 * Adapter of items that are displayed in this dialog. 98 // Build list adapter of pickable items 99 List<PickAdapter.Item> items = getItems(); local 100 mAdapter = new PickAdapter(this, items); 134 * Build and return list of items to be shown in dialog. Default 136 * {@link #putIntentItems(Intent, List)} with any injected items from 138 * change the items shown. 142 List<PickAdapter.Item> items = new ArrayList<PickAdapter.Item>(); local 144 // Add any injected pick items [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLTraceOptionsDialog.java | 298 List<String> items = new ArrayList<String>(devices.length); local 300 items.add(d.getName()); 302 mDeviceCombo.setItems(items.toArray(new String[items.size()])); 305 if (items.contains(mLastUsedDevice)) { 306 index = items.indexOf(mLastUsedDevice); 308 if (index >= 0 && index < items.size()) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
RequesterTestActivity.java | 258 final CharSequence[] items = new CharSequence[peerList.size()]; local 261 items[i++] = dev.deviceName; 267 .setItems(items, new android.content.DialogInterface.OnClickListener() {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MixedItemSection.java | 63 /** {@code non-null;} the items in this part */ 64 private final ArrayList<OffsettedItem> items; field in class:MixedItemSection 66 /** {@code non-null;} items that have been explicitly interned */ 69 /** {@code non-null;} how to sort the items */ 86 * @param sort how the items should be sorted in the final output 92 this.items = new ArrayList<OffsettedItem>(100); 100 public Collection<? extends Item> items() { method in class:MixedItemSection 101 return items; 119 * Gets the size of this instance, in items. 124 return items.size() [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
MixedItemSection.java | 62 /** {@code non-null;} the items in this part */ 63 private final ArrayList<OffsettedItem> items; field in class:MixedItemSection 65 /** {@code non-null;} items that have been explicitly interned */ 68 /** {@code non-null;} how to sort the items */ 85 * @param sort how the items should be sorted in the final output 91 this.items = new ArrayList<OffsettedItem>(100); 99 public Collection<? extends Item> items() { method in class:MixedItemSection 100 return items; 118 * Gets the size of this instance, in items. 123 return items.size() [all...] |
/development/ndk/platforms/android-14/samples/native-media/jni/ |
native-media-jni.c | 306 XAAndroidBufferItem items[1]; local 307 items[0].itemKey = XA_ANDROID_ITEMKEY_DISCONTINUITY; 308 items[0].itemSize = 0; 313 dataCache + i*BUFFER_SIZE, bufferSize, items /*pMsg*/,
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
TitlesFragment.java | 146 /** Attaches an adapter to the fragment's ListView to populate it with items */ 149 String[] items = new String[cat.getEntryCount()]; local 151 items[i] = cat.getEntry(i).getName(); 154 R.layout.title_list_item, items)); 184 /** This defines how the draggable list items appear during a drag event */
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 93 * to be this Activity. The effect is that context menus are enabled for items in the 113 * for items in the ListView. Each element in the dataColumns array represents 131 cursor, // The cursor to get items from 142 * this Activity. Android passes in a Menu object that is populated with items. 150 * @param menu A Menu object, to which menu items should be added. 210 // Creates an array of menu items with one element. This will contain the EDIT option. 211 MenuItem[] items = new MenuItem[1]; local 233 items // The menu items generated from the specifics-to- 237 if (items[0] != null) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 103 private List<WifiP2pDevice> items; field in class:DeviceListFragment.WiFiPeerListAdapter 113 items = objects; 125 WifiP2pDevice device = items.get(position);
|
/external/bison/src/ |
AnnotationList.c | 72 * that state has \c nitems kernel items. 198 Sbitset *items, 205 *items = Sbitset__new_on_obstack (s->nitems, annotations_obstackp); 212 Sbitset__set (*items, item); 270 aver (s->items[self_item] > 1); 274 if (item_number_is_rule_number (ritem[s->items[self_item] 277 Sbitset items; local 279 for (rulei = s->items[self_item]; 288 item_lookahead_sets, &items, annotations_obstackp)) 299 items, (*predecessor)->nitems) [all...] |
/external/chromium/chrome/browser/automation/ |
testing_automation_provider_chromeos.cc | 281 DictionaryValue* items = new DictionaryValue; local 283 items->Set(ethernet_network->service_path(), item); 284 return_value->Set("ethernet_networks", items); 294 DictionaryValue* items = new DictionaryValue; local 302 items->Set(wifi->service_path(), item); 304 return_value->Set("wifi_networks", items); 313 DictionaryValue* items = new DictionaryValue; local 329 items->Set(cellular_networks[i]->service_path(), item); 331 return_value->Set("cellular_networks", items);
|
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_browsertest.cc | 26 // RenderViewContextMenu where extension items get added and executed. 167 // This gets all the items that any extension has registered for possible 218 // those items to matching pages. 220 ExtensionTestMessageListener listener("created items", false); 224 // Wait for the js test code to create its two items with patterns. 227 // Check that a document url that should match the items' patterns appears. 261 ExtensionMenuItem::List items = GetItems(); local 262 ASSERT_EQ(1u, items.size()); 263 ExtensionMenuItem* item = items.at(0); 287 // In the separators test we build a submenu with items and separators in tw [all...] |
extension_menu_manager_unittest.cc | 70 // Tests adding, getting, and removing items. 79 const ExtensionMenuItem::List* items = local 81 ASSERT_EQ(1u, items->size()); 82 ASSERT_EQ(item1, items->at(0)); 88 items = manager_.MenuItems(item2->extension_id()); 89 ASSERT_EQ(2u, items->size()); 90 ASSERT_EQ(item1, items->at(0)); 91 ASSERT_EQ(item2, items->at(1)); 109 // Test adding/removing child items. 124 // Add in the first two items 240 const ExtensionMenuItem::List* items = local [all...] |
/external/chromium/chrome/browser/first_run/ |
first_run.cc | 523 int items = 0; local 527 items = items | importer::HISTORY; 532 items = items | importer::HOME_PAGE; 535 items = items | importer::HOME_PAGE; 543 items = items | importer::SEARCH_ENGINES; 546 items = items | importer::SEARCH_ENGINES [all...] |
/external/chromium/chrome/browser/ui/toolbar/ |
back_forward_menu_model.cc | 47 int items = GetHistoryItemCount(); local 49 if (items > 0) { 53 if (items == kMaxHistoryItems) 54 chapter_stops = GetChapterStopCount(items); 57 items += chapter_stops + 1; // Chapter stops also need a separator. 61 items += 2; 64 return items; 199 // If the index is past the number of history items + separator, 212 // Look to see if we have reached the separator for the history items. 283 int items = 0 local [all...] |
/external/chromium_org/chrome/browser/download/ |
download_history.cc | 9 // DownloadHistory decides whether and when to add items to, remove items from, 10 // and update items in the database. DownloadHistory uses DownloadHistoryData to 18 // internally calls OnDownloadCreated(), which normally adds items to the 19 // database, so QueryCallback() uses |loading_id_| to disable adding these items 198 content::DownloadManager::DownloadVector items; local 199 notifier_.GetManager()->GetAllDownloads(&items); 201 it = items.begin(); it != items.end(); ++it) {
|
/external/chromium_org/chrome/browser/drive/ |
drive_api_util.cc | 516 const ScopedVector<google_apis::FileResource>& items = file_list.items(); local 518 for (size_t i = 0; i < items.size(); ++i) 519 entries.push_back(ConvertFileResourceToResourceEntry(*items[i]).release()); 538 const ScopedVector<google_apis::ChangeResource>& items = change_list.items(); local 540 for (size_t i = 0; i < items.size(); ++i) { 542 ConvertChangeResourceToResourceEntry(*items[i]).release());
|
/external/chromium_org/chrome/browser/extensions/api/input_ime/ |
input_ime_api.cc | 39 const char kErrorSetMenuItemsFail[] = "Could not create menu Items"; 40 const char kErrorUpdateMenuItemsFail[] = "Could not update menu Items"; 650 const std::vector<linked_ptr<input_ime::MenuItem> >& items = params.items; local 653 for (size_t i = 0; i < items.size(); ++i) { 655 SetMenuItemToMenu(*items[i], &items_out.back()); 677 const std::vector<linked_ptr<input_ime::MenuItem> >& items = params.items; local 680 for (size_t i = 0; i < items.size(); ++i) { 682 SetMenuItemToMenu(*items[i], &items_out.back()) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_context_menu_browsertest.cc | 30 // RenderViewContextMenu where extension items get added and executed. 147 // This gets all the items that any extension has registered for possible 282 // those items to matching pages. 284 ExtensionTestMessageListener listener("created items", false); 288 // Wait for the js test code to create its two items with patterns. 291 // Check that a document url that should match the items' patterns appears. 325 MenuItem::List items = GetItems(); local 326 ASSERT_EQ(1u, items.size()); 327 MenuItem* item = items.at(0); 349 // when multiples Context Menu items are created [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
app_shortcut_launcher_item_controller.cc | 45 // items and not the ones from other users through activation. 140 ChromeLauncherAppMenuItems items; local 142 items.push_back(new ChromeLauncherAppMenuItem(GetTitle(), NULL, false)); 151 items.push_back(new ChromeLauncherAppMenuItemTab( 154 return items.Pass(); 159 std::vector<content::WebContents*> items; local 174 return items; 188 items.push_back(web_contents); 191 return items; 321 std::vector<content::WebContents*> items = GetRunningApplications() local [all...] |
shell_window_launcher_item_controller.cc | 160 ChromeLauncherAppMenuItems items; local 161 items.push_back(new ChromeLauncherAppMenuItem(GetTitle(), NULL, false)); 167 items.push_back(new ChromeLauncherAppMenuItemV2App( 176 return items.Pass();
|
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_popup_controller_unittest.cc | 344 std::vector<base::string16> items; local 345 items.push_back(base::string16()); 349 autofill_popup_controller_->Show(items, items, items, ids); 351 EXPECT_EQ(items, autofill_popup_controller_->names()); 362 items.insert(items.begin(), data_list_values[0]); 363 items.insert(items.begin() + 1, base::string16()) 400 std::vector<base::string16> items; local [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
back_forward_menu_model.cc | 60 int items = GetHistoryItemCount(); local 62 if (items > 0) { 66 if (items == kMaxHistoryItems) 67 chapter_stops = GetChapterStopCount(items); 70 items += chapter_stops + 1; // Chapter stops also need a separator. 74 items += 2; 77 return items; 218 // If the index is past the number of history items + separator, 231 // Look to see if we have reached the separator for the history items. 303 int items = 0 local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8WindowCustom.cpp | 423 // Search named items in the document. 428 RefPtr<HTMLCollection> items = doc->windowNamedItems(propName); local 429 if (!items->isEmpty()) { 430 if (items->hasExactlyOneItem()) { 431 v8SetReturnValueFast(info, items->item(0), window); 434 v8SetReturnValueFast(info, items.release(), window);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Clipboard.cpp | 443 PassRefPtr<DataTransferItemList> Clipboard::items() function in class:WebCore::Clipboard 445 // FIXME: According to the spec, we are supposed to return the same collection of items each 446 // time. We now return a wrapper that always wraps the *same* set of items, so JS shouldn't be
|