/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 61 * used for selected list items 128 List<RssItem> items = new ArrayList<RssItem>(); local 129 mAdapter = new RSSListAdapter(this, items); 228 List<RssItem> items = new ArrayList<RssItem>(); local 229 mAdapter = new RSSListAdapter(this, items); 288 // to add multiple items at once, so you get less "update storm" in the UI 294 * out the rss items, and communicates them back to the UI as they are read. 367 * for each menu item. This way, one inner class works for all items vs. an 410 // Save out the items as a flat list of CharSequence objects -- 446 // Restore items from the big list of CharSequence object 448 List<RssItem> items = new ArrayList<RssItem>(); local [all...] |
/external/webkit/Source/WebCore/storage/ |
StorageAreaSync.cpp | 46 // Instead, queue up a batch of items to sync and actually do the sync at the following interval. 49 // A sane limit on how many items we'll schedule to sync all at once. This makes it 195 // We can't do the fast path of simply clearing all items, so we'll need to manually 280 LOG_ERROR("Unable to select items from ItemTable for local storage"); 294 LOG_ERROR("Error reading items from ItemTable for local storage"); 318 // optimization (since the order of iteration can change as items are being added). Get can return any 320 // of items the import should not overwrite. Clear can also work, but it'll need to kill the import 336 void StorageAreaSync::sync(bool clearItems, const HashMap<String, String>& items) 340 if (items.isEmpty() && !clearItems) 351 // to write new items created after the request to delete the db 412 HashMap<String, String> items; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumDataAdapter.java | 222 public ArrayList<MediaItem> items; field in class:AlbumDataAdapter.UpdateInfo 269 ArrayList<MediaItem> items = info.items; local 271 if (items == null) return null; 273 int end = Math.min(info.reloadStart + items.size(), mContentEnd); 278 MediaItem updateItem = items.get(i - info.reloadStart); 345 info.items = mSource.getMediaItem(info.reloadStart, info.reloadCount);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocationClustering.java | 69 // Separate items to two sets: with or without lat-long. 101 // cluster the items with lat-long 147 private static String generateName(ArrayList<SmallItem> items, 151 int n = items.size(); 153 SmallItem item = items.get(i); 185 ArrayList<SmallItem> items = mClusters.get(index); local 186 ArrayList<Path> result = new ArrayList<Path>(items.size()); 187 for (int i = 0, n = items.size(); i < n; i++) { 188 result.add(items.get(i).path);
|
/external/qemu/android/skin/ |
keyset.c | 333 SkinKeyItem* items; member in struct:SkinKeyset 340 SkinKeyItem* item = kset->items; 367 SkinKeyItem* new_items = realloc( kset->items, new_size*sizeof(SkinKeyItem) ); 371 kset->items = new_items; 374 item = kset->items + kset->num_items++; 454 free(kset->items); 455 kset->items = NULL; 470 SkinKeyItem* item = kset->items; 495 SkinKeyItem* item = kset->items;
|
/external/webkit/Source/WebCore/platform/network/ |
BlobResourceHandle.cpp | 231 for (size_t i = 0; i < m_blobData->items().size() && !m_aborted && !m_errorCode; ++i) 239 // Do we finish validating and counting size for all items? 240 if (m_sizeItemCount >= m_blobData->items().size()) { 252 const BlobDataItem& item = m_blobData->items().at(m_sizeItemCount); 282 const BlobDataItem& item = m_blobData->items().at(m_sizeItemCount); 309 // Skip the initial items that are not in the range. 311 for (m_readItemCount = 0; m_readItemCount < m_blobData->items().size() && offset >= m_itemLengthList[m_readItemCount]; ++m_readItemCount) 338 if (!m_totalRemainingSize || m_readItemCount >= m_blobData->items().size()) 341 const BlobDataItem& item = m_blobData->items().at(m_readItemCount); 431 if (!m_totalRemainingSize || m_readItemCount >= m_blobData->items().size()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtilsTest.java | 236 List<Rectangle> items = new ArrayList<Rectangle>(); local 237 items.add(new Rectangle(30, 60, 20, 20)); 239 SwtUtils.drawRectangles(image, items, ImageUtils.getBoundingRectangle(items), 274 List<Rectangle> items = new ArrayList<Rectangle>(); local 275 items.add(new Rectangle(10, 10, 20, 20)); 276 items.add(new Rectangle(110, 80, 20, 20)); 278 SwtUtils.drawRectangles(image, items, ImageUtils.getBoundingRectangle(items),
|
/sdk/ide_common/src/com/android/ide/common/resources/ |
ResourceRepository.java | 323 * @param type the type of the resource items to return 324 * @return a non null collection of resource items 348 List<ResourceItem> items = mResourceMap.get(type); local 349 return (items != null && items.size() > 0); 420 Collection<ResourceItem> items = getResourceItemsOfType(type); local 422 for (ResourceItem item : items) { 580 List<ResourceItem> items = mResourceMap.get(type); local 581 if (items == null) { 586 HashMap<String, ResourceValue> map = new HashMap<String, ResourceValue>(items.size()) [all...] |
/external/markdown/markdown/extensions/ |
footnotes.py | 210 Returns: a list of post processed items and the unused 214 items = [] 227 items.append(line) 231 return items, lines[i:] 245 items.append("") 252 return items, lines[i:]
|
/external/stlport/test/eh/ |
test_algo.cpp | 41 SortClass* begin() { return items; } 42 const SortClass* begin() const { return items; } 43 SortClass* end() { return items + kBufferSize; } 44 const SortClass* end() const { return items + kBufferSize; } 69 SortClass items[kBufferSize]; member in struct:SortBuffer 115 // Check that adjacent items with the same value haven't been
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HTMLDocumentCustom.cpp | 81 RefPtr<HTMLCollection> items = htmlDocument->documentNamedItems(key); 82 if (!items->length()) 85 if (items->length() == 1) { 86 Node* node = items->firstItem(); 94 return toV8(items.release());
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
non-kerned-drawing.cpp | 158 GList* items = pango_itemize(context, buffer, 0, length, NULL, NULL); local 160 if (g_list_length(items) == 1) { 161 PangoItem* item = static_cast<PangoItem*>(items->data); 178 g_list_foreach(items, (GFunc)pango_item_free, NULL); 179 g_list_free(items);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebSearchableFormData.cpp | 193 const Vector<FormDataList::Item>& items = dataList.items(); local 194 if (isTextElement && !items.isEmpty()) { 202 for (Vector<FormDataList::Item>::const_iterator j(items.begin()); j != items.end(); ++j) {
|
WebHistoryItem.cpp | 264 void WebHistoryItem::setChildren(const WebVector<WebHistoryItem>& items) 268 for (size_t i = 0; i < items.size(); ++i) 269 m_private->addChildItem(items[i]);
|
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 191 ArrayList<String> items = new ArrayList(); local 197 items.add(parser.nextText()); 199 int size = items.size(); 202 techs = items.toArray(techs); 203 items.clear();
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
SimpleMenu.java | 82 private static int findInsertIndex(ArrayList<? extends MenuItem> items, int order) { 83 for (int i = items.size() - 1; i >= 0; i--) { 84 MenuItem item = items.get(i);
|
/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/harfbuzz/src/ |
harfbuzz-shaper.h | 151 const HB_ScriptItem *items, hb_uint32 numItems, 156 const HB_ScriptItem *items, hb_uint32 numItems, 161 const HB_ScriptItem *items, hb_uint32 numItems,
|
/external/webkit/Source/WebCore/accessibility/gtk/ |
AXObjectCacheAtk.cpp | 56 // of items with role MenuListOptionRole. 96 AccessibilityObject::AccessibilityChildrenVector items = listObject->children(); local 97 if (changedItemIndex < 0 || changedItemIndex >= static_cast<int>(items.size())) 99 AccessibilityObject* item = items.at(changedItemIndex).get();
|
/external/webkit/Tools/QueueStatusServer/model/ |
attachment.py | 112 return dict([(items.queue.name(), items.display_position_for_attachment(self.id)) for items in all_work_items])
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 93 ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); local 96 for (int i = 0; i < items.size(); ++i) { 97 item = items.get(i);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
control_external.h | 170 int (*get_enumerated_info)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items); 187 int (*read_enumerated)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items); 208 int (*write_enumerated)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, unsigned int *items);
|
/bionic/libc/kernel/tools/ |
kernel.py | 301 self.items = {} 317 if name in self.items: # aarg, duplicate value 320 self.items[name] = value 335 return self.items.copy() 338 return repr(self.items) 341 return str(self.items)
|
/external/chromium/chrome/browser/ui/views/importer/ |
import_progress_dialog_view.cc | 23 uint16 items, 44 items_(items), 286 uint16 items, 292 DCHECK(items != 0); 295 items, 308 source_profile, target_profile, items, new ProfileWriter(target_profile),
|
/external/llvm/utils/Misc/ |
zkill | 205 items = [(v,k) for k,v in kSignals.items()] 206 items.sort() 207 for i in range(0, len(items), 4): 209 for k,v in items[i:i+4]]) 216 name = dict((v,k) for k,v in kSignals.items()).get(signal,None)
|