Home
last modified time | relevance | path

Searched refs:getSortDirection (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortModelTest.java123 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()
DSortDimensionTest.java73 assertEquals(SortDimension.SORT_DIRECTION_NONE, mDimension.getSortDirection()); in testBuilder()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DHeaderCell.java79 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()
DSortModel.java146 ? 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()
DSortingCursorWrapper.java94 binarySort(stringValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper()
98 binarySort(longValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper()
DSortDimension.java119 public @SortDirection int getSortDirection() { in getSortDirection() method in SortDimension
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1182 || mLocalState.mLastSortDirection != curSortedDimension.getSortDirection()) { in accept()
1188 mLocalState.mLastSortDirection = curSortedDimension.getSortDirection(); in accept()