/external/chromium/chrome/common/extensions/docs/js/ |
sidebar.js | 52 * Controls are inserted as the first children of list items in the sidebar 62 var items = toc.getElementsByTagName('li'); 64 for (var i = 0; i < items.length; i++) { 65 var item = items[i];
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
XTagXmlResourceLoader.java | 44 NodeList items = document.getElementsByTagName( tag ); 45 for ( int i = 0; i < items.getLength(); i++ ) { 46 Node node = items.item( i );
|
/external/webkit/Source/WebCore/platform/ |
ContextMenu.h | 67 void setItems(const Vector<ContextMenuItem>& items) { m_items = items; } 68 const Vector<ContextMenuItem>& items() const { return m_items; } function in class:WebCore::ContextMenu
|
/frameworks/base/tools/aidl/ |
aidl.cpp | 248 check_filenames(const char* filename, document_item_type* items) 251 while (items) { 252 if (items->item_type == USER_DATA_TYPE) { 253 user_data_type* p = (user_data_type*)items; 256 else if (items->item_type == INTERFACE_TYPE_BINDER 257 || items->item_type == INTERFACE_TYPE_RPC) { 258 interface_type* c = (interface_type*)items; 263 items->item_type); 266 items = items->next [all...] |
/external/icu4c/tools/toolutil/ |
package.cpp | 396 items=NULL; 427 if(items[idx].isDataOwned) { 428 free(items[idx].data); 432 uprv_free((void*)items); 532 fprintf(stderr, "icupkg: too many items, maximum is %d\n", itemMax); 559 memset(items, 0, itemCount*sizeof(Item)); 566 * Get the common prefix of the items. 599 items[i].name=s+prefixLength; 602 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); 604 items[i-1].length=(int32_t)(items[i].data-items[i-1].data) [all...] |
/external/chromium/chrome/browser/ui/toolbar/ |
back_forward_menu_model.cc | 47 int items = GetHistoryItemCount(); local 49 if (items > 0) { 53 if (items == kMaxHistoryItems) 54 chapter_stops = GetChapterStopCount(items); 57 items += chapter_stops + 1; // Chapter stops also need a separator. 61 items += 2; 64 return items; 199 // If the index is past the number of history items + separator, 212 // Look to see if we have reached the separator for the history items. 283 int items = 0 local [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
qwebhistory.cpp | 228 A list of items describing the pages that can be visited by going back can be 229 obtained by calling the backItems() function; similarly, items describing the 231 The total list of items is obtained with the items() function. 234 of a list. Arbitrary items in the history can be obtained with itemAt(), the total 235 number of items is given by count(), and the history can be cleared with the 258 \sa count(), items() 286 Returns a list of all items currently in the history. 290 QList<QWebHistoryItem> QWebHistory::items() const function in class:QWebHistory 292 const WebCore::HistoryItemVector &items = d->lst->entries() local 503 const WebCore::HistoryItemVector &items = d->lst->entries(); local [all...] |
/external/webkit/Source/WebKit/win/ |
MarshallingHelpers.cpp | 231 CFStringRef* items = 0; local 233 items = new CFStringRef[len]; 237 items[lBound] = BSTRToCFStringRef(str); 241 CFArrayRef result = CFArrayCreate(0, (const void**)items, len, &kCFTypeArrayCallBacks); 242 if (items) 243 delete[] items; 254 CFNumberRef* items = 0; local 256 items = new CFNumberRef[len]; 260 items[lBound] = intToCFNumberRef(num); 263 CFArrayRef result = CFArrayCreate(0, (const void**) items, len, &kCFTypeArrayCallBacks) 276 void* items; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
TimeLineGraph.java | 82 List items = (List) _enum.nextElement(); local 83 Object[] fItemsArray=items.toArray(); 158 List items = (List) this.fItemGroups.get(groupName); local 160 items=new ArrayList(); 161 this.fItemGroups.put(groupName, items); 163 items.add(new TimeLineGraphItem(name, description, value, col, display, 171 List items = (List) _enum.nextElement(); local 172 for (int i = 0; i < items.size(); i++) { 173 TimeLineGraphItem graphItem = (TimeLineGraphItem) items.get(i); 188 List items = (List) _enum.nextElement() local 206 List items = (List) _enum.nextElement(); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 30 private CharSequence[] items; field in class:ShadowAlertDialog 79 * Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently 161 * @return the items that are available to be clicked on 164 return items; 188 * @return an array indicating which items are and are not clicked on a multi-choice dialog 206 if (items != null) { 207 adapter = new ArrayAdapter<CharSequence>(context, R.layout.simple_list_item_checked, R.id.text1, items); 244 private CharSequence[] items; field in class:ShadowAlertDialog.ShadowBuilder 276 * Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. This should be 285 this.items = context.getResources().getTextArray(itemsId) [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
ExternalPopupMenu.cpp | 68 if (info.items.isEmpty()) 131 WebVector<WebMenuItemInfo> items( 134 WebMenuItemInfo& popupItem = items[i]; 157 info->items.swap(items);
|
WebBlobData.cpp | 57 return m_private->items().size(); 64 if (index >= m_private->items().size()) 67 const BlobDataItem& item = m_private->items()[index];
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebPopupMenuProxyMac.mm | 52 void WebPopupMenuProxyMac::populate(const Vector<WebPopupItem>& items, NSFont *font, TextDirection menuTextDirection) 62 int size = items.size(); 65 if (items[i].m_type == WebPopupItem::Separator) 72 NSWritingDirection writingDirection = items[i].m_textDirection == LTR ? NSWritingDirectionLeftToRight : NSWritingDirectionRightToLeft; 79 if (items[i].m_hasTextDirectionOverride) { 84 RetainPtr<NSAttributedString> string(AdoptNS, [[NSAttributedString alloc] initWithString:nsStringFromWebCoreString(items[i].m_text) attributes:attributes.get()]); 87 [menuItem setEnabled:items[i].m_isEnabled]; 88 [menuItem setToolTip:nsStringFromWebCoreString(items[i].m_toolTip)]; 93 void WebPopupMenuProxyMac::showPopupMenu(const IntRect& rect, TextDirection textDirection, double scaleFactor, const Vector<WebPopupItem>& items, const PlatformPopupMenuData& data, int32_t selectedIndex) 102 populate(items, font, textDirection) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
MapItem.java | 53 * {@code > 0;} count of items covered; {@code 1} if this 73 if (mapSection.items().size() != 0) { 75 "mapSection.items().size() != 0"); 78 ArrayList<MapItem> items = new ArrayList<MapItem>(50); local 86 for (Item item : section.items()) { 90 items.add(new MapItem(currentType, section, 102 // Add a MapItem for the final items in the section. 103 items.add(new MapItem(currentType, section, 107 items.add(new MapItem(mapSection)); 112 new UniformListItem<MapItem>(ItemType.TYPE_MAP_LIST, items)); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 116 List<BackupItem> items = new ArrayList<BackupItem>(); local 118 items.add(new CategoryBackupItem(R.string.bu_preferences)); 119 loadPreferenceGroup1(items); 120 loadPreferenceGroup2(items); 122 items.add(new CategoryBackupItem(R.string.bu_files)); 123 loadFile(TEST_FILE_1, items); 124 loadFile(TEST_FILE_2, items); 126 return items; 129 private void loadPreferenceGroup1(List<BackupItem> items) { 133 items.add(new PreferenceBackupItem(TEST_PREFS_1, INT_PREF, "" + intValue)) [all...] |
/external/zlib/src/ |
zutil.c | 220 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) 223 ulg bsize = (ulg)items*size; 279 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) 282 return _halloc((long)items, size); 300 extern voidp calloc OF((uInt items, uInt size)); 304 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) 306 unsigned items; 309 if (opaque) items += size - size; /* make compiler happy */ 310 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : 311 (voidpf)calloc(items, size) [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLSelectElement.cpp | 344 const Vector<Element*>& items = m_data.listItems(this); local 345 if (items.isEmpty()) 373 ASSERT(listIndex < (int) items.size()); 375 if (OptionElement* optionElement = toOptionElement(items[listIndex])) 394 const Vector<Element*>& items = m_data.listItems(this); local 396 for (unsigned i = 0; i < items.size(); ++i) { 397 OptionElement* optionElement = toOptionElement(items[i]); 457 const Vector<Element*>& items = m_data.listItems(this); local 458 if (items.isEmpty()) 470 for (unsigned i = 0; i < items.size(); ++i) 493 const Vector<Element*>& items = m_data.listItems(this); local [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
Coordinate.java | 100 String[] items = coOrdinate.split("°"); local 101 int deg = Integer.valueOf(items[0]); 103 items = items[1].split("'"); 104 float minsDecMins = Float.valueOf(items[0]); 105 char quad = items[1].charAt(0);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendHost.cpp | 61 static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* frontendHost, ScriptObject webInspector, const Vector<ContextMenuItem*>& items) 63 return adoptRef(new FrontendMenuProvider(frontendHost, webInspector, items)); 73 FrontendMenuProvider(InspectorFrontendHost* frontendHost, ScriptObject webInspector, const Vector<ContextMenuItem*>& items) 76 , m_items(items) 244 void InspectorFrontendHost::showContextMenu(Event* event, const Vector<ContextMenuItem*>& items) 253 RefPtr<FrontendMenuProvider> menuProvider = FrontendMenuProvider::create(this, webInspectorObj, items);
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebHistory.idl | 30 items added. The key for the array is WebHistoryItemsKey. 33 items removed. The key for the array is WebHistoryItemsKey. 108 HRESULT addItems([in] int itemCount, [in] IWebHistoryItem** items); 112 @param items An array of WebHistoryItems to remove from the WebHistory. 113 - (void)removeItems:(NSArray *)items; 115 HRESULT removeItems([in] int itemCount, [in] IWebHistoryItem** items); 126 or more history items, ordered from most recent to oldest. 127 @result Returns an array of NSCalendarDates for which history items exist in the WebHistory. 144 HRESULT orderedItemsLastVisitedOnDay([in, out] int* count, [in] IWebHistoryItem** items, [in] DATE calendarDate); 157 @discussion Limits the number of items that will be stored by the WebHistory [all...] |
/frameworks/base/core/java/android/animation/ |
AnimatorSet.java | 137 * @param items The animations that will be started simultaneously. 139 public void playTogether(Animator... items) { 140 if (items != null) { 142 Builder builder = play(items[0]); 143 for (int i = 1; i < items.length; ++i) { 144 builder.with(items[i]); 152 * @param items The animations that will be started simultaneously. 154 public void playTogether(Collection<Animator> items) { 155 if (items != null && items.size() > 0) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuWrapperICS.java | 77 android.view.MenuItem[] items = null; local 79 items = new android.view.MenuItem[outSpecificItems.length]; 83 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); 85 if (items != null) { 86 for (int i = 0, z = items.length; i < z; i++) { 87 outSpecificItems[i] = getMenuItemWrapper(items[i]);
|
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_history.cpp | 277 WebCore::HistoryItemVector items; local 279 core->forwardListWithLimit(limit, items); 280 return _ewk_history_item_list_get(items); 287 * @param limit the maximum number of items to return. 301 WebCore::HistoryItemVector items; local 302 core->forwardListWithLimit(limit, items); 303 return _ewk_history_item_list_get(items); 337 WebCore::HistoryItemVector items; local 339 core->backListWithLimit(limit, items); 340 return _ewk_history_item_list_get(items); 361 WebCore::HistoryItemVector items; local [all...] |