Searched refs:optionIndex (Results 1 - 13 of 13) sorted by relevance

/external/webkit/WebCore/wml/
H A DWMLSelectElement.cpp106 void WMLSelectElement::setSelectedIndex(int optionIndex, bool deselect) argument
108 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, false, false);
111 void WMLSelectElement::setSelectedIndexByUser(int optionIndex, bool deselect, bool fireOnChangeNow) argument
113 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, fireOnChangeNow, true);
152 int WMLSelectElement::optionToListIndex(int optionIndex) const
154 return SelectElement::optionToListIndex(m_data, this, optionIndex);
361 unsigned optionIndex = m_defaultOptionIndices.first(); local
362 ASSERT(optionIndex >= 1);
364 int listIndex = optionToListIndex(optionIndex - 1);
386 unsigned optionIndex local
457 unsigned optionIndex = 0; local
492 unsigned optionIndex = (*it); local
[all...]
H A DWMLSelectElement.h66 virtual int optionToListIndex(int optionIndex) const;
H A DWMLOptionElement.cpp67 select->accessKeySetSelectedIndex(OptionElement::optionIndex(select, this));
/external/webkit/WebCore/dom/
H A DOptionElement.cpp49 int OptionElement::optionIndex(SelectElement* selectElement, const Element* element) function in class:WebCore::OptionElement
58 int optionIndex = 0; local
63 return optionIndex;
64 ++optionIndex;
H A DSelectElement.h57 virtual int optionToListIndex(int optionIndex) const = 0;
81 static void setSelectedIndex(SelectElementData&, Element*, int optionIndex, bool deselect = true, bool fireOnChangeNow = false, bool userDrivenChange = true);
82 static int optionToListIndex(const SelectElementData&, const Element*, int optionIndex);
H A DOptionElement.h46 static int optionIndex(SelectElement*, const Element*);
H A DSelectElement.cpp314 void SelectElement::setSelectedIndex(SelectElementData& data, Element* element, int optionIndex, bool deselect, bool fireOnChangeNow, bool userDrivenChange) argument
317 int listIndex = optionToListIndex(data, element, optionIndex);
358 int SelectElement::optionToListIndex(const SelectElementData& data, const Element* element, int optionIndex) argument
362 if (optionIndex < 0 || optionIndex >= listSize)
369 if (optionIndex2 == optionIndex)
384 int optionIndex = 0; // actual index of option not counting OPTGROUP entries that may be in list local
387 ++optionIndex;
389 return optionIndex;
/external/webkit/WebCore/html/
H A DHTMLSelectElement.cpp83 void HTMLSelectElement::setSelectedIndex(int optionIndex, bool deselect) argument
85 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, false, false);
88 void HTMLSelectElement::setSelectedIndexByUser(int optionIndex, bool deselect, bool fireOnChangeNow) argument
90 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, fireOnChangeNow, true);
151 unsigned optionIndex = 0; local
155 setSelectedIndex(optionIndex, true);
158 optionIndex++;
244 int HTMLSelectElement::optionToListIndex(int optionIndex) const
246 return SelectElement::optionToListIndex(m_data, this, optionIndex);
414 size_t optionIndex local
[all...]
H A DHTMLSelectElement.h111 virtual int optionToListIndex(int optionIndex) const;
H A DHTMLOptionElement.cpp113 return OptionElement::optionIndex(ownerSelectElement(), this);
/external/webkit/WebCore/rendering/
H A DRenderMenuList.h106 void setTextFromOption(int optionIndex);
H A DRenderMenuList.cpp177 void RenderMenuList::setTextFromOption(int optionIndex) argument
183 int i = select->optionToListIndex(optionIndex);
/external/webkit/WebKit/android/jni/
H A DWebViewCore.cpp1864 int optionIndex = selectElement->listToOptionIndex(index); local
1865 m_select->setSelectedIndex(optionIndex, true);

Completed in 163 milliseconds