Home
last modified time | relevance | path

Searched refs:SORT_DIRECTION_DESCENDING (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java57 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_DESCENDING)
131 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUser()
135 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testSortByUser()
143 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testOrderNotChanged_sortByDefaultAfterSortByUser()
148 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testOrderNotChanged_sortByDefaultAfterSortByUser()
157 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testOrderChanged_sortByUserAfterSortByDefault()
161 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testOrderChanged_sortByUserAfterSortByDefault()
169 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUserTwice()
181 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUserTwice_sameDimension()
202 mModel.sortByUser(DIMENSION_3.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUser_noSortingCapability()
[all …]
DSortingCursorWrapperTest.java164 SortDimension.SORT_DIRECTION_DESCENDING); in testSort_names_descending()
208 SortDimension.SORT_DIRECTION_DESCENDING); in testSort_sizes_descending()
295 SortDimension.SORT_DIRECTION_DESCENDING); in testSort_sizesWithBucketing_descending()
390 SortDimension.SORT_DIRECTION_DESCENDING); in testSort_time_descending()
441 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_DESCENDING); in testSort_type_descending()
486 SortDimension.SORT_DIRECTION_DESCENDING); in testReturnsWrappedExtras()
DSortDimensionTest.java44 SortDimension.SORT_DIRECTION_DESCENDING;
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DSortDocumentUiTest.java104 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByName_Descending_listMode()
124 SortModel.SORT_DIMENSION_ID_SIZE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortBySize_Descending_listMode()
144 SortModel.SORT_DIMENSION_ID_DATE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByModified_Descending_listMode()
164 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByType_Descending_listMode()
174 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByName_Descending_gridMode()
194 SortModel.SORT_DIMENSION_ID_SIZE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortBySize_Descending_gridMode()
214 SortModel.SORT_DIMENSION_ID_DATE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByModified_Descending_gridMode()
234 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_DESCENDING); in testSortByType_Descending_gridMode()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java41 SORT_DIRECTION_DESCENDING
47 public static final int SORT_DIRECTION_DESCENDING = 2; field in SortDimension
57 SORT_DIRECTION_ASCENDING | SORT_DIRECTION_DESCENDING;
109 ? SortDimension.SORT_DIRECTION_DESCENDING in getNextDirection()
DSortModel.java206 case SortDimension.SORT_DIRECTION_DESCENDING: in sortByDimension()
277 case SortDimension.SORT_DIRECTION_DESCENDING: in addQuerySortArgs()
327 case SortDimension.SORT_DIRECTION_DESCENDING: in getDocumentSortQuery()
506 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_DESCENDING) in createModel()
DSortListFragment.java81 SortDimension.SORT_DIRECTION_DESCENDING, in addBothDirectionDimension()
82 getSheetLabelId(source, SortDimension.SORT_DIRECTION_DESCENDING)); in addBothDirectionDimension()
DSortingCursorWrapper.java217 case SortDimension.SORT_DIRECTION_DESCENDING: in binarySort()
298 case SortDimension.SORT_DIRECTION_DESCENDING: in binarySort()
DHeaderCell.java89 case SortDimension.SORT_DIRECTION_DESCENDING: in onBind()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java166 ? SortDimension.SORT_DIRECTION_DESCENDING in getDirection()