Searched refs:listIndex (Results 1 - 22 of 22) sorted by relevance

/external/webkit/Source/WebCore/platform/
H A DPopupMenuClient.h40 virtual void valueChanged(unsigned listIndex, bool fireEvents = true) = 0;
41 virtual void selectionChanged(unsigned listIndex, bool fireEvents = true) = 0;
44 virtual String itemText(unsigned listIndex) const = 0;
45 virtual String itemLabel(unsigned listIndex) const = 0;
46 virtual String itemIcon(unsigned listIndex) const = 0;
47 virtual String itemToolTip(unsigned listIndex) const = 0;
48 virtual String itemAccessibilityText(unsigned listIndex) const = 0;
49 virtual bool itemIsEnabled(unsigned listIndex) const = 0;
50 virtual PopupMenuStyle itemStyle(unsigned listIndex) const = 0;
59 virtual bool itemIsSeparator(unsigned listIndex) cons
[all...]
/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...]
H A DAutoFillPopupMenuClient.h57 // Returns the suggestion at |listIndex|.
58 virtual WebString getSuggestion(unsigned listIndex) const;
60 // Returns the label at |listIndex|.
61 virtual WebString getLabel(unsigned listIndex) const;
63 // Returns the icon at |listIndex|.
64 virtual WebString getIcon(unsigned listIndex) const;
66 // Removes the suggestion at |listIndex| from the list of suggestions.
67 virtual void removeSuggestionAtIndex(unsigned listIndex);
69 // Returns true if the suggestion at |listIndex| can be removed.
70 bool canRemoveSuggestionAtIndex(unsigned listIndex);
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderMenuList.h84 virtual String itemText(unsigned listIndex) const;
85 virtual String itemLabel(unsigned listIndex) const;
86 virtual String itemIcon(unsigned listIndex) const;
87 virtual String itemToolTip(unsigned listIndex) const;
88 virtual String itemAccessibilityText(unsigned listIndex) const;
89 virtual bool itemIsEnabled(unsigned listIndex) const;
90 virtual PopupMenuStyle itemStyle(unsigned listIndex) const;
99 virtual bool itemIsSeparator(unsigned listIndex) const;
100 virtual bool itemIsLabel(unsigned listIndex) const;
101 virtual bool itemIsSelected(unsigned listIndex) cons
[all...]
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 DRenderTextControlSingleLine.h117 virtual void valueChanged(unsigned listIndex, bool fireEvents = true);
120 virtual String itemText(unsigned listIndex) const;
121 virtual String itemLabel(unsigned listIndex) const;
122 virtual String itemIcon(unsigned listIndex) const;
125 virtual bool itemIsEnabled(unsigned listIndex) const;
126 virtual PopupMenuStyle itemStyle(unsigned listIndex) const;
135 virtual bool itemIsSeparator(unsigned listIndex) const;
136 virtual bool itemIsLabel(unsigned listIndex) const;
137 virtual bool itemIsSelected(unsigned listIndex) const;
140 virtual void setTextFromItem(unsigned listIndex);
[all...]
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...]
H A DRenderListBox.h131 void valueChanged(unsigned listIndex);
136 void paintItemForeground(PaintInfo&, int tx, int ty, int listIndex);
137 void paintItemBackground(PaintInfo&, int tx, int ty, int listIndex);
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));
/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...]
H A DSelectElement.h57 virtual int listToOptionIndex(int listIndex) const = 0;
64 virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true) = 0;
86 static int listToOptionIndex(const SelectElementData&, const Element*, int listIndex);
102 static void updateSelectedState(SelectElementData& data, Element* element, int listIndex,
/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...]
H A DHTMLSelectElement.h87 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true);
120 virtual int listToOptionIndex(int listIndex) const;
/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...]
H A DWMLSelectElement.h69 virtual int listToOptionIndex(int listIndex) const;
92 virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true);
/external/icu4c/common/
H A Dbmpset.cpp110 int32_t listIndex=0; local
114 start=list[listIndex++];
115 if(listIndex<listLength) {
116 limit=list[listIndex++];
136 start=list[listIndex++];
137 if(listIndex<listLength) {
138 limit=list[listIndex++];
182 start=list[listIndex++];
183 if(listIndex<listLength) {
184 limit=list[listIndex
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dgrid.js200 listItem.listIndex = y;
H A Dlist.js701 var index = item.listIndex;
829 listItem.listIndex = y;
/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/chromium/chrome/browser/resources/options/
H A Dcookies_list.js511 this.parent_ = parent.listIndex;
626 this.scrollIndexIntoView(this.expandedItem.listIndex);
/external/webkit/Source/WebCore/platform/mac/
H A DHTMLConverter.mm1178 NSUInteger textLength = [_attrStr length], listIndex, idx, insertLength, i, count;
1187 listIndex = [textLists indexOfObject:list];
1188 if (textLists && listIndex != NSNotFound) {
1194 if ([[paragraphStyle textLists] count] == listIndex + 1) {
1205 listLocation = (listIndex + 1) * 36;

Completed in 298 milliseconds