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.java78 SortDimension.SORT_DIRECTION_ASCENDING, in addBothDirectionDimension()
79 getSheetLabelId(source, SortDimension.SORT_DIRECTION_ASCENDING)); in addBothDirectionDimension()
88 boolean isAscending = direction == SortDimension.SORT_DIRECTION_ASCENDING; in getSheetLabelId()
DSortingCursorWrapper.java214 case SortDimension.SORT_DIRECTION_ASCENDING: in binarySort()
295 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/common/com/android/documentsui/bots/
DSortBot.java28 import static com.android.documentsui.sorting.SortDimension.SORT_DIRECTION_ASCENDING;
156 return SORT_DIRECTION_ASCENDING; in getDirection()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java188 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeSearchString()
221 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testSearchResult_includeDifferentRoot()
DAbstractActionHandlerTest.java257 SortModel.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING); in testLoadChildrenDocuments()