Home
last modified time | relevance | path

Searched refs:SortDirection (Results 1 – 6 of 6) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-account.cpp95 enum class SortDirection { enum
99 static cl::opt<SortDirection> AccountSortOrder(
100 "sortorder", cl::desc("sort ordering"), cl::init(SortDirection::ASCENDING),
101 cl::values(clEnumValN(SortDirection::ASCENDING, "asc", "ascending"),
102 clEnumValN(SortDirection::DESCENDING, "dsc", "descending")),
287 if (AccountSortOrder == SortDirection::ASCENDING) in exportStats()
289 if (AccountSortOrder == SortDirection::DESCENDING) in exportStats()
297 if (AccountSortOrder == SortDirection::ASCENDING) in exportStats()
299 if (AccountSortOrder == SortDirection::DESCENDING) in exportStats()
313 if (AccountSortOrder == SortDirection::ASCENDING) in exportStats()
[all …]
/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()