Home
last modified time | relevance | path

Searched refs:SortDirection (Results 1 – 5 of 5) sorted by relevance

/external/autotest/frontend/client/src/autotest/common/table/
DDataSource.java10 public static enum SortDirection {ASCENDING, DESCENDING} enum
14 private SortDirection direction;
16 public SortSpec(String field, SortDirection direction) { in SortSpec()
22 this(field, SortDirection.ASCENDING); in SortSpec()
26 return direction == SortDirection.ASCENDING ? 1 : -1; in getDirectionMultiplier()
33 public SortDirection getDirection() { in getDirection()
40 if (direction == SortDirection.DESCENDING) { in toString()
48 return new SortSpec(sortString.substring(1), SortDirection.DESCENDING); in fromString()
50 return new SortSpec(sortString, SortDirection.ASCENDING); in fromString()
DDynamicTable.java6 import autotest.common.table.DataSource.SortDirection;
42 public void sortOn(SortDirection direction) { in sortOn()
43 image.setUrl(direction == SortDirection.ASCENDING ? SORT_UP_IMAGE : SORT_DOWN_IMAGE); in sortOn()
126 public void sortOnColumn(String columnField, SortDirection sortDirection) { in sortOnColumn()
143 sortOnColumn(columnField, SortDirection.ASCENDING); in sortOnColumn()
314 SortDirection newSortDirection = SortDirection.ASCENDING; in onCellClicked()
329 private SortDirection invertSortDirection(SortDirection direction) { in invertSortDirection()
330 return direction == SortDirection.ASCENDING ? in invertSortDirection()
331 SortDirection.DESCENDING : SortDirection.ASCENDING; in invertSortDirection()
/external/autotest/frontend/client/src/autotest/afe/
DJobTable.java7 import autotest.common.table.DataSource.SortDirection;
44 sortOnColumn("created_on", SortDirection.DESCENDING); in JobTable()
DHostDetailView.java10 import autotest.common.table.DataSource.SortDirection;
109 sortOnColumn("job__id", SortDirection.DESCENDING); in updateFilter()
/external/autotest/frontend/client/src/autotest/tko/
DTableView.java12 import autotest.common.table.DataSource.SortDirection;
61 new SortSpec("test_name", SortDirection.ASCENDING),
62 new SortSpec("status", SortDirection.ASCENDING),
63 new SortSpec("reason", SortDirection.ASCENDING),
295 SortSpec sortSpec = new SortSpec(field.getSqlName(), SortDirection.ASCENDING); in cleanupSortsForNewColumns()