Home
last modified time | relevance | path

Searched refs:selectedIndex (Results 1 – 25 of 139) sorted by relevance

123456

/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dlist_single_selection_model.js20 this.selectedIndex = -1;
38 var i = this.selectedIndex;
39 return i != -1 ? [this.selectedIndex] : [];
46 get selectedIndex() { getter in ListSingleSelectionModel
49 set selectedIndex(selectedIndex) { setter in ListSingleSelectionModel
50 var oldSelectedIndex = this.selectedIndex;
51 var i = Math.max(-1, Math.min(this.length_ - 1, selectedIndex));
68 this.selectedIndex = Math.min(start, end);
84 this.selectedIndex = this.anchorIndex = this.leadIndex = -1;
92 this.selectedIndex = -1;
[all …]
Dtabs.js26 tabBox.selectedIndex = Array.prototype.indexOf.call(p.children, this);
55 function selectedIndexSetHook(selectedIndex) { argument
59 tabChild.selected = j == selectedIndex;
77 this.selectedIndex = 0;
90 this.selectedIndex = index;
152 var index = this.parentElement.selectedIndex;
153 this.parentElement.selectedIndex = (index + delta + count) % count;
Dmenu.js73 return this.children[this.selectedIndex];
77 this.selectedIndex = index;
93 var i = self.selectedIndex;
105 self.selectedIndex = i;
130 function selectedIndexChanged(selectedIndex, oldSelectedIndex) { argument
Dlist_selection_model.js59 get selectedIndex() { getter in ListSelectionModel
65 set selectedIndex(selectedIndex) { argument
68 if (selectedIndex != -1) {
69 this.selectedIndexes = [selectedIndex]; argument
/external/chromium-trace/src/shared/js/cr/ui/
Dlist_single_selection_model.js20 this.selectedIndex = -1;
38 var i = this.selectedIndex;
39 return i != -1 ? [this.selectedIndex] : [];
47 get selectedIndex() { getter in ListSingleSelectionModel
50 set selectedIndex(selectedIndex) { argument
51 var oldSelectedIndex = this.selectedIndex;
52 var i = Math.max(-1, Math.min(this.length_ - 1, selectedIndex));
71 this.selectedIndex = Math.min(start, end);
87 this.selectedIndex = this.anchorIndex = this.leadIndex = -1;
95 this.selectedIndex = -1;
[all …]
Dtabs.js26 tabBox.selectedIndex = Array.prototype.indexOf.call(p.children, this);
55 function selectedIndexSetHook(selectedIndex) { argument
59 tabChild.selected = j == selectedIndex;
77 this.selectedIndex = 0;
90 this.selectedIndex = index;
152 var index = this.parentElement.selectedIndex;
153 this.parentElement.selectedIndex = (index + delta + count) % count;
Dmenu.js74 return this.children[this.selectedIndex];
78 this.selectedIndex = index;
94 var i = self.selectedIndex;
106 self.selectedIndex = i;
131 function selectedIndexChanged(selectedIndex, oldSelectedIndex) { argument
Dlist_selection_model.js78 get selectedIndex() { getter in ListSelectionModel
84 set selectedIndex(selectedIndex) { setter in ListSelectionModel
85 this.selectedIndexes = selectedIndex != -1 ? [selectedIndex] : [];
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
Dregress-90445.js38 var region = document.formtest.region.options.selectedIndex;
39 var confort = document.formtest.confort.options.selectedIndex;
40 var encadrement = document.formtest.encadrement.options.selectedIndex;
41 var typeVillage = document.formtest.type_village.options.selectedIndex;
43 var sport1 = document.formtest.sport1.options.selectedIndex;
44 var sport2 = document.formtest.sport2.options.selectedIndex;
45 var sport3 = document.formtest.sport3.options.selectedIndex;
46 var activite1 = document.formtest.activite1.options.selectedIndex;
47 var activite2 = document.formtest.activite2.options.selectedIndex;
48 var activite3 = document.formtest.activite3.options.selectedIndex;
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window_unittest.mm79 DCHECK_EQ([window selectedIndex], 2);
83 DCHECK_EQ([window selectedIndex], 1);
87 DCHECK_EQ([window selectedIndex], 2);
90 DCHECK_EQ([window selectedIndex], 0);
93 DCHECK_EQ([window selectedIndex], 2);
96 DCHECK_EQ([window selectedIndex], 0);
100 DCHECK_EQ([window selectedIndex], 0);
104 DCHECK_EQ([window selectedIndex], 0);
108 DCHECK_EQ([window selectedIndex], 0);
113 DCHECK_EQ([window selectedIndex], 0);
/external/webkit/Source/WebKit/chromium/tests/
DPopupMenuTest.cpp87 virtual int selectedIndex() const { return m_selectIndex; } in selectedIndex() function in __anona1a3422e0111::TestPopupMenuClient
199 int selectedIndex() const { return m_popupMenuClient.selectedIndex(); } in selectedIndex() function in __anona1a3422e0111::SelectPopupMenuTest
306 EXPECT_EQ(2, selectedIndex()); in TEST_F()
313 EXPECT_EQ(3, selectedIndex()); in TEST_F()
320 EXPECT_EQ(4, selectedIndex()); in TEST_F()
337 EXPECT_EQ(1, selectedIndex()); in TEST_F()
358 EXPECT_EQ(0, selectedIndex()); in TEST_F()
376 EXPECT_EQ(2, selectedIndex()); in TEST_F()
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/
Dpopup.js57 var selectedIndex = 0; variable
67 addApp(appsDiv, item, i == selectedIndex);
73 selectedIndex = 0;
140 selectedIndex = newIndex;
174 changeSelection(selectedIndex + 1);
177 changeSelection(selectedIndex - 1);
186 var app = appList[selectedIndex];
/external/chromium/chrome/browser/resources/options/
Dautofill_edit_creditcard_overlay.js143 $('expiration-month').selectedIndex = 0;
144 $('expiration-year').selectedIndex = 0;
162 $('expiration-month').selectedIndex = idx - 1;
170 $('expiration-year').selectedIndex = i;
Dlanguage_list.js179 this.selectionModel.selectedIndex = this.dataModel.length - 1;
205 this.selectionModel.selectedIndex = index;
307 this.selectionModel.selectedIndex = newIndex;
344 this.selectionModel.selectedIndex : -1);
351 this.selectionModel.selectedIndex = originalSelectedIndex;
358 this.selectionModel.selectedIndex = 0;
Dpref_ui.js391 self.selectedIndex = i;
398 self.selectedIndex = 0;
415 self.options[self.selectedIndex].value, self.metric);
419 self.options[self.selectedIndex].value, self.metric);
422 var option = self.options[self.selectedIndex];
428 self.options[self.selectedIndex].value, self.metric);
Dbrowser_options.js206 engineSelect.selectedIndex = defaultIndex;
417 var selectedIndex = engineSelect.selectedIndex;
418 if (selectedIndex >= 0) {
419 var selection = engineSelect.options[selectedIndex];
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/
Dupload_page.js231 this.albumSelect_.selectedIndex = albums.length - 1;
250 var album = this.client_.albums[this.albumSelect_.selectedIndex];
267 var album = this.client_.albums[this.albumSelect_.selectedIndex];
300 var album = this.client_.albums[this.albumSelect_.selectedIndex];
310 var album = this.client_.albums[this.albumSelect_.selectedIndex];
319 var album = this.client_.albums[this.albumSelect_.selectedIndex];
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
Dmain.js250 testSelector.selectedIndex = optionIndexByTest[previouslySelectedTest];
252 testSelector.selectedIndex =
256 testSelector.selectedIndex = 1;
333 if (testSelector.selectedIndex == testSelector.options.length - 1) {
336 var nextTest = testSelector.options[testSelector.selectedIndex + 1].value;
510 var nextTestIndex = testSelector.selectedIndex + 1;
518 testSelector.selectedIndex = nextTestIndex;
528 var previousTestIndex = testSelector.selectedIndex - 1;
536 testSelector.selectedIndex = previousTestIndex;
Dqueue.js76 this._selectNode.selectedIndex == -1;
105 if (this._selectNode.selectedIndex == -1)
109 this._selectNode.options[this._selectNode.selectedIndex].value);
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_single_selection_model.js36 var oldSelectedIndex = this.selectedIndex;
38 this.selectedIndex = permutation[oldSelectedIndex];
/external/webkit/Source/WebKit2/UIProcess/win/
DWebPageProxyWin.cpp58 void WebPageProxy::setPopupMenuSelectedIndex(int32_t selectedIndex) in setPopupMenuSelectedIndex() argument
63 static_cast<WebPopupMenuProxyWin*>(m_activePopupMenu.get())->setFocusedIndex(selectedIndex); in setPopupMenuSelectedIndex()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebPopupMenu.cpp133 int selectedIndex = m_popupClient->selectedIndex(); in updateFromElement() local
134 ….connection()->send(Messages::WebPageProxy::SetPopupMenuSelectedIndex(selectedIndex), m_page->page… in updateFromElement()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
DFingerprints.js3 var type=formSelect.selectedIndex;
31 formSelect.selectedIndex=type;
/external/chromium/chrome/browser/resources/gpu_internals/
Dtracing_controller_tests.js42 tracingControllerTestEvents = dataSets[selectEl.selectedIndex].events;
47 tracingControllerTestEvents = dataSets[selectEl.selectedIndex].events;
/external/webkit/Source/WebCore/html/
DHTMLOptionsCollection.cpp75 int HTMLOptionsCollection::selectedIndex() const in selectedIndex() function in WebCore::HTMLOptionsCollection
77 return static_cast<HTMLSelectElement*>(base())->selectedIndex(); in selectedIndex()

123456