/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_heapq.py | 37 item = random.random() 38 data.append(item) 39 self.module.heappush(heap, item) 43 item = self.module.heappop(heap) 45 results.append(item) 61 for pos, item in enumerate(heap): 64 self.assertTrue(heap[parentpos] <= item) 77 for item in data: 78 self.module.heappush(heap, item) 101 for item in data[10:] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_heapq.py | 37 item = random.random() 38 data.append(item) 39 self.module.heappush(heap, item) 43 item = self.module.heappop(heap) 45 results.append(item) 61 for pos, item in enumerate(heap): 64 self.assertTrue(heap[parentpos] <= item) 77 for item in data: 78 self.module.heappush(heap, item) 101 for item in data[10:] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
TargetMenuListener.java | 109 MenuItem item = new MenuItem(menu, SWT.CHECK); local 110 item.setText(title); 114 item.setSelection(true); 117 item.addSelectionListener(new TargetMenuListener(chooser, target, false));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockNodeList.java | 52 public Node item(int index) { method in class:MockNodeList
|
/system/core/adb/ |
fdevent.h | 53 void fdevent_remove(fdevent *item);
|
/system/core/toolbox/ |
dynarray.h | 18 void dynarray_append( dynarray_t *a, void* item );
|
/external/chromium_org/sync/syncable/ |
parent_child_index_unittest.cc | 101 EntryKernel* item = new EntryKernel(); local 102 item->put(META_HANDLE, n); 103 item->put(BASE_VERSION, 10); 104 item->put(SERVER_VERSION, 10); 105 item->put(IS_DIR, false); 106 item->put(ID, GetClientUniqueId(n)); 107 item->put(PARENT_ID, syncable::Id()); 108 item->put(SERVER_PARENT_ID, syncable::Id()); 109 item->put(UNIQUE_CLIENT_TAG, base::IntToString(n)); 111 owned_entry_kernels_.push_back(item); [all...] |
/external/chromium_org/v8/tools/ |
gc-nvp-trace-processor.py | 90 class Item(object): 121 return flatten([item.fieldrefs() for item in self.items]) 124 return 'plot ' + ', '.join([item.to_gnuplot(ctx) for item in self.items]) 153 for field in flatten([item.fieldrefs() for item in plot]): 161 for item in subplot.items: 162 if item.axis == x1y2 or item.axis == x2y2 [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorChanSat.java | 110 public boolean onMenuItemClick(MenuItem item) { 111 selectMenuItem(item); 287 protected void selectMenuItem(MenuItem item) { 293 switchToMode(csrep, getParameterIndex(item.getItemId()), item.getTitle().toString()); 353 public void swapLeft(MenuItem item) { 354 super.swapLeft(item); 365 selectMenuItem(item); 369 public void swapRight(MenuItem item) { 370 super.swapRight(item); [all...] |
EditorVignette.java | 168 public boolean onMenuItemClick(MenuItem item) { 169 selectMenuItem(item); 282 protected void selectMenuItem(MenuItem item) { 288 switchToMode(csrep, getParameterIndex(item.getItemId()), item.getTitle().toString()); 350 public void swapLeft(MenuItem item) { 351 super.swapLeft(item); 362 selectMenuItem(item); 366 public void swapRight(MenuItem item) { 367 super.swapRight(item); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DreamSettings.java | 148 // create "when to dream" overflow menu item 159 // create "help" overflow menu item (make sure it appears last) 167 MenuItem item = menu.add(titleRes); local 168 item.setShowAsAction(actionEnum); 169 item.setEnabled(isEnabled); 170 item.setOnMenuItemClickListener(new OnMenuItemClickListener() { 172 public boolean onMenuItemClick(MenuItem item) { 177 return item; 203 public void onClick(DialogInterface dialog, int item) { 204 mBackend.setActivatedOnDock(item == 0 || item == 2) [all...] |
/build/tools/ |
check_radio_versions.py | 39 for item in sys.argv[2:]: 40 key, fn = item.split(":", 1)
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 100 WebHistoryItem item = list.getItemAtIndex(i); local 101 if (!url[i].equals(item.getUrl())) {
|
/developers/samples/android/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/elizachat/ |
MainActivity.java | 98 public boolean onOptionsItemSelected(MenuItem item) { 99 switch (item.getItemId()) {
|
/development/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
MainActivity.java | 98 public boolean onOptionsItemSelected(MenuItem item) { 99 switch (item.getItemId()) {
|
/external/chromium_org/build/ |
gyp_chromium | 71 for item in items: 72 tokens = item.split('=', 1) 146 for item in sys.argv[1:]: 147 if item.startswith(needle): 148 return item[len(needle):] 152 for item in env_items: 153 if item.startswith(needle): 154 return item[len(needle):]
|
/external/chromium_org/chrome/browser/importer/ |
external_process_importer_client.h | 65 void OnImportItemStart(int item); 66 void OnImportItemFinished(int item); 100 // Report item completely downloaded on IO thread.
|
/external/chromium_org/chrome/browser/resources/extensions/chromeos/ |
kiosk_apps.css | 99 .kiosk-app-list-item { 103 .kiosk-app-list-item .space-filler { 144 .kiosk-app-list-item[auto-launch]:hover .disable-auto-launch-button, 145 .kiosk-app-list-item:not([auto-launch]):hover .enable-auto-launch-button {
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_context_menu.cc | 33 bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { 34 return item->contexts().Contains(extensions::MenuItem::LAUNCHER); 40 const ash::ShelfItem* item, 44 item_(*item), 48 DCHECK(item); 55 ash::ShelfItem* item, 59 item_(*item), 63 DCHECK(item); 112 // item is re-interpreted as a single, toggle-able option to launch 171 // the type of fullscreen. Do not show the auto-hide menu item while i [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
global_menu_bar_x11.h | 68 // Creates an individual menu item from a title and command, and subscribes 84 // Sets the accelerator for |item|. 85 void RegisterAccelerator(DbusmenuMenuitem* item, 91 // Creates a menu item form |item| and inserts it in |menu| at |index|. 92 void AddHistoryItemToMenu(HistoryItem* item, 106 // Find the first index of the item in |menu| with the tag |tag_id|.
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
rietveld_patcher_test.py | 22 return [posixpath.join(prefix, item) for item in lst]
|
/external/chromium_org/content/browser/android/ |
download_controller_android_impl.h | 88 virtual void OnDownloadUpdated(DownloadItem* item) OVERRIDE; 110 // The download item contains dangerous file types. 111 void OnDangerousDownload(DownloadItem *item);
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_internals_ui.cc | 307 virtual void OnDownloadOpened(DownloadItem* item) OVERRIDE {} 308 virtual void OnDownloadRemoved(DownloadItem* item) OVERRIDE {} 309 virtual void OnDownloadDestroyed(DownloadItem* item) OVERRIDE {} 317 void FileDeleter::OnDownloadUpdated(DownloadItem* item) { 318 switch (item->GetState()) { 324 item->RemoveObserver(this); 344 DownloadItem* item, 353 item->AddObserver(new FileDeleter(temp_path));
|
/external/chromium_org/content/browser/resources/service_worker/ |
serviceworker_internals.css | 14 .serviceworker-item {
|
/external/chromium_org/content/public/browser/ |
download_manager.h | 76 // A DownloadItem was created. This item may be visible before the filename 84 DownloadManager* manager, DownloadItem* item) {} 88 DownloadManager* manager, DownloadItem* item) {} 176 // Get the download item for |id| if present, no matter what type of download
|