/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) { setter in ListSingleSelectionModel 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 | 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 | 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 | 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) { argument 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) { setter in ListSelectionModel 67 if (selectedIndex != -1) { 68 this.selectedIndexes = [selectedIndex]; argument
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
D | list_single_selection_model.js | 20 this.selectedIndex = -1; 38 var i = this.selectedIndex; 39 return i != -1 ? [this.selectedIndex] : []; 46 get selectedIndex() { getter in ListSingleSelectionModel 49 set selectedIndex(selectedIndex) { argument 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 …]
|
D | tabs.js | 26 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;
|
D | menu.js | 73 return this.children[this.selectedIndex]; 77 this.selectedIndex = index; 93 var i = self.selectedIndex; 105 self.selectedIndex = i; 130 function selectedIndexChanged(selectedIndex, oldSelectedIndex) { argument
|
D | list_selection_model.js | 59 get selectedIndex() { getter in ListSelectionModel 65 set selectedIndex(selectedIndex) { setter in ListSelectionModel 68 if (selectedIndex != -1) { 69 this.selectedIndexes = [selectedIndex]; argument
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | tabpose_window_unittest.mm | 79 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/chromium_org/chrome/browser/ui/cocoa/ |
D | tabpose_window_unittest.mm | 88 DCHECK_EQ([window selectedIndex], 2); 92 DCHECK_EQ([window selectedIndex], 1); 96 DCHECK_EQ([window selectedIndex], 2); 99 DCHECK_EQ([window selectedIndex], 0); 102 DCHECK_EQ([window selectedIndex], 2); 105 DCHECK_EQ([window selectedIndex], 0); 109 DCHECK_EQ([window selectedIndex], 0); 113 DCHECK_EQ([window selectedIndex], 0); 117 DCHECK_EQ([window selectedIndex], 0); 122 DCHECK_EQ([window selectedIndex], 0);
|
/external/chromium/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; 140 selectedIndex = newIndex; 174 changeSelection(selectedIndex + 1); 177 changeSelection(selectedIndex - 1); 186 var app = appList[selectedIndex];
|
/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/browser/resources/ |
D | sync_setup_overlay.js | 172 setDataTypeCheckboxes_: function(selectedIndex) { argument 173 if (selectedIndex == DataTypeSelection.CHOOSE_WHAT_TO_SYNC) { 178 this.checkAllDataTypeCheckboxes_(selectedIndex == 221 var chooseWhatToSync = $('sync-select-datatypes').selectedIndex == 266 var syncAll = $('sync-select-datatypes').selectedIndex == 268 var syncNothing = $('sync-select-datatypes').selectedIndex == 323 datatypeSelect.selectedIndex = args.syncAllDataTypes ? 388 this.setDataTypeCheckboxes_(datatypeSelect.selectedIndex); 439 if (this.selectedIndex == DataTypeSelection.SYNC_NOTHING) { 442 self.showCustomizePage_(self.syncConfigureArgs_, this.selectedIndex); [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
D | wallpaper_manager.js | 72 return setWallpaperLayout.options[setWallpaperLayout.selectedIndex].value; 325 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex; 326 var item = wallpaperGrid.dataModel.item(selectedIndex); 330 wallpaperGrid.dataModel.splice(selectedIndex, 1); 339 selectedIndex = Math.min(selectedIndex, customWallpaperCount - 1); 340 wallpaperGrid.selectionModel.selectedIndex = selectedIndex; 354 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex; 355 var item = wallpaperGrid.dataModel.item(selectedIndex); 356 if (selectedIndex != this.wallpaperGrid_.dataModel.length - 1 && 377 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/web/tests/ |
D | PopupMenuTest.cpp | 111 virtual int selectedIndex() const { return m_selectIndex; } in selectedIndex() function in __anon3228074c0111::TestPopupMenuClient 203 int selectedIndex() const { return m_popupMenuClient.selectedIndex(); } in selectedIndex() function in __anon3228074c0111::SelectPopupMenuTest 328 EXPECT_EQ(2, selectedIndex()); in TEST_F() 335 EXPECT_EQ(3, selectedIndex()); in TEST_F() 342 EXPECT_EQ(4, selectedIndex()); in TEST_F() 360 EXPECT_EQ(1, selectedIndex()); in TEST_F() 382 EXPECT_EQ(0, selectedIndex()); in TEST_F() 400 EXPECT_EQ(2, selectedIndex()); in TEST_F()
|
/external/chromium/chrome/browser/resources/options/ |
D | autofill_edit_creditcard_overlay.js | 143 $('expiration-month').selectedIndex = 0; 144 $('expiration-year').selectedIndex = 0; 162 $('expiration-month').selectedIndex = idx - 1; 170 $('expiration-year').selectedIndex = i;
|
D | language_list.js | 179 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;
|
/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/chrome/browser/resources/picasaweb_uploader/js/ |
D | upload_page.js | 231 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/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;
|