Searched refs:SORT_DIRECTION_ASCENDING (Results 1 – 13 of 13) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortDimension.java | 40 SORT_DIRECTION_ASCENDING, 46 public static final int SORT_DIRECTION_ASCENDING = 1; field in SortDimension 57 SORT_DIRECTION_ASCENDING | SORT_DIRECTION_DESCENDING; 108 (mDefaultSortDirection == SortDimension.SORT_DIRECTION_ASCENDING) in getNextDirection() 110 : SortDimension.SORT_DIRECTION_ASCENDING; in getNextDirection() 214 private @SortDirection int mDefaultSortDirection = SORT_DIRECTION_ASCENDING;
|
D | SortModel.java | 205 case SortDimension.SORT_DIRECTION_ASCENDING: in sortByDimension() 272 case SortDimension.SORT_DIRECTION_ASCENDING: in addQuerySortArgs() 324 case SortDimension.SORT_DIRECTION_ASCENDING: in getDocumentSortQuery() 463 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel() 485 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel() 496 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel()
|
D | SortListFragment.java | 88 SortDimension.SORT_DIRECTION_ASCENDING, in addBothDirectionDimension() 89 getSheetLabelId(source, SortDimension.SORT_DIRECTION_ASCENDING)); in addBothDirectionDimension() 98 boolean isAscending = direction == SortDimension.SORT_DIRECTION_ASCENDING; in getSheetLabelId()
|
D | SortingCursorWrapper.java | 225 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort() 306 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort()
|
D | HeaderCell.java | 85 case SortDimension.SORT_DIRECTION_ASCENDING: in onBind()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | SortDocumentUiTest.java | 114 SortModel.SORT_DIMENSION_ID_SIZE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortBySize_Ascending_listMode() 134 SortModel.SORT_DIMENSION_ID_DATE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortByModified_Ascending_listMode() 154 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortByType_Ascending_listMode() 184 SortModel.SORT_DIMENSION_ID_SIZE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortBySize_Ascending_gridMode() 204 SortModel.SORT_DIMENSION_ID_DATE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortByModified_Ascending_gridMode() 224 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_ASCENDING); in testSortByType_Ascending_gridMode()
|
D | FileManagementUiTest.java | 159 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCopyLargeAmountOfFiles()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortModelTest.java | 49 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) 170 mModel.sortByUser(DIMENSION_2.getId(), SortDimension.SORT_DIRECTION_ASCENDING); in testSortByUserTwice() 174 assertEquals(SortDimension.SORT_DIRECTION_ASCENDING, sortedDimension.getSortDirection()); in testSortByUserTwice() 182 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_ASCENDING); in testSortByUserTwice_sameDimension() 186 assertEquals(SortDimension.SORT_DIRECTION_ASCENDING, sortedDimension.getSortDirection()); in testSortByUserTwice_sameDimension()
|
D | SortingCursorWrapperTest.java | 140 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_names_ascending() 185 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_sizes_ascending() 243 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_sizesWithBucketing_ascending() 353 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_time_ascending() 409 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_ASCENDING); in testSort_type_ascending()
|
D | SortDimensionTest.java | 46 SortDimension.SORT_DIRECTION_ASCENDING;
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 223 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeSearchString() 257 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeDifferentRoot() 289 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeCurrentUserRootOnly() 323 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeBothUsersRoots() 352 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_emptyCurrentUsersRoot()
|
D | AbstractActionHandlerTest.java | 264 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testLoadChildrenDocuments() 289 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCrossProfileDocuments_success() 383 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SortBot.java | 28 import static com.android.documentsui.sorting.SortDimension.SORT_DIRECTION_ASCENDING; 156 return SORT_DIRECTION_ASCENDING; in getDirection()
|