Home
last modified time | relevance | path

Searched refs:listIndex (Results 1 – 12 of 12) sorted by relevance

/external/webkit/WebCore/platform/
DPopupMenuClient.h39 virtual void valueChanged(unsigned listIndex, bool fireEvents = true) = 0;
41 virtual String itemText(unsigned listIndex) const = 0;
42 virtual bool itemIsEnabled(unsigned listIndex) const = 0;
43 virtual PopupMenuStyle itemStyle(unsigned listIndex) const = 0;
52 virtual bool itemIsSeparator(unsigned listIndex) const = 0;
53 virtual bool itemIsLabel(unsigned listIndex) const = 0;
54 virtual bool itemIsSelected(unsigned listIndex) const = 0;
57 virtual void setTextFromItem(unsigned listIndex) = 0;
/external/webkit/WebCore/html/
DHTMLSelectElement.cpp160 int listIndex = optionToListIndex(optionIndex); in setSelectedIndex() local
166 if (listIndex >= 0) { in setSelectedIndex()
168 setActiveSelectionAnchorIndex(listIndex); in setSelectedIndex()
170 setActiveSelectionEndIndex(listIndex); in setSelectedIndex()
171 element = static_cast<HTMLOptionElement*>(items[listIndex]); in setSelectedIndex()
230 int listIndex = optionToListIndex(index); in remove() local
233 if (listIndex < 0 || index >= int(items.size())) in remove()
236 Element *item = items[listIndex]; in remove()
463 for (int listIndex = 0; listIndex < listSize; listIndex++) { in optionToListIndex() local
464 if (items[listIndex]->hasLocalName(optionTag)) { in optionToListIndex()
[all …]
DHTMLSelectElement.h99 int listToOptionIndex(int listIndex) const;
/external/webkit/WebCore/rendering/
DRenderMenuList.h78 virtual String itemText(unsigned listIndex) const;
79 virtual bool itemIsEnabled(unsigned listIndex) const;
80 virtual PopupMenuStyle itemStyle(unsigned listIndex) const;
88 virtual bool itemIsSeparator(unsigned listIndex) const;
89 virtual bool itemIsLabel(unsigned listIndex) const;
90 virtual bool itemIsSelected(unsigned listIndex) const;
91 virtual void setTextFromItem(unsigned listIndex);
94 virtual void valueChanged(unsigned listIndex, bool fireOnChange = true);
101 Color itemBackgroundColor(unsigned listIndex) const;
DRenderMenuList.cpp294 void RenderMenuList::valueChanged(unsigned listIndex, bool fireOnChange) in valueChanged() argument
297 select->setSelectedIndex(select->listToOptionIndex(listIndex), true, fireOnChange); in valueChanged()
300 String RenderMenuList::itemText(unsigned listIndex) const in itemText()
303 HTMLElement* element = select->listItems()[listIndex]; in itemText()
311 bool RenderMenuList::itemIsEnabled(unsigned listIndex) const in itemIsEnabled()
314 HTMLElement* element = select->listItems()[listIndex]; in itemIsEnabled()
323 PopupMenuStyle RenderMenuList::itemStyle(unsigned listIndex) const in itemStyle()
326 HTMLElement* element = select->listItems()[listIndex]; in itemStyle()
329 …return style ? PopupMenuStyle(style->color(), itemBackgroundColor(listIndex), style->font(), style… in itemStyle()
332 Color RenderMenuList::itemBackgroundColor(unsigned listIndex) const in itemBackgroundColor()
[all …]
DRenderTextControlSingleLine.h87 virtual void valueChanged(unsigned listIndex, bool fireEvents = true);
88 virtual String itemText(unsigned listIndex) const;
89 virtual bool itemIsEnabled(unsigned listIndex) const;
90 virtual PopupMenuStyle itemStyle(unsigned listIndex) const;
98 virtual bool itemIsSeparator(unsigned listIndex) const;
99 virtual bool itemIsLabel(unsigned listIndex) const;
100 virtual bool itemIsSelected(unsigned listIndex) const;
103 virtual void setTextFromItem(unsigned listIndex);
DRenderTextControlSingleLine.cpp634 void RenderTextControlSingleLine::valueChanged(unsigned listIndex, bool fireEvents) in valueChanged() argument
637 ASSERT(static_cast<int>(listIndex) < listSize()); in valueChanged()
639 if (static_cast<int>(listIndex) == (listSize() - 1)) { in valueChanged()
650 input->setValue(itemText(listIndex)); in valueChanged()
657 String RenderTextControlSingleLine::itemText(unsigned listIndex) const in itemText()
661 ASSERT(!listIndex); in itemText()
664 if (!listIndex) in itemText()
666 if (itemIsSeparator(listIndex)) in itemText()
668 if (static_cast<int>(listIndex) == (size - 1)) in itemText()
670 return m_recentSearches[listIndex - 1]; in itemText()
[all …]
DRenderListBox.h110 void valueChanged(unsigned listIndex);
116 void paintItemForeground(PaintInfo&, int tx, int ty, int listIndex);
117 void paintItemBackground(PaintInfo&, int tx, int ty, int listIndex);
DRenderListBox.cpp294 void RenderListBox::paintItemForeground(PaintInfo& paintInfo, int tx, int ty, int listIndex) in paintItemForeground() argument
298 HTMLElement* element = listItems[listIndex]; in paintItemForeground()
308 IntRect r = itemBoundingBoxRect(tx, ty, listIndex); in paintItemForeground()
343 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, int tx, int ty, int listIndex) in paintItemBackground() argument
347 HTMLElement* element = listItems[listIndex]; in paintItemBackground()
361 IntRect itemRect = itemBoundingBoxRect(tx, ty, listIndex); in paintItemBackground()
516 void RenderListBox::valueChanged(unsigned listIndex) in valueChanged() argument
519 select->setSelectedIndex(select->listToOptionIndex(listIndex)); in valueChanged()
/external/icu4c/common/
Dbmpset.cpp110 int32_t listIndex=0; in initBits() local
114 start=list[listIndex++]; in initBits()
115 if(listIndex<listLength) { in initBits()
116 limit=list[listIndex++]; in initBits()
136 start=list[listIndex++]; in initBits()
137 if(listIndex<listLength) { in initBits()
138 limit=list[listIndex++]; in initBits()
182 start=list[listIndex++]; in initBits()
183 if(listIndex<listLength) { in initBits()
184 limit=list[listIndex++]; in initBits()
/external/webkit/JavaScriptCore/interpreter/
DInterpreter.cpp4519 int listIndex = 1; in cti_op_get_by_id_self_fail() local
4527 listIndex = stubInfo->u.getByIdSelfList.listSize; in cti_op_get_by_id_self_fail()
4531 …copeChain()->globalData, codeBlock, stubInfo, polymorphicStructureList, listIndex, asCell(baseValu… in cti_op_get_by_id_self_fail()
4533 if (listIndex == (POLYMORPHIC_LIST_CACHE_SIZE - 1)) in cti_op_get_by_id_self_fail()
4541 …ssStructureList* getPolymorphicAccessStructureListSlot(StructureStubInfo* stubInfo, int& listIndex) in getPolymorphicAccessStructureListSlot() argument
4544 listIndex = 1; in getPolymorphicAccessStructureListSlot()
4559 listIndex = stubInfo->u.getByIdProtoList.listSize; in getPolymorphicAccessStructureListSlot()
4566 ASSERT(listIndex < POLYMORPHIC_LIST_CACHE_SIZE); in getPolymorphicAccessStructureListSlot()
4605 int listIndex; in cti_op_get_by_id_proto_list() local
4606 …StructureList* prototypeStructureList = getPolymorphicAccessStructureListSlot(stubInfo, listIndex); in cti_op_get_by_id_proto_list()
[all …]
/external/webkit/WebCore/
DChangeLog-2006-12-3118686 redundant check that the listIndex has changed (setSelectedIndex does