/external/webkit/WebCore/platform/ |
PopupMenuClient.h | 39 virtual void valueChanged(unsigned listIndex, bool fireEvents = true) = 0; 41 virtual String itemText(unsigned listIndex) const = 0; 42 virtual String itemToolTip(unsigned listIndex) const = 0; 43 virtual bool itemIsEnabled(unsigned listIndex) const = 0; 44 virtual PopupMenuStyle itemStyle(unsigned listIndex) const = 0; 53 virtual bool itemIsSeparator(unsigned listIndex) const = 0; 54 virtual bool itemIsLabel(unsigned listIndex) const = 0; 55 virtual bool itemIsSelected(unsigned listIndex) const = 0; 58 virtual void setTextFromItem(unsigned listIndex) = 0;
|
/external/webkit/WebKit/chromium/src/ |
AutocompletePopupMenuClient.cpp | 47 WebString AutocompletePopupMenuClient::getSuggestion(unsigned listIndex) const 49 ASSERT(listIndex >= 0 && listIndex < m_suggestions.size()); 50 return m_suggestions[listIndex]; 53 void AutocompletePopupMenuClient::removeSuggestionAtIndex(unsigned listIndex) 55 ASSERT(listIndex >= 0 && listIndex < m_suggestions.size()); 56 m_suggestions.remove(listIndex);
|
AutoFillPopupMenuClient.cpp | 47 WebString AutoFillPopupMenuClient::getSuggestion(unsigned listIndex) const 50 ASSERT(listIndex >= 0 && listIndex < m_names.size()); 51 return m_names[listIndex] + String(" (") + m_labels[listIndex] + String(")"); 54 void AutoFillPopupMenuClient::removeSuggestionAtIndex(unsigned listIndex) 57 ASSERT(listIndex >= 0 && listIndex < m_names.size()); 58 m_names.remove(listIndex); 59 m_labels.remove(listIndex); [all...] |
SuggestionsPopupMenuClient.h | 56 // Returns the suggestion at |listIndex|. 57 virtual WebString getSuggestion(unsigned listIndex) const = 0; 59 // Removes the suggestion at |listIndex| from the list of suggestions. 60 virtual void removeSuggestionAtIndex(unsigned listIndex) = 0; 63 virtual void valueChanged(unsigned listIndex, bool fireEvents = true); 64 virtual WebCore::String itemText(unsigned listIndex) const; 66 virtual bool itemIsEnabled(unsigned listIndex) const { return true; } 67 virtual WebCore::PopupMenuStyle itemStyle(unsigned listIndex) const; 76 virtual bool itemIsSeparator(unsigned listIndex) const { return false; } 77 virtual bool itemIsLabel(unsigned listIndex) const { return false; [all...] |
AutocompletePopupMenuClient.h | 50 virtual WebString getSuggestion(unsigned listIndex) const; 51 virtual void removeSuggestionAtIndex(unsigned listIndex);
|
AutoFillPopupMenuClient.h | 50 virtual WebString getSuggestion(unsigned listIndex) const; 51 virtual void removeSuggestionAtIndex(unsigned listIndex);
|
SuggestionsPopupMenuClient.cpp | 57 void SuggestionsPopupMenuClient::valueChanged(unsigned listIndex, bool fireEvents) 59 m_textField->setValue(getSuggestion(listIndex)); 72 String SuggestionsPopupMenuClient::itemText(unsigned listIndex) const 74 return getSuggestion(listIndex); 77 PopupMenuStyle SuggestionsPopupMenuClient::itemStyle(unsigned listIndex) const 114 void SuggestionsPopupMenuClient::setTextFromItem(unsigned listIndex) 116 m_textField->setValue(getSuggestion(listIndex));
|
/external/webkit/WebCore/rendering/ |
RenderMenuList.h | 76 virtual String itemText(unsigned listIndex) const; 77 virtual String itemToolTip(unsigned listIndex) const; 78 virtual bool itemIsEnabled(unsigned listIndex) const; 79 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 [all...] |
RenderTextControlSingleLine.h | 100 virtual void valueChanged(unsigned listIndex, bool fireEvents = true); 101 virtual String itemText(unsigned listIndex) const; 103 virtual bool itemIsEnabled(unsigned listIndex) const; 104 virtual PopupMenuStyle itemStyle(unsigned listIndex) const; 113 virtual bool itemIsSeparator(unsigned listIndex) const; 114 virtual bool itemIsLabel(unsigned listIndex) const; 115 virtual bool itemIsSelected(unsigned listIndex) const; 118 virtual void setTextFromItem(unsigned listIndex);
|
RenderMenuList.cpp | 299 void RenderMenuList::valueChanged(unsigned listIndex, bool fireOnChange) 308 select->setSelectedIndexByUser(select->listToOptionIndex(listIndex), true, fireOnChange); 323 String RenderMenuList::itemText(unsigned listIndex) const 327 if (listIndex >= listItems.size()) 329 Element* element = listItems[listIndex]; 337 String RenderMenuList::itemToolTip(unsigned listIndex) const 341 if (listIndex >= listItems.size()) 343 Element* element = listItems[listIndex]; 347 bool RenderMenuList::itemIsEnabled(unsigned listIndex) const 351 if (listIndex >= listItems.size() [all...] |
RenderListBox.h | 113 void valueChanged(unsigned listIndex); 119 void paintItemForeground(PaintInfo&, int tx, int ty, int listIndex); 120 void paintItemBackground(PaintInfo&, int tx, int ty, int listIndex);
|
RenderTextControlSingleLine.cpp | 637 void RenderTextControlSingleLine::valueChanged(unsigned listIndex, bool fireEvents) 640 ASSERT(static_cast<int>(listIndex) < listSize()); 642 if (static_cast<int>(listIndex) == (listSize() - 1)) { 653 input->setValue(itemText(listIndex)); 660 String RenderTextControlSingleLine::itemText(unsigned listIndex) const 664 ASSERT(!listIndex); 667 if (!listIndex) 669 if (itemIsSeparator(listIndex)) 671 if (static_cast<int>(listIndex) == (size - 1)) 673 return m_recentSearches[listIndex - 1] [all...] |
RenderListBox.cpp | 294 void RenderListBox::paintItemForeground(PaintInfo& paintInfo, int tx, int ty, int listIndex) 298 Element* element = listItems[listIndex]; 308 IntRect r = itemBoundingBoxRect(tx, ty, listIndex); 344 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, int tx, int ty, int listIndex) 348 Element* element = listItems[listIndex]; 363 IntRect itemRect = itemBoundingBoxRect(tx, ty, listIndex); 518 void RenderListBox::valueChanged(unsigned listIndex) 522 select->setSelectedIndex(select->listToOptionIndex(listIndex));
|
/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/WebCore/dom/ |
SelectElement.cpp | 317 int listIndex = optionToListIndex(data, element, optionIndex); 322 if (OptionElement* optionElement = (listIndex >= 0 ? toOptionElement(items[listIndex]) : 0)) { 323 excludeElement = items[listIndex]; 325 setActiveSelectionAnchorIndex(data, element, listIndex); 327 setActiveSelectionEndIndex(data, listIndex); 366 for (int listIndex = 0; listIndex < listSize; ++listIndex) { 367 if (isOptionElement(items[listIndex])) { [all...] |
SelectElement.h | 56 virtual int listToOptionIndex(int listIndex) const = 0; 83 static int listToOptionIndex(const SelectElementData&, const Element*, int listIndex);
|
/external/webkit/WebCore/html/ |
HTMLSelectElement.cpp | 124 int listIndex = optionToListIndex(index); 125 if (listIndex < 0) 128 Element* item = listItems()[listIndex]; 249 int HTMLSelectElement::listToOptionIndex(int listIndex) const 251 return SelectElement::listToOptionIndex(m_data, this, listIndex); 415 for (size_t listIndex = 0; listIndex < items.size(); listIndex++) { 416 if (items[listIndex]->hasLocalName(optionTag) && optionIndex++ >= newLen) { 417 Element *item = items[listIndex]; [all...] |
HTMLSelectElement.h | 112 virtual int listToOptionIndex(int listIndex) const;
|
/external/webkit/WebCore/wml/ |
WMLSelectElement.cpp | 157 int WMLSelectElement::listToOptionIndex(int listIndex) const 159 return SelectElement::listToOptionIndex(m_data, this, listIndex); 364 int listIndex = optionToListIndex(optionIndex - 1); 365 ASSERT(listIndex >= 0); 366 ASSERT(listIndex < (int) items.size()); 368 if (OptionElement* optionElement = toOptionElement(items[listIndex])) 496 int listIndex = optionToListIndex((*it) - 1); 497 ASSERT(listIndex >= 0); 498 ASSERT(listIndex < (int) items.size()); 500 if (OptionElement* optionElement = toOptionElement(items[listIndex])) { [all...] |
WMLSelectElement.h | 67 virtual int listToOptionIndex(int listIndex) const;
|
/external/chromium/third_party/icu/source/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...] |
/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) {
|