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.java205 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()
DSortListFragment.java88 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()
DSortingCursorWrapper.java225 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort()
306 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.java140 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()
DSortDimensionTest.java46 SortDimension.SORT_DIRECTION_ASCENDING;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java223 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()
DAbstractActionHandlerTest.java264 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/
DSortBot.java28 import static com.android.documentsui.sorting.SortDimension.SORT_DIRECTION_ASCENDING;
156 return SORT_DIRECTION_ASCENDING; in getDirection()