Home
last modified time | relevance | path

Searched refs:sortByUser (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java130 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUser()
142 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testOrderNotChanged_sortByDefaultAfterSortByUser()
156 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testOrderChanged_sortByUserAfterSortByDefault()
168 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUserTwice()
169 mModel.sortByUser(DIMENSION_2.getId(), SortDimension.SORT_DIRECTION_ASCENDING); in testSortByUserTwice()
180 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUserTwice_sameDimension()
181 mModel.sortByUser(DIMENSION_1.getId(), SortDimension.SORT_DIRECTION_ASCENDING); in testSortByUserTwice_sameDimension()
201 mModel.sortByUser(DIMENSION_3.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testSortByUser_noSortingCapability()
211 mModel.sortByUser(DIMENSION_2.getId(), SortDimension.SORT_DIRECTION_DESCENDING); in testParceling()
DSortingCursorWrapperTest.java105 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_ascending()
129 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_descending()
150 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_ascending()
173 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_descending()
208 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_ascending()
260 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_descending()
318 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_ascending()
355 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_descending()
380 sortModel.sortByUser( in testReturnsWrappedExtras()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DDropdownSortWidgetController.java167 mModel.sortByUser(dimension.getId(), direction); in onSelectDimension()
177 mModel.sortByUser(dimension.getId(), dimension.getNextDirection()); in onChangeDirection()
DTableHeaderController.java96 mModel.sortByUser(dimension.getId(), dimension.getNextDirection()); in onCellClicked()
DSortModel.java169 public void sortByUser(int dimensionId, @SortDirection int direction) { in sortByUser() method in SortModel
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java208 mEnv.state.sortModel.sortByUser( in testLoadChildrenDocuments()