Home
last modified time | relevance | path

Searched refs:SortSpec (Results 1 – 6 of 6) sorted by relevance

/external/autotest/frontend/client/src/autotest/common/table/
DDataSource.java12 public static class SortSpec { class
16 public SortSpec(String field, SortDirection direction) { in SortSpec() method in DataSource.SortSpec
21 public SortSpec(String field) { in SortSpec() method in DataSource.SortSpec
46 public static SortSpec fromString(String sortString) { in fromString()
48 return new SortSpec(sortString.substring(1), SortDirection.DESCENDING); in fromString()
50 return new SortSpec(sortString, SortDirection.ASCENDING); in fromString()
72 public void getPage(Integer start, Integer maxCount, SortSpec[] sortOn, in getPage()
93 public abstract void getPage(Integer start, Integer maxCount, SortSpec[] sortOn, in getPage()
DJSONObjectComparator.java3 import autotest.common.table.DataSource.SortSpec;
10 SortSpec[] sortSpecs;
12 public JSONObjectComparator(SortSpec[] specs) { in JSONObjectComparator()
13 sortSpecs = new SortSpec[specs.length]; in JSONObjectComparator()
19 for (SortSpec sortSpec : sortSpecs) { in compare()
DDynamicTable.java7 import autotest.common.table.DataSource.SortSpec;
57 private List<SortSpec> sortColumns = new ArrayList<SortSpec>();
103 SortSpec firstSpec = getFirstSortSpec(); in updateSortIndicators()
113 private SortSpec getFirstSortSpec() { in getFirstSortSpec()
128 for (Iterator<SortSpec> i = sortColumns.iterator(); i.hasNext(); ) { in sortOnColumn()
135 sortColumns.add(0, new SortSpec(columnField, sortDirection)); in sortOnColumn()
252 SortSpec[] sortOn = null; in fetchPage()
260 sortOn = new SortSpec[sortColumns.size()]; in fetchPage()
315 SortSpec firstSortSpec = getFirstSortSpec(); in onCellClicked()
350 public List<SortSpec> getSortSpecs() { in getSortSpecs()
DArrayDataSource.java25 public void getPage(Integer start, Integer maxCount, SortSpec[] sortOn, in getPage()
53 SortSpec[] sortSpecs = new SortSpec[sortKeys.length]; in ArrayDataSource()
55 sortSpecs[i] = new SortSpec(sortKeys[i]); in ArrayDataSource()
DRpcDataSource.java26 public void getPage(Integer start, Integer maxCount, SortSpec[] sortOn, in getPage()
37 for (SortSpec sortSpec : sortOn) { in getPage()
/external/autotest/frontend/client/src/autotest/tko/
DTableView.java13 import autotest.common.table.DataSource.SortSpec;
60 private static final SortSpec[] TRIAGE_SORT_SPECS = {
61 new SortSpec("test_name", SortDirection.ASCENDING),
62 new SortSpec("status", SortDirection.ASCENDING),
63 new SortSpec("reason", SortDirection.ASCENDING),
116 private List<SortSpec> tableSorts = new ArrayList<SortSpec>();
180 tableSorts = new ArrayList<SortSpec>(Arrays.asList(TRIAGE_SORT_SPECS)); in setupJobTriage()
271 tableSorts = new ArrayList<SortSpec>(table.getSortSpecs()); in saveTableSorting()
276 for (ListIterator<SortSpec> i = tableSorts.listIterator(tableSorts.size()); in restoreTableSorting()
278 SortSpec sortSpec = i.previous(); in restoreTableSorting()
[all …]