Searched defs:listIndex (Results 1 - 10 of 10) sorted by relevance

/external/webkit/Source/WebKit/chromium/src/
H A DAutoFillPopupMenuClient.cpp67 WebString AutoFillPopupMenuClient::getSuggestion(unsigned listIndex) const
69 int index = convertListIndexToInternalIndex(listIndex);
77 WebString AutoFillPopupMenuClient::getLabel(unsigned listIndex) const
79 int index = convertListIndexToInternalIndex(listIndex);
87 WebString AutoFillPopupMenuClient::getIcon(unsigned listIndex) const
89 int index = convertListIndexToInternalIndex(listIndex);
97 void AutoFillPopupMenuClient::removeSuggestionAtIndex(unsigned listIndex) argument
99 if (!canRemoveSuggestionAtIndex(listIndex))
102 int index = convertListIndexToInternalIndex(listIndex);
116 bool AutoFillPopupMenuClient::canRemoveSuggestionAtIndex(unsigned listIndex) argument
124 valueChanged(unsigned listIndex, bool fireEvents) argument
142 selectionChanged(unsigned listIndex, bool fireEvents) argument
241 setTextFromItem(unsigned listIndex) argument
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLSelectElement.cpp129 int listIndex = optionToListIndex(0); local
130 ASSERT(listIndex >= 0);
131 if (listIndex < 0)
133 HTMLOptionElement* option = static_cast<HTMLOptionElement*>(listItems()[listIndex]);
134 return !option->disabled() && !listIndex && option->value().isEmpty();
148 void HTMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow) argument
151 setSelectedIndexByUser(listToOptionIndex(listIndex), true, fireOnChangeNow);
153 updateSelectedState(m_data, this, listIndex, allowMultiplySelections, shift);
192 int listIndex = optionToListIndex(optionIndex); local
193 if (listIndex <
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderMenuList.cpp310 void RenderMenuList::valueChanged(unsigned listIndex, bool fireOnChange) argument
319 select->setSelectedIndexByUser(select->listToOptionIndex(listIndex), true, fireOnChange);
323 void RenderMenuList::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow) argument
326 select->listBoxSelectItem(listIndex, allowMultiplySelections, shift, fireOnChangeNow);
348 String RenderMenuList::itemText(unsigned listIndex) const
352 if (listIndex >= listItems.size())
354 Element* element = listItems[listIndex];
372 String RenderMenuList::itemAccessibilityText(unsigned listIndex) const
377 if (listIndex >= listItems.size())
380 return listItems[listIndex]
560 setTextFromItem(unsigned listIndex) argument
[all...]
H A DRenderListBox.cpp358 void RenderListBox::paintItemForeground(PaintInfo& paintInfo, int tx, int ty, int listIndex) argument
362 Element* element = listItems[listIndex];
394 IntRect r = itemBoundingBoxRect(tx, ty, listIndex);
409 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, int tx, int ty, int listIndex) argument
413 Element* element = listItems[listIndex];
428 IntRect itemRect = itemBoundingBoxRect(tx, ty, listIndex);
586 void RenderListBox::valueChanged(unsigned listIndex) argument
590 select->setSelectedIndex(select->listToOptionIndex(listIndex));
H A DRenderTextControlSingleLine.cpp882 void RenderTextControlSingleLine::valueChanged(unsigned listIndex, bool fireEvents) argument
885 ASSERT(static_cast<int>(listIndex) < listSize());
887 if (static_cast<int>(listIndex) == (listSize() - 1)) {
898 input->setValue(itemText(listIndex));
905 String RenderTextControlSingleLine::itemText(unsigned listIndex) const
909 ASSERT(!listIndex);
912 if (!listIndex)
914 if (itemIsSeparator(listIndex))
916 if (static_cast<int>(listIndex) == (size - 1))
918 return m_recentSearches[listIndex
1018 setTextFromItem(unsigned listIndex) argument
[all...]
/external/webkit/Source/WebCore/wml/
H A DWMLSelectElement.cpp164 int WMLSelectElement::listToOptionIndex(int listIndex) const
166 return SelectElement::listToOptionIndex(m_data, this, listIndex);
371 int listIndex = optionToListIndex(optionIndex - 1); local
372 ASSERT(listIndex >= 0);
373 ASSERT(listIndex < (int) items.size());
375 if (OptionElement* optionElement = toOptionElement(items[listIndex]))
503 int listIndex = optionToListIndex((*it) - 1); local
504 ASSERT(listIndex >= 0);
505 ASSERT(listIndex < (int) items.size());
507 if (OptionElement* optionElement = toOptionElement(items[listIndex])) {
[all...]
/external/webkit/Source/WebKit/chromium/tests/
H A DPopupMenuTest.cpp58 virtual void valueChanged(unsigned listIndex, bool fireEvents = true) argument
60 m_selectIndex = listIndex;
65 virtual String itemText(unsigned listIndex) const
68 str.append(String::number(listIndex));
73 virtual String itemToolTip(unsigned listIndex) const { return itemText(listIndex); }
74 virtual String itemAccessibilityText(unsigned listIndex) const { return itemText(listIndex); }
75 virtual bool itemIsEnabled(unsigned listIndex) const { return true; }
76 virtual PopupMenuStyle itemStyle(unsigned listIndex) cons
94 setTextFromItem(unsigned listIndex) argument
[all...]
/external/webkit/Source/WebCore/dom/
H A DSelectElement.cpp78 // Returns the 1st valid item |skip| items from |listIndex| in direction |direction| if there is one.
79 // Otherwise, it returns the valid item closest to that boundary which is past |listIndex| if there is one.
80 // Otherwise, it returns |listIndex|.
82 static int nextValidIndex(const Vector<Element*>& listItems, int listIndex, SkipDirection direction, int skip) argument
85 int lastGoodIndex = listIndex;
87 for (listIndex += direction; listIndex >= 0 && listIndex < size; listIndex += direction) {
89 if (!listItems[listIndex]
367 int listIndex = optionToListIndex(data, element, optionIndex); local
425 listToOptionIndex(const SelectElementData& data, const Element* element, int listIndex) argument
600 int listIndex = optionToListIndex(data, element, selectedIndex(data, element)); local
678 int listIndex = optionToListIndex(data, element, selectedIndex(data, element)); local
707 updateSelectedState(SelectElementData& data, Element* element, int listIndex, bool multi, bool shift) argument
766 int listIndex = toRenderListBox(element->renderer())->listIndexAtOffset(localOffset.x(), localOffset.y()); local
1011 int listIndex = optionToListIndex(data, element, index); local
[all...]
/external/webkit/Source/JavaScriptCore/jit/
H A DJITStubs.cpp1629 int listIndex = 1; local
1637 listIndex = stubInfo->u.getByIdSelfList.listSize;
1639 if (listIndex < POLYMORPHIC_LIST_CACHE_SIZE) {
1641 JIT::compileGetByIdSelfList(callFrame->scopeChain()->globalData, codeBlock, stubInfo, polymorphicStructureList, listIndex, baseValue.asCell()->structure(), ident, slot, slot.cachedOffset());
1643 if (listIndex == (POLYMORPHIC_LIST_CACHE_SIZE - 1))
1651 static PolymorphicAccessStructureList* getPolymorphicAccessStructureListSlot(JSGlobalData& globalData, ScriptExecutable* owner, StructureStubInfo* stubInfo, int& listIndex) argument
1654 listIndex = 1;
1669 listIndex = stubInfo->u.getByIdProtoList.listSize;
1670 if (listIndex < POLYMORPHIC_LIST_CACHE_SIZE)
1677 ASSERT(listIndex <
1750 int listIndex; local
1760 int listIndex; local
[all...]
/external/robolectric/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...

Completed in 308 milliseconds