Home
last modified time | relevance | path

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

12

/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) { setter in Table
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);
476 var sm = this.selectionModel;
655 var sm = this.selectionModel;
[all …]
Dgrid.js346 function GridSelectionController(selectionModel, grid) { argument
347 this.selectionModel_ = selectionModel;
/external/chromium_org/chrome/browser/resources/options/
Dlanguage_list.js113 this.selectionModel = new ListSingleSelectionModel;
170 this.selectionModel.selectedIndex = this.dataModel.length - 1;
186 this.selectionModel.unselectAll();
203 this.selectionModel.selectedIndex = index;
215 index = this.selectionModel.leadIndex;
307 this.selectionModel.selectedIndex = newIndex;
392 var originalSelectedIndex = (this.selectionModel ?
393 this.selectionModel.selectedIndex : -1);
400 this.selectionModel.selectedIndex = originalSelectedIndex;
402 this.selectionModel.leadIndex = originalSelectedIndex;
[all …]
Ddeletable_item_list.js109 list.selectionModel.selectedIndex = index;
110 list.selectionModel.anchorIndex = index;
183 var selected = this.selectionModel.selectedIndexes;
Dbrowser_options_startup_page_list.js250 if (this.selectionModel.selectedIndexes.length > 0) {
252 [newIndex, this.selectionModel.selectedIndexes]);
Dprofiles_icon_grid.js55 this.selectionModel = new ListSingleSelectionModel();
Dsupervised_user_list.js110 this.selectionModel = new ListSingleSelectionModel();
Dbrowser_options_profile_list.js92 this.selectionModel = new ListSingleSelectionModel();
/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/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/chromeos/
Duser_images_grid.js78 function UserImagesGridSelectionController(selectionModel, grid) { argument
79 GridSelectionController.call(this, selectionModel, grid);
131 this.selectionModel = new ListSingleSelectionModel();
391 this.selectionModel.selectedIndex = index;
397 var index = this.selectionModel.selectedIndex;
403 this.selectionModel.selectedIndex = index;
404 this.selectionModel.leadIndex = index;
591 var wasSelected = this.selectionModel.selectedIndex == imageIndex;
616 var wasSelected = this.selectionModel.selectedIndex == index;
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Dwallpaper_images_grid.js160 function WallpaperThumbnailsGridSelectionController(selectionModel, grid) { argument
161 GridSelectionController.call(this, selectionModel, grid);
311 this.selectionModel = new ListSingleSelectionModel();
330 this.selectionModel.selectedIndex = index;
339 var index = this.selectionModel.selectedIndex;
345 this.selectionModel.leadIndex = index;
346 this.selectionModel.selectedIndex = index;
Dwallpaper_manager.js347 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex;
363 wallpaperGrid.selectionModel.selectedIndex = selectedIndex;
377 var selectedIndex = wallpaperGrid.selectionModel.selectedIndex;
400 this.categoriesList_.selectionModel.selectedIndex =
422 self.categoriesList_.selectionModel.selectedIndex = presetCategory;
756 this.categoriesList_.selectionModel = new cr.ui.ListSingleSelectionModel();
757 this.categoriesList_.selectionModel.addEventListener(
955 var selectedIndex = categoriesList.selectionModel.selectedIndex;
/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/bookmark_manager/js/
Dmain.js209 var sm = list.selectionModel;
713 var sm = list.selectionModel;
750 var sm = list.selectionModel;
979 var sm = list.selectionModel;
1020 var sm = list.selectionModel;
1062 var selectionModel = list.selectionModel;
1063 selectionModel.selectedIndex = -1;
1064 selectionModel.selectRange(firstIndex, lastIndex);
1065 selectionModel.anchorIndex = selectionModel.leadIndex = lastIndex;
/external/chromium_org/chrome/browser/resources/options/chromeos/
Dbluetooth_device_list.js126 this.selectionModel = new ListSingleSelectionModel();
200 this.selectionModel.selectRange(index, index);
288 var selected = this.selectionModel.selectedIndex;
Dpreferred_networks.js114 this.selectionModel.unselectAll();
/external/chromium_org/ui/file_manager/gallery/js/
Dribbon.js16 function Ribbon(document, dataModel, selectionModel) { argument
18 Ribbon.decorate(self, dataModel, selectionModel);
34 Ribbon.decorate = function(self, dataModel, selectionModel) { argument
37 self.selectionModel_ = selectionModel;
Dmosaic_mode.js16 container, dataModel, selectionModel, volumeManager, toggleMode) { argument
18 container.ownerDocument, dataModel, selectionModel, volumeManager);
82 function Mosaic(document, dataModel, selectionModel, volumeManager) { argument
84 Mosaic.decorate(self, dataModel, selectionModel, volumeManager);
117 self, dataModel, selectionModel, volumeManager) { argument
122 self.selectionModel_ = selectionModel;
646 Mosaic.SelectionController = function(selectionModel, layoutModel) { argument
647 cr.ui.ListSelectionController.call(this, selectionModel);
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_selection.js219 this.fileManager_.getCurrentList().selectionModel.selectedIndexes;
354 list.scrollIndexIntoView(list.selectionModel.selectedIndex);
Ddefault_action_dialog.js31 this.selectionModel_ = this.list_.selectionModel =
/external/chromium_org/chrome/browser/resources/sync_internals/
Dsync_search.js129 resultsControl.selectionModel.addEventListener('change', function(event) {

12