/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/smack/src/org/jivesoftware/smackx/search/ |
UserSearchManager.java | 99 DiscoverItems items = discoManager.discoverItems(con.getServiceName()); local 100 Iterator<DiscoverItems.Item> iter = items.getItems();
|
/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);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuPopupHelper.java | 310 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 313 return items.size(); 315 return items.size() - 1; 319 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 324 return items.get(position); 349 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 350 final int count = items.size(); 352 final MenuItemImpl item = items.get(i);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumDataLoader.java | 241 public ArrayList<MediaItem> items; field in class:AlbumDataLoader.UpdateInfo 293 ArrayList<MediaItem> items = info.items; local 296 if ((items == null) || items.isEmpty()) { 304 int end = Math.min(info.reloadStart + items.size(), mContentEnd); 309 MediaItem updateItem = items.get(i - info.reloadStart); 380 info.items = mSource.getMediaItem(info.reloadStart, info.reloadCount);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
IconListAdapter.java | 66 List<IconListItem> items) { 67 super(context, mResource, items);
|
/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 | 65 // Returns the media items in the range [start, start + count). 67 // The number of media items returned may be less than the specified count 68 // if there are not enough media items available. The number of 69 // media items available may not be consistent with the return value of 77 ArrayList<MediaItem> items = getMediaItem(0, 1); local 78 if (items.size() > 0) return items.get(0); 184 // Enumerate all media items in this media set (including the ones in sub 201 // Returns the number of items enumerated. 207 ArrayList<MediaItem> items = getMediaItem(start, count) local [all...] |
TimeClustering.java | 34 // If 2 items are greater than 25 miles apart, they will be in different 57 // Initially put 2 items in the same cluster as long as they are within 61 // The minimum change factor in the time between items to consider a 119 ArrayList<SmallItem> items = new ArrayList<SmallItem>(total); local 122 items.add(buf[i]); 126 Collections.sort(items, sDateComparator); 128 int n = items.size(); 132 long t = items.get(i).dateInMs; 145 compute(items.get(i)); 164 ArrayList<SmallItem> items = mClusters.get(index).getItems() local [all...] |
LocationClustering.java | 71 // Separate items to two sets: with or without lat-long. 104 // cluster the items with lat-long 151 private static String generateName(ArrayList<SmallItem> items, 155 int n = items.size(); 157 SmallItem item = items.get(i); 189 ArrayList<SmallItem> items = mClusters.get(index); local 190 ArrayList<Path> result = new ArrayList<Path>(items.size()); 191 for (int i = 0, n = items.size(); i < n; i++) { 192 result.add(items.get(i).path);
|
/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/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/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...] |
/external/harfbuzz_ng/src/ |
hb-uniscribe.cc | 302 SCRIPT_ITEM items[MAX_ITEMS + 1]; local 320 items, 343 unsigned int chars_offset = items[i].iCharPos; 344 unsigned int item_chars_len = items[i + 1].iCharPos - chars_offset; 349 &items[i].a, 365 if (unlikely (items[i].a.fNoGlyphIndex)) 376 if (items[i].a.eScript == SCRIPT_UNDEFINED) 378 items[i].a.eScript = SCRIPT_UNDEFINED; 391 &items[i].a,
|
/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...] |