Home
last modified time | relevance | path

Searched refs:sortModel (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java108 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/
DTableHeaderController.java45 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()
DSortController.java65 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/
DState.java80 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/
DMultiRootDocumentsLoader.java216 sorted = mState.sortModel.sortCursor(merged, mFileTypeMap); in loadInBackgroundLocked()
219 sorted = mState.sortModel.sortCursor(notMovableMasked, mFileTypeMap); in loadInBackgroundLocked()
406 mState.sortModel.addQuerySortArgs(queryArgs); in runInternal()
DBaseActivity.java268 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate()
358 state.sortModel = SortModel.createModel(); in getState()
423 mState.sortModel.setDimensionVisibility( in onRootPicked()
DDirectoryLoader.java90 mModel = state.sortModel; in DirectoryLoader()
DAbstractActionHandler.java313 SortListFragment.show(mActivity.getSupportFragmentManager(), mState.sortModel); in showSortDialog()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java405 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/
DGlobalSearchLoaderTest.java187 mEnv.state.sortModel.sortByUser( in testSearchResult_includeSearchString()
220 mEnv.state.sortModel.sortByUser( in testSearchResult_includeDifferentRoot()
DAbstractActionHandlerTest.java256 mEnv.state.sortModel.sortByUser( in testLoadChildrenDocuments()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java80 state.sortModel = SortModel.createModel(); in TestEnv()