Home
last modified time | relevance | path

Searched refs:SortDirection (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java44 public @interface SortDirection {} annotation in SortDimension
72 private final @SortDirection int mDefaultSortDirection;
74 @SortDirection int mSortDirection = SORT_DIRECTION_NONE;
78 @SortCapability int sortCapability, @SortDirection int defaultSortDirection) { in SortDimension()
102 public @SortDirection int getDefaultSortDirection() { in getDefaultSortDirection()
106 public @SortDirection int getNextDirection() { in getNextDirection()
107 @SortDimension.SortDirection int alternativeDirection = in getNextDirection()
111 @SortDimension.SortDirection int direction = in getNextDirection()
119 public @SortDirection int getSortDirection() { in getSortDirection()
214 private @SortDirection int mDefaultSortDirection = SORT_DIRECTION_ASCENDING;
[all …]
DSortListFragment.java19 import com.android.documentsui.sorting.SortDimension.SortDirection;
87 …public static @StringRes int getSheetLabelId(SortDimension dimension, @SortDirection int direction… in getSheetLabelId()
164 @SortDirection final int direction;
173 SortItem(@SortDimensionId int id, @SortDirection int direction, @StringRes int labelId) { in SortItem()
DSortModel.java37 import com.android.documentsui.sorting.SortDimension.SortDirection;
144 public @SortDirection int getCurrentSortDirection() { in getCurrentSortDirection()
175 public void sortByUser(int dimensionId, @SortDirection int direction) { in sortByUser()
191 SortDimension newSortedDimension, @SortDirection int direction) { in sortByDimension()
DSortingCursorWrapper.java189 @SortDimension.SortDirection int direction) { in binarySort()
270 @SortDimension.SortDirection int direction) { in binarySort()
DHeaderCell.java45 private @SortDimension.SortDirection int mCurDirection = SortDimension.SORT_DIRECTION_NONE;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSortBot.java45 import com.android.documentsui.sorting.SortDimension.SortDirection;
70 public void sortBy(@SortDimensionId int id, @SortDirection int direction) { in sortBy()
105 private boolean sortByMenu(@SortDimensionId int id, @SortDirection int direction) { in sortByMenu()
134 private boolean sortBy(String label, @SortDirection int direction) { in sortBy()
140 final @SortDirection int viewDirection = getDirection(cellMatcher); in sortBy()
149 private @SortDirection int getDirection(Matcher<View> cellMatcher) { in getDirection()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortDimensionTest.java28 import com.android.documentsui.sorting.SortDimension.SortDirection;
43 private static final @SortDirection int DEFAULT_DIRECTION =
45 private static final @SortDirection int ALTERNATIVE_DIRECTION =
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryState.java25 import com.android.documentsui.sorting.SortDimension.SortDirection;
42 @SortDirection int mLastSortDirection;