OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sortModel
(Results
1 - 10
of
10
) sorted by null
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
SortController.java
78
SortModel
sortModel
) {
80
sortModel
.setMetricRecorder((SortDimension dimension) -> {
82
case
SortModel
.SORT_DIMENSION_ID_TITLE:
85
case
SortModel
.SORT_DIMENSION_ID_SIZE:
88
case
SortModel
.SORT_DIMENSION_ID_DATE:
96
sortModel
,
99
sortModel
,
TableHeaderController.java
22
import com.android.documentsui.sorting.
SortModel
.SortDimensionId;
41
private final
SortModel
.UpdateListener mModelListener = this::onModelUpdate;
43
private final
SortModel
mModel;
45
private TableHeaderController(
SortModel
sortModel
, View tableHeader) {
46
assert(
sortModel
!= null);
49
mModel =
sortModel
;
58
onModelUpdate(mModel,
SortModel
.UPDATE_TYPE_UNSPECIFIED);
63
private void onModelUpdate(
SortModel
model, int updateTypeUnspecified) {
64
bindCell(mTitleCell,
SortModel
.SORT_DIMENSION_ID_TITLE)
[
all
...]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
State.java
28
import com.android.documentsui.sorting.
SortModel
;
79
public
SortModel
sortModel
;
135
out.writeParcelable(
sortModel
, 0);
151
+ ",
sortModel
=" +
sortModel
174
state.
sortModel
= in.readParcelable(loader);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
SortingCursorWrapperTest.java
35
import com.android.documentsui.sorting.
SortModel
.SortDimensionId;
106
private
SortModel
sortModel
;
111
sortModel
= SortModels.createTestSortModel();
137
sortModel
.sortByUser(
SortModel
.SORT_DIMENSION_ID_TITLE,
161
sortModel
.sortByUser(
SortModel
.SORT_DIMENSION_ID_TITLE,
182
sortModel
.sortByUser(
SortModel
.SORT_DIMENSION_ID_SIZE
[
all
...]
/packages/apps/DocumentsUI/src/com/android/documentsui/
RecentsLoader.java
209
final Cursor sorted = mState.
sortModel
.sortCursor(notMovableMasked, mFileTypeMap);
352
mState.
sortModel
.addQuerySortArgs(queryArgs);
356
uri, null, null, null, mState.
sortModel
.getDocumentSortQuery());
BaseActivity.java
66
import com.android.documentsui.sorting.
SortModel
;
193
mSortController = SortController.create(this, mState.derivedMode, mState.
sortModel
);
271
state.
sortModel
=
SortModel
.createModel();
308
mState.
sortModel
.setDimensionVisibility(
309
SortModel
.SORT_DIMENSION_ID_SUMMARY,
AbstractActionHandler.java
579
mState.
sortModel
,
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestEnv.java
31
import com.android.documentsui.sorting.
SortModel
;
76
state.
sortModel
=
SortModel
.createModel();
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DirectoryFragment.java
103
import com.android.documentsui.sorting.
SortModel
;
187
private
SortModel
.UpdateListener mSortListener = (model, updateType) -> {
189
if ((updateType &
SortModel
.UPDATE_TYPE_SORTING) != 0) {
401
mState.
sortModel
.setDefaultDimension(
403
?
SortModel
.SORT_DIMENSION_ID_DATE
404
:
SortModel
.SORT_DIMENSION_ID_TITLE);
415
mState.
sortModel
.addListener(mSortListener);
422
mState.
sortModel
.removeListener(mSortListener);
[
all
...]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
AbstractActionHandlerTest.java
37
import com.android.documentsui.sorting.
SortModel
;
220
mEnv.state.
sortModel
.sortByUser(
221
SortModel
.SORT_DIMENSION_ID_TITLE, SortDimension.SORT_DIRECTION_ASCENDING);
Completed in 368 milliseconds