/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | list_single_selection_model.js | 19 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() { getter in ListSingleSelectionModel 55 set selectedIndex(selectedIndex) { argument 56 var oldSelectedIndex = this.selectedIndex; 57 var i = Math.max(-1, Math.min(this.length_ - 1, selectedIndex)); 75 this.selectedIndex = Math.min(start, end); 91 this.selectedIndex = this.anchorIndex = this.leadIndex = -1; [all …]
|
D | menu.js | 130 return this.menuItems[this.selectedIndex]; 134 this.selectedIndex = index; 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) { argument
|
D | tabs.js | 37 tabBox.selectedIndex = Array.prototype.indexOf.call(p.children, this); 67 function selectedIndexSetHook(selectedIndex) { argument 72 child.selected = i == selectedIndex; 79 child.selected = i == selectedIndex; 97 this.selectedIndex = 0; 110 this.selectedIndex = index; 173 var index = tabbox.selectedIndex; 174 tabbox.selectedIndex = (index + delta + count) % count;
|
D | list_selection_model.js | 90 get selectedIndex() { getter in ListSelectionModel 96 set selectedIndex(selectedIndex) { argument 97 this.selectedIndexes = selectedIndex != -1 ? [selectedIndex] : [];
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/ |
D | list_single_selection_model.js | 19 this.selectedIndex = -1; 37 var i = this.selectedIndex; 38 return i != -1 ? [this.selectedIndex] : []; 45 get selectedIndex() { getter in ListSingleSelectionModel 48 set selectedIndex(selectedIndex) { setter in ListSingleSelectionModel 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 = this.anchorIndex = this.leadIndex = -1; 91 this.selectedIndex = -1; [all …]
|
D | list_selection_model.js | 58 get selectedIndex() { getter in ListSelectionModel 64 set selectedIndex(selectedIndex) { argument 67 if (selectedIndex != -1) { 68 this.selectedIndexes = [selectedIndex]; argument
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/ |
D | popup.js | 57 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/android/java/src/org/chromium/chrome/browser/omnibox/ |
D | AutocompleteController.java | 196 protected void onSuggestionSelected(int selectedIndex, OmniboxSuggestion.Type type, in onSuggestionSelected() argument 199 nativeOnSuggestionSelected(mNativeAutocompleteControllerAndroid, selectedIndex, in onSuggestionSelected() 238 public String updateMatchDestinationUrl(int selectedIndex, long elapsedTimeSinceInputChange) { in updateMatchDestinationUrl() argument 239 return nativeUpdateMatchDestinationURL(mNativeAutocompleteControllerAndroid, selectedIndex, in updateMatchDestinationUrl() 261 int selectedIndex, String currentPageUrl, boolean isQueryInOmnibox, in nativeOnSuggestionSelected() argument 267 int selectedIndex); in nativeDeleteSuggestion() argument 269 int selectedIndex, long elapsedTimeSinceInputChange); in nativeUpdateMatchDestinationURL() argument
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/ |
D | select_widget.js | 46 var currentSelection = this.selectNode_.selectedIndex; 70 var selectedIndex = 72 self.selectNode_.selectedIndex = selectedIndex;
|
/external/chromium_org/chrome/browser/resources/ |
D | sync_setup_overlay.js | 176 setDataTypeCheckboxes_: function(selectedIndex) { argument 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); 432 if (this.selectedIndex == DataTypeSelection.SYNC_EVERYTHING) [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
D | wallpaper_manager.js | 72 return setWallpaperLayout.options[setWallpaperLayout.selectedIndex].value; 347 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex; 348 var item = wallpaperGrid.dataModel.item(selectedIndex); 352 wallpaperGrid.dataModel.splice(selectedIndex, 1); 362 selectedIndex = Math.min(selectedIndex, customWallpaperCount - 1); 363 wallpaperGrid.selectionModel.selectedIndex = selectedIndex; 377 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex; 378 var item = wallpaperGrid.dataModel.item(selectedIndex); 379 if (selectedIndex != this.wallpaperGrid_.dataModel.length - 1 && 400 this.categoriesList_.selectionModel.selectedIndex = [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
D | popup.js | 19 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/third_party/WebKit/Source/devtools/front_end/ui/ |
D | DropDownMenu.js | 31 var selectedOption = options[this.element.selectedIndex]; 55 this.element.selectedIndex = i; 59 this.element.selectedIndex = -1;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | PopupMenuTest.cpp | 118 virtual int selectedIndex() const { return m_selectIndex; } in selectedIndex() function in __anon7ddc0b860111::TestPopupMenuClient 205 int selectedIndex() const { return m_popupMenuClient.selectedIndex(); } in selectedIndex() function in __anon7ddc0b860111::SelectPopupMenuTest 325 EXPECT_EQ(2, selectedIndex()); in TEST_F() 332 EXPECT_EQ(3, selectedIndex()); in TEST_F() 339 EXPECT_EQ(4, selectedIndex()); in TEST_F() 357 EXPECT_EQ(1, selectedIndex()); in TEST_F() 379 EXPECT_EQ(0, selectedIndex()); in TEST_F() 397 EXPECT_EQ(2, selectedIndex()); in TEST_F()
|
/external/chromium_org/chrome/browser/resources/options/ |
D | autofill_edit_creditcard_overlay.js | 148 $('expiration-month').selectedIndex = 0; 149 $('expiration-year').selectedIndex = 0; 170 $('expiration-month').selectedIndex = idx - 1; 178 $('expiration-year').selectedIndex = i;
|
D | language_list.js | 165 this.selectionModel.selectedIndex = this.dataModel.length - 1; 198 this.selectionModel.selectedIndex = index; 302 this.selectionModel.selectedIndex = newIndex; 388 this.selectionModel.selectedIndex : -1); 395 this.selectionModel.selectedIndex = originalSelectedIndex; 402 this.selectionModel.selectedIndex = 0;
|
/external/chromium-trace/trace-viewer/src/ui/ |
D | dom_helpers.js | 74 return selectorEl.children[selectorEl.selectedIndex].targetPropertyValue; 80 selectorEl.selectedIndex = i; 94 selectorEl.selectedIndex = i; 99 selectorEl.selectedIndex = defaultValueIndex;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
D | main.js | 284 testSelector.selectedIndex = optionIndexByTest[previouslySelectedTest]; 286 testSelector.selectedIndex = 290 testSelector.selectedIndex = 1; 367 if (testSelector.selectedIndex == testSelector.options.length - 1) { 370 var nextTest = testSelector.options[testSelector.selectedIndex + 1].value; 544 var nextTestIndex = testSelector.selectedIndex + 1; 552 testSelector.selectedIndex = nextTestIndex; 562 var previousTestIndex = testSelector.selectedIndex - 1; 570 testSelector.selectedIndex = previousTestIndex;
|
D | queue.js | 76 this._selectNode.selectedIndex == -1; 105 if (this._selectNode.selectedIndex == -1) 109 this._selectNode.options[this._selectNode.selectedIndex].value);
|
/external/chromium_org/chrome/browser/resources/print_preview/settings/ |
D | media_size_settings.js | 67 var indexToSelect = select.selectedIndex; 89 select.selectedIndex = indexToSelect; 99 var mediaSize = JSON.parse(select.options[select.selectedIndex].value);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | default_action_dialog.js | 125 this.selectionModel_.selectedIndex = defaultIndex; 142 if (this.selectionModel_.selectedIndex !== -1) 143 this.activateItemAtIndex_(this.selectionModel_.selectedIndex);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
D | Fingerprints.js | 3 var type=formSelect.selectedIndex; 31 formSelect.selectedIndex=type;
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/ |
D | ribbon.js | 160 var selectedIndex = indexes[0]; 173 var lastIndex = selectedIndex + right; 236 firstIndex > 0 && selectedIndex != firstIndex); 239 lastIndex < length - 1 && selectedIndex != lastIndex); 251 this.renderCache_[this.dataModel_.item(selectedIndex).getEntry().toURL()];
|
/external/chromium_org/ui/file_manager/gallery/js/ |
D | ribbon.js | 160 var selectedIndex = indexes[0]; 173 var lastIndex = selectedIndex + right; 236 firstIndex > 0 && selectedIndex != firstIndex); 239 lastIndex < length - 1 && selectedIndex != lastIndex); 251 this.renderCache_[this.dataModel_.item(selectedIndex).getEntry().toURL()];
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | capture_status_view.js | 18 this.getDropdown_().selectedIndex = -1; 66 dropdown.selectedIndex = -1;
|