Searched refs:getSortDirection (Results 1 – 7 of 7) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortModelTest.java | 123 assertEquals(DIMENSION_1.getDefaultSortDirection(), sortedDimension.getSortDirection()); in testSortByDefault() 135 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testSortByUser() 148 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testOrderNotChanged_sortByDefaultAfterSortByUser() 161 assertEquals(SortDimension.SORT_DIRECTION_DESCENDING, sortedDimension.getSortDirection()); in testOrderChanged_sortByUserAfterSortByDefault() 174 assertEquals(SortDimension.SORT_DIRECTION_ASCENDING, sortedDimension.getSortDirection()); in testSortByUserTwice() 176 assertEquals(SortDimension.SORT_DIRECTION_NONE, DIMENSION_1.getSortDirection()); in testSortByUserTwice() 186 assertEquals(SortDimension.SORT_DIRECTION_ASCENDING, sortedDimension.getSortDirection()); in testSortByUserTwice_sameDimension()
|
D | SortDimensionTest.java | 73 assertEquals(SortDimension.SORT_DIRECTION_NONE, mDimension.getSortDirection()); in testBuilder()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | HeaderCell.java | 79 if (mCurDirection != dimension.getSortDirection()) { in onBind() 81 switch (dimension.getSortDirection()) { in onBind() 95 "Unknown sort direction: " + dimension.getSortDirection() + "."); in onBind() 98 mCurDirection = dimension.getSortDirection(); in onBind()
|
D | SortModel.java | 146 ? mSortedDimension.getSortDirection() in getCurrentSortDirection() 271 switch (dimension.getSortDirection()) { in addQuerySortArgs() 284 "Unexpected sort direction: " + dimension.getSortDirection()); in addQuerySortArgs() 323 switch (dimension.getSortDirection()) { in getDocumentSortQuery() 332 "Unexpected sort direction: " + dimension.getSortDirection()); in getDocumentSortQuery()
|
D | SortingCursorWrapper.java | 95 binarySort(stringValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper() 99 binarySort(longValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper()
|
D | SortDimension.java | 119 public @SortDirection int getSortDirection() { in getSortDirection() method in SortDimension
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 1410 || mLocalState.mLastSortDirection != curSortedDimension.getSortDirection()) { in accept() 1416 mLocalState.mLastSortDirection = curSortedDimension.getSortDirection(); in accept()
|