/frameworks/base/core/java/com/android/internal/view/menu/ |
ListMenuPresenter.java | 112 * @return A ListAdapter containing the items in the menu. 228 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 229 int count = items.size() - mItemIndexOffset; 237 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 242 return items.get(position); 264 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 265 final int count = items.size(); 267 final MenuItemImpl item = items.get(i);
|
MenuPopupHelper.java | 315 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 318 return items.size(); 320 return items.size() - 1; 324 ArrayList<MenuItemImpl> items = mOverflowOnly ? local 329 return items.get(position); 354 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); local 355 final int count = items.size(); 357 final MenuItemImpl item = items.get(i);
|
/system/extras/fatblock/ |
import.c | 209 struct item *items; local 239 items = NULL; 278 item->next = items; 279 items = item; 310 item = items; 311 items = item->next; 345 free_items(items);
|
/external/webkit/Source/WebKit/qt/tests/qwebhistory/ |
tst_qwebhistory.cpp | 55 void items(); 184 * Check QWebHistory::items() method 186 void tst_QWebHistory::items() function in class:tst_QWebHistory 188 QList<QWebHistoryItem> items = hist->items(); local 190 QCOMPARE(histsize, items.count()); 194 QCOMPARE(items.at(i - 1).title(), QString("page") + QString::number(i)); 221 QList<QWebHistoryItem> items = hist->items(); local 223 QCOMPARE(items.at(i - 1).title(), QString("page") + QString::number(i)) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 56 * Adds the given list of items to the statistics. 58 * @param list {@code non-null;} the list of items to add 61 Collection<? extends Item> items = list.items(); local 62 for (Item item : items) {
|
ProtoIdsSection.java | 50 public Collection<? extends Item> items() { method in class:ProtoIdsSection 135 for (Object i : items()) {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 56 * Adds the given list of items to the statistics. 58 * @param list {@code non-null;} the list of items to add 61 Collection<? extends Item> items = list.items(); local 62 for (Item item : items) {
|
ProtoIdsSection.java | 50 public Collection<? extends Item> items() { method in class:ProtoIdsSection 135 for (Object i : items()) {
|
/development/tools/axl/ |
chewperf.py | 79 for x in range(len(buckets.items())): 80 window[x % len(window)] = buckets.items()[x][1] 81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
|
/external/markdown/markdown/ |
blockprocessors.py | 94 to the parent, and should remove (``pop``) or add (``insert``) items to 106 """ Process children of list items. 260 # Detect items on secondary lines. they can be of either list type. 262 # Detect indented (nested) items of either type 269 # Check fr multiple items in one block. 270 items = self.get_items(blocks.pop(0)) 283 firstitem = items.pop(0) 290 # Loop through items in block, recursively parsing each with the 292 for item in items: 303 """ Break a block into list items. "" [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLSelectElement.cpp | 211 const Vector<Element*>& items = listItems(); local 212 for (unsigned i = 0; i < items.size(); i++) { 213 if (items[i]->hasLocalName(optionTag) && static_cast<HTMLOptionElement*>(items[i])->selected()) 214 return static_cast<HTMLOptionElement*>(items[i])->value(); 225 const Vector<Element*>& items = listItems(); local 227 for (unsigned i = 0; i < items.size(); i++) { 228 if (items[i]->hasLocalName(optionTag)) { 229 if (static_cast<HTMLOptionElement*>(items[i])->value() == value) { 262 // Ensure that we've determined selectedness of the items at least once prior to changing the size 499 const Vector<Element*>& items = listItems(); local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ComprehensionTlv.java | 87 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>(); local 91 items.add(ctlv); 95 return items;
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
MediaSetSource.java | 61 ArrayList<MediaItem> items = mSource.getMediaItem(mCacheStart, CACHE_SIZE); local 62 mCacheEnd = mCacheStart + items.size(); 63 items.toArray(mCache);
|
/external/chromium/chrome/browser/importer/ |
ie_importer.h | 25 uint16 items, 74 // the bookmark items in |bookmarks|.
|
/external/webkit/LayoutTests/http/tests/resources/ |
post-and-verify-hybrid.cgi | 24 # 'items' parameter would look like: 25 # <items> := <item>(','<item>)* 29 @items = split(/,/, $values{'items'}); 33 foreach $item (@items) {
|
/external/webkit/Source/WebKit/mac/History/ |
WebHistory.h | 40 items added. The key for the array is WebHistoryItemsKey. 43 items removed. The key for the array is WebHistoryItemsKey. 104 @param items An array of WebHistoryItems to remove from the WebHistory. 106 - (void)removeItems:(NSArray *)items; 116 or more history items, ordered from most recent to oldest. 117 @result Returns an array of NSCalendarDates for which history items exist in the WebHistory. 140 @discussion Limits the number of items that will be stored by the WebHistory. 141 @param limit The maximum number of items that will be stored by the WebHistory. 147 @result The maximum number of items that will be stored by the WebHistory.
|
/external/webkit/Source/WebKit/win/ |
WebHistory.h | 77 /* [in] */ IWebHistoryItem** items); 81 /* [in] */ IWebHistoryItem** items); 91 /* [in] */ IWebHistoryItem** items, 114 /* [retval][out] */ IWebHistoryItem** items);
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebPopupMenuProxy.h | 62 virtual void showPopupMenu(const WebCore::IntRect& rect, WebCore::TextDirection, double scaleFactor, const Vector<WebPopupItem>& items, const PlatformPopupMenuData&, int32_t selectedIndex) = 0;
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
stack_utils.py | 48 for tid, stack in sys._current_frames().items():
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendHost.idl | 57 [Custom] void showContextMenu(in MouseEvent event, in DOMObject items);
|
/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/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/ |
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...] |
/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...] |
/packages/apps/Browser/src/com/android/browser/ |
SuggestionsAdapter.java | 155 return mMixedResults.items.get(position); 239 protected void onPostExecute(List<SuggestItem> items) { 240 mSuggestResults = items; 357 ArrayList<SuggestItem> items; field in class:SuggestionsAdapter.SuggestionResults 362 items = new ArrayList<SuggestItem>(24); 373 while ((ix < items.size()) && (item.type >= items.get(ix).type)) 375 items.add(ix, item); 380 return Math.min((mLandscapeMode ? mLinesLandscape : mLinesPortrait), items.size()); 385 if (items == null) return null [all...] |