Home
last modified time | relevance | path

Searched refs:selectionModel (Results 1 – 25 of 56) sorted by relevance

123

/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dtable.js89 get selectionModel() { getter in Table
90 return this.list_.selectionModel;
92 set selectionModel(selectionModel) { argument
93 if (this.list_.selectionModel != selectionModel) {
95 selectionModel.adjust(0, 0, this.dataModel.length);
96 this.list_.selectionModel = selectionModel;
117 this.list_.selectionModel = new TableSelectionModel(this);
193 var sm = this.list_.selectionModel;
Dlist.js188 this.selectionModel.clear();
190 this.selectionModel.adjust(0, 0, dataModel.length);
213 get selectionModel() { getter in List
216 set selectionModel(sm) { setter in List
262 var index = this.selectionModel.selectedIndex;
272 this.selectionModel.selectedIndex = index;
298 var indexes = this.selectionModel.selectedIndexes;
353 this.selectionModel = new ListSelectionModel(length);
558 this.selectionModel.adjust(e.index, e.removed.length, e.added.length);
584 var sm = this.selectionModel;
[all …]
Dlist_selection_controller.js19 function ListSelectionController(selectionModel) { argument
20 this.selectionModel_ = selectionModel;
29 get selectionModel() { getter in ListSelectionController
110 return this.selectionModel.length - 1;
120 var sm = this.selectionModel;
203 var sm = this.selectionModel;
Dgrid.js233 function GridSelectionController(selectionModel, grid) { argument
234 this.selectionModel_ = selectionModel;
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dtable.js97 get selectionModel() { getter in Table
98 return this.list_.selectionModel;
100 set selectionModel(selectionModel) { argument
101 if (this.list_.selectionModel != selectionModel) {
103 selectionModel.adjustLength(this.dataModel.length);
104 this.list_.selectionModel = selectionModel;
167 this.list_.selectionModel = new ListSelectionModel(this);
275 if (this.selectionModel.selectedIndex == -1)
Dlist_selection_controller.js19 function ListSelectionController(selectionModel) { argument
20 this.selectionModel_ = selectionModel;
29 get selectionModel() { getter in ListSelectionController
110 return this.selectionModel.length - 1;
121 var sm = this.selectionModel;
200 var sm = this.selectionModel;
Dlist.js135 this.selectionModel.clear();
137 this.selectionModel.adjustLength(dataModel.length);
166 get selectionModel() { getter in List
169 set selectionModel(sm) { setter in List
229 var index = this.selectionModel.selectedIndex;
239 this.selectionModel.selectedIndex = index;
248 var indexes = this.selectionModel.selectedIndexes;
313 this.selectionModel = new ListSelectionModel(length);
646 var sm = this.selectionModel;
752 var index = this.selectionModel.selectedIndex;
[all …]
/external/chromium_org/chrome/browser/resources/options/
Dlanguage_list.js113 this.selectionModel = new ListSingleSelectionModel;
165 this.selectionModel.selectedIndex = this.dataModel.length - 1;
181 this.selectionModel.unselectAll();
198 this.selectionModel.selectedIndex = index;
210 index = this.selectionModel.leadIndex;
302 this.selectionModel.selectedIndex = newIndex;
387 var originalSelectedIndex = (this.selectionModel ?
388 this.selectionModel.selectedIndex : -1);
395 this.selectionModel.selectedIndex = originalSelectedIndex;
397 this.selectionModel.leadIndex = originalSelectedIndex;
[all …]
Ddeletable_item_list.js95 list.selectionModel.selectedIndex = index;
96 list.selectionModel.anchorIndex = index;
138 var selected = this.selectionModel.selectedIndexes;
173 var selected = this.selectionModel.selectedIndexes;
/external/chromium/chrome/browser/resources/options/
Dlanguage_list.js130 this.selectionModel = new ListSingleSelectionModel;
179 this.selectionModel.selectedIndex = this.dataModel.length - 1;
205 this.selectionModel.selectedIndex = index;
217 index = this.selectionModel.leadIndex;
307 this.selectionModel.selectedIndex = newIndex;
343 var originalSelectedIndex = (this.selectionModel ?
344 this.selectionModel.selectedIndex : -1);
351 this.selectionModel.selectedIndex = originalSelectedIndex;
353 this.selectionModel.leadIndex = originalSelectedIndex;
358 this.selectionModel.selectedIndex = 0;
Ddeletable_item_list.js113 var selected = this.selectionModel.selectedIndexes;
148 var selected = this.selectionModel.selectedIndexes;
Dautofill_options_list.js206 this.selectionModel.unselectAll();
246 this.selectionModel.unselectAll();
287 self.selectionModel.unselectAll();
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
Dlist.js185 this.selectionModel.clear();
187 this.selectionModel.adjustLength(dataModel.length);
209 get selectionModel() { getter in List
212 set selectionModel(sm) { setter in List
258 var index = this.selectionModel.selectedIndex;
268 this.selectionModel.selectedIndex = index;
294 var indexes = this.selectionModel.selectedIndexes;
349 this.selectionModel = new ListSelectionModel(length);
578 var sm = this.selectionModel;
635 var leadIndex = this.selectionModel.leadIndex;
[all …]
Dlist_selection_controller.js19 function ListSelectionController(selectionModel) { argument
20 this.selectionModel_ = selectionModel;
29 get selectionModel() { getter in ListSelectionController
110 return this.selectionModel.length - 1;
120 var sm = this.selectionModel;
203 var sm = this.selectionModel;
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Dwallpaper_images_grid.js127 function WallpaperThumbnailsGridSelectionController(selectionModel, grid) { argument
128 GridSelectionController.call(this, selectionModel, grid);
203 this.selectionModel = new ListSingleSelectionModel();
222 this.selectionModel.selectedIndex = index;
231 var index = this.selectionModel.selectedIndex;
237 this.selectionModel.leadIndex = index;
238 this.selectionModel.selectedIndex = index;
Dwallpaper_manager.js325 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex;
340 wallpaperGrid.selectionModel.selectedIndex = selectedIndex;
354 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex;
377 this.categoriesList_.selectionModel.selectedIndex =
399 self.categoriesList_.selectionModel.selectedIndex = presetCategory;
712 this.categoriesList_.selectionModel = new cr.ui.ListSingleSelectionModel();
713 this.categoriesList_.selectionModel.addEventListener(
930 var selectedIndex = categoriesList.selectionModel.selectedIndex;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/options/js/
Ddeletable_item_list.js87 list.selectionModel.selectedIndex = index;
88 list.selectionModel.anchorIndex = index;
127 var selected = this.selectionModel.selectedIndexes;
162 var selected = this.selectionModel.selectedIndexes;
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ui/
Dnavigation_list.js165 this.selectionModel = new cr.ui.ListSingleSelectionModel();
169 this.selectionModel.addEventListener(
171 this.selectionModel.addEventListener(
322 this.selectByIndex(this.selectionModel.selectedIndex);
369 this.selectionModel.selectedIndex = bestMatchIndex;
381 this.selectionModel.selectedIndex = i;
/external/chromium_org/chrome/browser/resources/chromeos/
Duser_images_grid.js101 function UserImagesGridSelectionController(selectionModel, grid) { argument
102 GridSelectionController.call(this, selectionModel, grid);
152 this.selectionModel = new ListSingleSelectionModel();
449 this.selectionModel.selectedIndex = index;
455 var index = this.selectionModel.selectedIndex;
461 this.selectionModel.selectedIndex = index;
462 this.selectionModel.leadIndex = index;
690 var wasSelected = this.selectionModel.selectedIndex == imageIndex;
715 var wasSelected = this.selectionModel.selectedIndex == index;
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dfile_table.js338 var sm = this.selectionModel;
365 this.lastSelection_ = this.selectionModel.selectedIndexes;
473 this.dataModel.length == this.selectionModel.selectedIndexes.length;
526 if (this.selectionModel.multiple) {
786 if (!this.selectionModel.multiple)
799 this.selectionModel.selectAll();
801 this.selectionModel.unselectAll();
818 if (!this.selectionModel.multiple)
831 this.selectionModel.selectAll();
833 this.selectionModel.unselectAll();
[all …]
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Dmain.js210 var sm = list.selectionModel;
716 var sm = list.selectionModel;
753 var sm = list.selectionModel;
950 var sm = list.selectionModel;
991 var sm = list.selectionModel;
1033 var selectionModel = list.selectionModel;
1034 selectionModel.selectedIndex = -1;
1035 selectionModel.selectRange(firstIndex, lastIndex);
1036 selectionModel.anchorIndex = selectionModel.leadIndex = lastIndex;
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/
Dmain.js207 var sm = list.selectionModel;
716 var sm = list.selectionModel;
753 var sm = list.selectionModel;
950 var sm = list.selectionModel;
991 var sm = list.selectionModel;
1033 var selectionModel = list.selectionModel;
1034 selectionModel.selectedIndex = -1;
1035 selectionModel.selectRange(firstIndex, lastIndex);
1036 selectionModel.anchorIndex = selectionModel.leadIndex = lastIndex;
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_page_list_browsertest.js142 this.getList().selectionModel.selectedIndex = 1;
143 expectEquals(1, this.getList().selectionModel.selectedIndexes.length);
/external/chromium_org/chrome/browser/resources/options/chromeos/
Dbluetooth_device_list.js131 this.selectionModel = new ListSingleSelectionModel();
205 this.selectionModel.selectRange(index, index);
290 var selected = this.selectionModel.selectedIndex;
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/
Dribbon.js17 function Ribbon(document, metadataCache, dataModel, selectionModel) { argument
19 Ribbon.decorate(self, metadataCache, dataModel, selectionModel);
36 Ribbon.decorate = function(self, metadataCache, dataModel, selectionModel) { argument
40 self.selectionModel_ = selectionModel;

123