/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 107 private SortModel sortModel; field in SortingCursorWrapperTest 112 sortModel = SortModels.createTestSortModel(); in setUp() 138 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_ascending() 162 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_TITLE, in testSort_names_descending() 183 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_ascending() 206 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizes_descending() 241 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_ascending() 293 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_SIZE, in testSort_sizesWithBucketing_descending() 351 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_ascending() 388 sortModel.sortByUser(SortModel.SORT_DIMENSION_ID_DATE, in testSort_time_descending() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | TableHeaderController.java | 44 private TableHeaderController(SortModel sortModel, View tableHeader) { in TableHeaderController() argument 45 assert(sortModel != null); in TableHeaderController() 48 mModel = sortModel; in TableHeaderController() 102 SortModel sortModel, @Nullable View tableHeader) { in create() argument 103 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() 88 TableHeaderController.create(sortModel, activity.findViewById(R.id.table_header))); in create()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 86 public SortModel sortModel; field in State 203 out.writeParcelable(sortModel, 0); in writeToParcel() 218 + ", sortModel=" + sortModel in toString() 240 state.sortModel = in.readParcelable(loader);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 249 mEnv.state.sortModel.sortByUser( in testSearchResult_includeSearchString() 283 mEnv.state.sortModel.sortByUser( in testSearchResult_includeDifferentRoot() 315 mEnv.state.sortModel.sortByUser( in testSearchResult_includeCurrentUserRootOnly() 353 mEnv.state.sortModel.sortByUser( in testSearchResult_includeBothUsersRoots() 382 mEnv.state.sortModel.sortByUser( in testSearchResult_emptyCurrentUsersRoot()
|
D | AbstractActionHandlerTest.java | 288 mEnv.state.sortModel.sortByUser( in testLoadChildrenDocuments() 317 mEnv.state.sortModel.sortByUser( in testCrossProfileDocuments_success() 415 mEnv.state.sortModel.sortByUser( in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MultiRootDocumentsLoader.java | 243 sorted = mState.sortModel.sortCursor(merged, mFileTypeMap); in loadInBackgroundLocked() 246 sorted = mState.sortModel.sortCursor(notMovableMasked, mFileTypeMap); in loadInBackgroundLocked() 431 mState.sortModel.addQuerySortArgs(queryArgs); in runInternal()
|
D | BaseActivity.java | 370 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate() 475 state.sortModel = SortModel.createModel(); in getState() 547 mState.sortModel.setDimensionVisibility( in onRootPicked()
|
D | DirectoryLoader.java | 95 mModel = state.sortModel; in DirectoryLoader()
|
D | AbstractActionHandler.java | 335 SortListFragment.show(mActivity.getSupportFragmentManager(), mState.sortModel); in showSortDialog()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | DialogUiTest.java | 260 SortModel sortModel = Mockito.mock(SortModel.class); in testSortListFragmentShows_skipWhenStateSaved() local 262 SortListFragment.show(mFragmentManager, sortModel); in testSortListFragmentShows_skipWhenStateSaved()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 633 mState.sortModel.setDefaultDimension( in onActivityCreated() 681 mState.sortModel.addListener(mSortListener); in onStart() 691 mState.sortModel.removeListener(mSortListener); in onStop() 1463 final int curSortedDimensionId = mState.sortModel.getSortedDimensionId(); in accept() 1466 mState.sortModel.getDimensionById(curSortedDimensionId); in accept()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 92 state.sortModel = SortModel.createModel(); in TestEnv()
|