Home
last modified time | relevance | path

Searched refs:SORT_DIRECTION_ASCENDING (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java40 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;
DSortModel.java195 case SortDimension.SORT_DIRECTION_ASCENDING: in sortByDimension()
258 case SortDimension.SORT_DIRECTION_ASCENDING: in addQuerySortArgs()
306 case SortDimension.SORT_DIRECTION_ASCENDING: in getDocumentSortQuery()
445 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel()
467 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel()
478 .withDefaultSortDirection(SortDimension.SORT_DIRECTION_ASCENDING) in createModel()
DSortListFragment.java84 SortDimension.SORT_DIRECTION_ASCENDING, in addBothDirectionDimension()
85 getSheetLabelId(source, SortDimension.SORT_DIRECTION_ASCENDING)); in addBothDirectionDimension()
94 boolean isAscending = direction == SortDimension.SORT_DIRECTION_ASCENDING; in getSheetLabelId()
DSortingCursorWrapper.java213 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort()
294 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort()
DHeaderCell.java85 case SortDimension.SORT_DIRECTION_ASCENDING: in onBind()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DSortDocumentUiTest.java114 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()
DFileManagementUiTest.java159 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCopyLargeAmountOfFiles()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java49 .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()
DSortingCursorWrapperTest.java139 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_names_ascending()
184 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_sizes_ascending()
242 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_sizesWithBucketing_ascending()
352 SortDimension.SORT_DIRECTION_ASCENDING); in testSort_time_ascending()
408 SortModel.SORT_DIMENSION_ID_FILE_TYPE, SortDimension.SORT_DIRECTION_ASCENDING); in testSort_type_ascending()
DSortDimensionTest.java46 SortDimension.SORT_DIRECTION_ASCENDING;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java250 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeSearchString()
284 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeDifferentRoot()
316 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeCurrentUserRootOnly()
354 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeBothUsersRoots()
383 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_emptyCurrentUsersRoot()
DAbstractActionHandlerTest.java289 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testLoadChildrenDocuments()
318 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCrossProfileDocuments_success()
416 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java28 import static com.android.documentsui.sorting.SortDimension.SORT_DIRECTION_ASCENDING;
155 return SORT_DIRECTION_ASCENDING; in getDirection()