Home
last modified time | relevance | path

Searched refs:selectedIndices (Results 1 – 4 of 4) sorted by relevance

/external/proguard/src/proguard/gui/
DListPanel.java105 int[] selectedIndices = list.getSelectedIndices(); in addUpButton()
106 if (selectedIndices.length > 0 && in addUpButton()
107 selectedIndices[0] > 0) in addUpButton()
110 moveElementsAt(selectedIndices, -1); in addUpButton()
126 int[] selectedIndices = list.getSelectedIndices(); in addDownButton()
127 if (selectedIndices.length > 0 && in addDownButton()
128 selectedIndices[selectedIndices.length-1] < listModel.getSize()-1) in addDownButton()
131 moveElementsAt(selectedIndices, 1); in addDownButton()
156 int[] selectedIndices = list.getSelectedIndices(); in addCopyToPanelButton()
160 removeElementsAt(selectedIndices); in addCopyToPanelButton()
[all …]
DClassPathPanel.java125 int[] selectedIndices = list.getSelectedIndices(); in addEditButton()
128 File[] selectedFiles = new File[selectedIndices.length]; in addEditButton()
132 (ClassPathEntry)listModel.getElementAt(selectedIndices[index]); in addEditButton()
155 if (selectedIndices.length == selectedFiles.length) in addEditButton()
158 setElementsAt(entries, selectedIndices); in addEditButton()
163 removeElementsAt(selectedIndices); in addEditButton()
185 int[] selectedIndices = list.getSelectedIndices(); in addFilterButton()
188 getFiltersFrom(selectedIndices[0]); in addFilterButton()
194 setFiltersAt(selectedIndices); in addFilterButton()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Ddirectory_model.js610 var selectedIndices = this.fileListSelection_.selectedIndexes;
629 selectedIndices.length != 0) {
630 var maxIdx = Math.max.apply(null, selectedIndices);
631 this.selectIndex(Math.min(maxIdx - selectedIndices.length + 2,
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java2208 int[] enabled, boolean multiple, int[] selectedIndices) {
2224 mSelectPopup = new SelectPopupDropdown(this, popupItems, bounds, selectedIndices);
2226 mSelectPopup = new SelectPopupDialog(this, popupItems, multiple, selectedIndices);