/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 108 private SortModel sortModel; field in SortingCursorWrapperTest 113 sortModel = SortModels.createTestSortModel(); in setUp() 139 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_ascending() 163 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_descending() 184 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_ascending() 207 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_descending() 242 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_ascending() 294 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_descending() 352 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_ascending() 389 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_descending() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | TableHeaderController.java | 45 private TableHeaderController(SortModel sortModel, View tableHeader) { in TableHeaderController() argument 46 assert(sortModel != null); in TableHeaderController() 49 mModel = sortModel; in TableHeaderController() 103 SortModel sortModel, @Nullable View tableHeader) { in create() argument 104 return (tableHeader == null) ? null : new TableHeaderController(sortModel, tableHeader); in create()
|
D | SortController.java | 65 SortModel sortModel) { in create() argument 68 sortModel.setMetricRecorder((SortDimension dimension) -> { in create() 92 TableHeaderController.create(sortModel, activity.findViewById(R.id.table_header))); in create()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 80 public SortModel sortModel; field in State 163 out.writeParcelable(sortModel, 0); in writeToParcel() 179 + ", sortModel=" + sortModel in toString() 202 state.sortModel = in.readParcelable(loader);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MultiRootDocumentsLoader.java | 216 sorted = mState.sortModel.sortCursor(merged, mFileTypeMap); in loadInBackgroundLocked() 219 sorted = mState.sortModel.sortCursor(notMovableMasked, mFileTypeMap); in loadInBackgroundLocked() 406 mState.sortModel.addQuerySortArgs(queryArgs); in runInternal()
|
D | BaseActivity.java | 268 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate() 358 state.sortModel = SortModel.createModel(); in getState() 423 mState.sortModel.setDimensionVisibility( in onRootPicked()
|
D | DirectoryLoader.java | 90 mModel = state.sortModel; in DirectoryLoader()
|
D | AbstractActionHandler.java | 313 SortListFragment.show(mActivity.getSupportFragmentManager(), mState.sortModel); in showSortDialog()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 405 mState.sortModel.setDefaultDimension( in onActivityCreated() 419 mState.sortModel.addListener(mSortListener); in onStart() 426 mState.sortModel.removeListener(mSortListener); in onStop() 1169 final int curSortedDimensionId = mState.sortModel.getSortedDimensionId(); in accept() 1172 mState.sortModel.getDimensionById(curSortedDimensionId); in accept()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 187 mEnv.state.sortModel.sortByUser( in testSearchResult_includeSearchString() 220 mEnv.state.sortModel.sortByUser( in testSearchResult_includeDifferentRoot()
|
D | AbstractActionHandlerTest.java | 256 mEnv.state.sortModel.sortByUser( in testLoadChildrenDocuments()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 80 state.sortModel = SortModel.createModel(); in TestEnv()
|