Searched refs:selectedIndex (Results 1 - 25 of 136) sorted by relevance

123456

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
H A Dlist_single_selection_model.js19 this.selectedIndex = -1;
37 var i = this.selectedIndex;
38 return i != -1 ? [this.selectedIndex] : [];
45 get selectedIndex() {
48 set selectedIndex(selectedIndex) {
49 var oldSelectedIndex = this.selectedIndex;
50 var i = Math.max(-1, Math.min(this.length_ - 1, selectedIndex));
67 this.selectedIndex = Math.min(start, end);
83 this.selectedIndex
[all...]
H A Dlist_selection_model.js58 get selectedIndex() {
64 set selectedIndex(selectedIndex) {
67 if (selectedIndex != -1) {
68 this.selectedIndexes = [selectedIndex];
/external/chromium_org/third_party/WebKit/public/web/
H A DWebPopupMenuInfo.h43 int selectedIndex; member in struct:blink::WebPopupMenuInfo
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dlist_single_selection_model.js19 this.selectedIndex = -1;
40 var i = this.selectedIndex;
41 return i != -1 ? [this.selectedIndex] : [];
44 this.selectedIndex = indexes.length ? indexes[0] : -1;
52 get selectedIndex() {
55 set selectedIndex(selectedIndex) {
56 var oldSelectedIndex = this.selectedIndex;
57 var i = Math.max(-1, Math.min(this.length_ - 1, selectedIndex));
75 this.selectedIndex
[all...]
H A Dmenu.js130 return this.menuItems[this.selectedIndex];
134 this.selectedIndex = index;
138 * Focuses the selected item. If selectedIndex is invalid, set it to 0
142 if (this.selectedIndex < 0 ||
143 this.selectedIndex > this.menuItems.length) {
144 this.selectedIndex = 0;
190 var i = self.selectedIndex;
214 self.selectedIndex = i;
257 function selectedIndexChanged(selectedIndex, oldSelectedIndex) {
272 cr.defineProperty(Menu, 'selectedIndex', c
[all...]
H A Dtabs.js29 * This sets the selectedIndex on the parent TabBox.
37 tabBox.selectedIndex = Array.prototype.indexOf.call(p.children, this);
63 * Set hook for TabBox selectedIndex.
64 * @param {number} selectedIndex The new selected index.
67 function selectedIndexSetHook(selectedIndex) {
72 child.selected = i == selectedIndex;
79 child.selected = i == selectedIndex;
97 this.selectedIndex = 0;
110 this.selectedIndex = index;
121 cr.defineProperty(TabBox, 'selectedIndex', c
[all...]
H A Dlist_selection_model.js90 get selectedIndex() {
96 set selectedIndex(selectedIndex) {
97 this.selectedIndexes = selectedIndex != -1 ? [selectedIndex] : [];
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/
H A Dselect_widget.js46 var currentSelection = this.selectNode_.selectedIndex;
70 var selectedIndex =
72 self.selectNode_.selectedIndex = selectedIndex;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
H A DFingerprints.js3 var type=formSelect.selectedIndex;
31 formSelect.selectedIndex=type;
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dcapture_status_view.js18 this.getDropdown_().selectedIndex = -1;
66 dropdown.selectedIndex = -1;
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DVideoTrackList.h20 int selectedIndex() const;
H A DVideoTrackList.cpp33 int VideoTrackList::selectedIndex() const function in class:WebCore::VideoTrackList
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDropDownMenu.js31 var selectedOption = options[this.element.selectedIndex];
55 this.element.selectedIndex = i;
59 this.element.selectedIndex = -1;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
H A DAutocompleteController.java187 * @param selectedIndex The index of the suggestion that was selected.
196 protected void onSuggestionSelected(int selectedIndex, OmniboxSuggestion.Type type, argument
199 nativeOnSuggestionSelected(mNativeAutocompleteControllerAndroid, selectedIndex,
231 * @param selectedIndex The index of the autocomplete entry selected.
238 public String updateMatchDestinationUrl(int selectedIndex, long elapsedTimeSinceInputChange) { argument
239 return nativeUpdateMatchDestinationURL(mNativeAutocompleteControllerAndroid, selectedIndex,
261 int selectedIndex, String currentPageUrl, boolean isQueryInOmnibox,
267 int selectedIndex);
269 int selectedIndex, long elapsedTimeSinceInputChange);
260 nativeOnSuggestionSelected(long nativeAutocompleteControllerAndroid, int selectedIndex, String currentPageUrl, boolean isQueryInOmnibox, boolean focusedFromFakebox, long elapsedTimeSinceModified, WebContents webContents) argument
266 nativeDeleteSuggestion(long nativeAutocompleteControllerAndroid, int selectedIndex) argument
268 nativeUpdateMatchDestinationURL(long nativeAutocompleteControllerAndroid, int selectedIndex, long elapsedTimeSinceInputChange) argument
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/
H A Dpopup.js57 var selectedIndex = 0; variable
67 addApp(appsDiv, item, i == selectedIndex);
73 selectedIndex = 0;
122 selectedIndex = newIndex;
156 changeSelection(selectedIndex + 1);
159 changeSelection(selectedIndex - 1);
168 var app = appList[selectedIndex];
/external/chromium_org/chrome/browser/resources/print_preview/settings/
H A Dmedia_size_settings.js67 var indexToSelect = select.selectedIndex;
89 select.selectedIndex = indexToSelect;
99 var mediaSize = JSON.parse(select.options[select.selectedIndex].value);
H A Dmargin_settings.js74 select.selectedIndex);
89 select.selectedIndex);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLSelectElementWin.cpp51 int index = selectedIndex();
H A DHTMLOptionsCollection.idl26 attribute long selectedIndex;
H A DHTMLOptionsCollection.h44 int selectedIndex() const;
/external/chromium_org/chrome/browser/resources/options/
H A Dautofill_edit_creditcard_overlay.js148 $('expiration-month').selectedIndex = 0;
149 $('expiration-year').selectedIndex = 0;
170 $('expiration-month').selectedIndex = idx - 1;
178 $('expiration-year').selectedIndex = i;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/
H A Dutil.js44 if (select.selectedIndex == -1) {
47 return select.options[select.selectedIndex].value;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
H A Dpopup.js19 var ampm = $('a' + alarm + '_ampm').selectedIndex;
278 $('a1_ampm').selectedIndex = a1_ampm;
280 localStorage['a1_ampm'] = $('a1_ampm').selectedIndex;
323 $('a2_ampm').selectedIndex = a2_ampm;
325 localStorage['a2_ampm'] = $('a2_ampm').selectedIndex;
361 sound.selectedIndex = i;
365 localStorage['sound'] = sound.options[sound.selectedIndex].value;
367 localStorage['sound'] = sound.options[sound.selectedIndex].value;
398 var i = voice.selectedIndex;
/external/chromium_org/chrome/browser/resources/
H A Dsync_setup_overlay.js173 * @param {cr.DataTypeSelection} selectedIndex Index of user's selection.
176 setDataTypeCheckboxes_: function(selectedIndex) {
177 if (selectedIndex == DataTypeSelection.CHOOSE_WHAT_TO_SYNC) {
182 this.checkAllDataTypeCheckboxes_(selectedIndex ==
253 var syncAll = $('sync-select-datatypes').selectedIndex ==
255 var syncNothing = $('sync-select-datatypes').selectedIndex ==
310 datatypeSelect.selectedIndex = args.syncAllDataTypes ?
375 this.setDataTypeCheckboxes_(datatypeSelect.selectedIndex);
428 if (this.selectedIndex == DataTypeSelection.SYNC_NOTHING) {
431 self.showCustomizePage_(self.syncConfigureArgs_, this.selectedIndex);
[all...]
/external/chromium_org/chrome/browser/resources/sync_file_system_internals/
H A Dfile_metadata.js54 if (dropDown.selectedIndex >= 0)
55 return dropDown[dropDown.selectedIndex].value;

Completed in 1408 milliseconds

123456