/dalvik/dx/src/com/android/dx/dex/file/ |
ProtoIdsSection.java | 50 public Collection<? extends Item> items() { method in class:ProtoIdsSection 135 for (Object i : items()) {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ProtoIdsSection.java | 50 public Collection<? extends Item> items() { method in class:ProtoIdsSection 135 for (Object i : items()) {
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendHost.idl | 57 [Custom] void showContextMenu(in MouseEvent event, in DOMObject items);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 314 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 317 return items.size(); 319 return items.size() - 1; 323 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 328 return items.get(position); 353 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 354 final int count = items.size(); 356 final MenuItemImpl item = items.get(i);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
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);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
ListExtensions.cs | 73 public static void addAll( this List<object> list, IEnumerable items ) 75 list.AddRange( items.Cast<object>() ); 79 public static void addAll( this IList list, IEnumerable items ) 81 foreach ( object item in items ) 85 public static void addAll<T>( this ICollection<T> list, IEnumerable<T> items ) 87 foreach ( T item in items )
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
QtFallbackWebPopup.cpp | 160 RPointerArray<HBufC>* items = reinterpret_cast<RPointerArray<HBufC>* >(aPtr); local 161 items->ResetAndDestroy(); 172 RPointerArray<HBufC> items(qMax(1, size)); 173 CleanupStack::PushL(TCleanupItem(&ResetAndDestroy, &items)); 185 items.AppendL(itemStr); 192 CleanupStack::PopAndDestroy(&items);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSet.java | 64 // Returns the media items in the range [start, start + count). 66 // The number of media items returned may be less than the specified count 67 // if there are not enough media items available. The number of 68 // media items available may not be consistent with the return value of 76 ArrayList<MediaItem> items = getMediaItem(0, 1); local 77 if (items.size() > 0) return items.get(0); 183 // Enumerate all media items in this media set (including the ones in sub 200 // Returns the number of items enumerated. 206 ArrayList<MediaItem> items = getMediaItem(start, count) local [all...] |
TimeClustering.java | 33 // If 2 items are greater than 25 miles apart, they will be in different 56 // Initially put 2 items in the same cluster as long as they are within 60 // The minimum change factor in the time between items to consider a 116 ArrayList<SmallItem> items = new ArrayList<SmallItem>(total); local 119 items.add(buf[i]); 123 Collections.sort(items, sDateComparator); 125 int n = items.size(); 129 long t = items.get(i).dateInMs; 142 compute(items.get(i)); 161 ArrayList<SmallItem> items = mClusters.get(index).getItems() local [all...] |
LocationClustering.java | 70 // Separate items to two sets: with or without lat-long. 102 // cluster the items with lat-long 148 private static String generateName(ArrayList<SmallItem> items, 152 int n = items.size(); 154 SmallItem item = items.get(i); 186 ArrayList<SmallItem> items = mClusters.get(index); local 187 ArrayList<Path> result = new ArrayList<Path>(items.size()); 188 for (int i = 0, n = items.size(); i < n; i++) { 189 result.add(items.get(i).path);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceChooser.java | 364 ResourceItem[] items = setupResourceList(); 365 selectItemName(newName, items); 380 ResourceItem[] items = setupResourceList(); 386 for (ResourceItem item : items) { 393 ResourceItem[] newItems = new ResourceItem[items.length + 1]; 394 System.arraycopy(items, 0, newItems, 0, items.length); 395 newItems[items.length] = new ResourceItem(newName); 396 items = newItems; 397 Arrays.sort(items); 588 Collection<ResourceItem> items = null; local 658 ResourceItem[] items = setupResourceList(); local [all...] |
/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...] |
/external/libsepol/src/ |
avtab.c | 374 uint32_t buf32[7], items, items2, val; local 403 items = 0; 404 val = le32_to_cpu(buf32[items++]); 410 val = le32_to_cpu(buf32[items++]); 416 val = le32_to_cpu(buf32[items++]); 423 val = le32_to_cpu(buf32[items++]); 439 datum.data = le32_to_cpu(buf32[items++]); 446 if (items != items2) { 447 ERR(fp->handle, "entry only had %d items, " 448 "expected %d", items2, items); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
SuggestionsAdapter.java | 138 return mMixedResults.items.get(position); 220 protected void onPostExecute(List<SuggestItem> items) { 221 mSuggestResults = items; 333 ArrayList<SuggestItem> items; field in class:SuggestionsAdapter.SuggestionResults 338 items = new ArrayList<SuggestItem>(24); 349 while ((ix < items.size()) && (item.type >= items.get(ix).type)) 351 items.add(ix, item); 356 return Math.min((mLandscapeMode ? mLinesLandscape : mLinesPortrait), items.size()); 361 if (items == null) return null [all...] |
/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/ |
AlbumDataLoader.java | 224 public ArrayList<MediaItem> items; field in class:AlbumDataLoader.UpdateInfo 271 ArrayList<MediaItem> items = info.items; local 273 if (items == null) return null; 275 int end = Math.min(info.reloadStart + items.size(), mContentEnd); 280 MediaItem updateItem = items.get(i - info.reloadStart); 349 info.items = mSource.getMediaItem(info.reloadStart, info.reloadCount);
|
/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),
|
/external/elfutils/backends/ |
linux-core-note.c | 170 regs_offset, nregloc, reglocs, nitems, items) 177 const Ebl_Core_Item **items; 188 *items = prstatus_items; 198 *items = prpsinfo_items; 209 *items = NULL; \
|
/external/guava/guava-tests/test/com/google/common/base/ |
SplitterTest.java | 545 Iterable<String> items = COMMA_SPLITTER.limit(2).split(simple); local 546 ASSERT.that(items).hasContentsInOrder("a", "b,c,d"); 551 Iterable<String> items = COMMA_SPLITTER.limit(2).split(text); local 552 ASSERT.that(items).hasContentsInOrder("a", ",,b,,c,d"); 557 Iterable<String> items = COMMA_SPLITTER.limit(2).omitEmptyStrings().split(text); local 558 ASSERT.that(items).hasContentsInOrder("a", "b,,c,d"); 563 Iterable<String> items = COMMA_SPLITTER.limit(3).omitEmptyStrings().split(text); local 564 ASSERT.that(items).hasContentsInOrder("a", "b", "c,d"); 569 Iterable<String> items = COMMA_SPLITTER.limit(2).omitEmptyStrings().trimResults().split(text); local 570 ASSERT.that(items).hasContentsInOrder("a", "b ,, c,d") 575 Iterable<String> items = COMMA_SPLITTER.limit(3).omitEmptyStrings().trimResults().split(text); local 581 Iterable<String> items = COMMA_SPLITTER.limit(1).omitEmptyStrings().trimResults().split(text); local 587 Iterable<String> items = COMMA_SPLITTER.limit(1).trimResults().split(text); local 593 Iterable<String> items = COMMA_SPLITTER.limit(1).split(text); local 599 Iterable<String> items = COMMA_SPLITTER.omitEmptyStrings().limit(1).split(text); local [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());
|