HomeSort by relevance Sort by last modified time
    Searched refs:listIndex (Results 1 - 24 of 24) sorted by null

  /external/webkit/Source/WebCore/platform/
PopupMenuClient.h 40 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) const = 0
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderMenuList.h 84 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) const
    [all...]
RenderTextControlSingleLine.h 117 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...]
RenderMenuList.cpp 310 void RenderMenuList::valueChanged(unsigned listIndex, bool fireOnChange)
319 select->setSelectedIndexByUser(select->listToOptionIndex(listIndex), true, fireOnChange);
323 void RenderMenuList::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow)
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]->getAttribute(aria_labelAttr)
    [all...]
RenderListBox.h 131 void valueChanged(unsigned listIndex);
136 void paintItemForeground(PaintInfo&, int tx, int ty, int listIndex);
137 void paintItemBackground(PaintInfo&, int tx, int ty, int listIndex);
RenderTextControlSingleLine.cpp     [all...]
RenderListBox.cpp 358 void RenderListBox::paintItemForeground(PaintInfo& paintInfo, int tx, int ty, int listIndex)
362 Element* element = listItems[listIndex];
394 IntRect r = itemBoundingBoxRect(tx, ty, listIndex);
409 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, int tx, int ty, int listIndex)
413 Element* element = listItems[listIndex];
428 IntRect itemRect = itemBoundingBoxRect(tx, ty, listIndex);
586 void RenderListBox::valueChanged(unsigned listIndex)
590 select->setSelectedIndex(select->listToOptionIndex(listIndex));
  /external/webkit/Source/WebKit/chromium/src/
AutoFillPopupMenuClient.cpp 67 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)
99 if (!canRemoveSuggestionAtIndex(listIndex))
102 int index = convertListIndexToInternalIndex(listIndex);
116 bool AutoFillPopupMenuClient::canRemoveSuggestionAtIndex(unsigned listIndex)
    [all...]
AutoFillPopupMenuClient.h 57 // 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...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListItemFocusablesFarApartTest.java 47 * @param listIndex The index of the currently visible items
50 public View getChildOfItem(int listIndex, int index) {
51 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index);
55 public int getTopOfChildOfItem(int listIndex, int index) {
56 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex);
61 public int getBottomOfChildOfItem(int listIndex, int index) {
62 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListItemFocusablesClose.java 33 * @param listIndex The index of the currently visible items
36 public View getChildOfItem(int listIndex, int index) {
37 return ((ViewGroup) getListView().getChildAt(listIndex)).getChildAt(index);
  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
SimPhoneBookTest.java 46 int adnIndex, listIndex = 0;
52 listIndex = adnIndex - 1; // listIndex is zero based.
53 originalAdn = adnRecordList.get(listIndex);
74 AdnRecord tmpAdn = adnRecordList.get(listIndex);
83 tmpAdn = adnRecordList.get(listIndex);
93 tmpAdn = adnRecordList.get(listIndex);
102 tmpAdn = adnRecordList.get(listIndex);
  /external/webkit/Source/WebKit/chromium/tests/
PopupMenuTest.cpp 58 virtual void valueChanged(unsigned listIndex, bool fireEvents = true)
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
    [all...]
  /external/webkit/Source/WebCore/dom/
SelectElement.cpp 78 // 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)
85 int lastGoodIndex = listIndex;
87 for (listIndex += direction; listIndex >= 0 && listIndex < size; listIndex += direction) {
89 if (!listItems[listIndex]->disabled() && isOptionElement(listItems[listIndex]))
    [all...]
SelectElement.h 57 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/
HTMLSelectElement.cpp 129 int listIndex = optionToListIndex(0);
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)
151 setSelectedIndexByUser(listToOptionIndex(listIndex), true, fireOnChangeNow);
153 updateSelectedState(m_data, this, listIndex, allowMultiplySelections, shift);
192 int listIndex = optionToListIndex(optionIndex);
193 if (listIndex < 0
    [all...]
HTMLSelectElement.h 87 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true);
120 virtual int listToOptionIndex(int listIndex) const;
  /external/webkit/Source/WebCore/wml/
WMLSelectElement.h 69 virtual int listToOptionIndex(int listIndex) const;
92 virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true);
WMLSelectElement.cpp 164 int WMLSelectElement::listToOptionIndex(int listIndex) const
166 return SelectElement::listToOptionIndex(m_data, this, listIndex);
371 int listIndex = optionToListIndex(optionIndex - 1);
372 ASSERT(listIndex >= 0);
373 ASSERT(listIndex < (int) items.size());
375 if (OptionElement* optionElement = toOptionElement(items[listIndex]))
503 int listIndex = optionToListIndex((*it) - 1);
504 ASSERT(listIndex >= 0);
505 ASSERT(listIndex < (int) items.size());
507 if (OptionElement* optionElement = toOptionElement(items[listIndex])) {
    [all...]
  /external/icu4c/common/
bmpset.cpp 110 int32_t listIndex=0;
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...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
ImageListUber.java 209 int listIndex = Util.indexOf(mSubList, list);
210 if (listIndex == -1) {
221 if (which == listIndex) {
  /hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
apConn.c     [all...]
  /external/webkit/Source/JavaScriptCore/jit/
JITStubs.cpp     [all...]
  /external/webkit/Source/WebCore/platform/mac/
HTMLConverter.mm     [all...]

Completed in 358 milliseconds