Home
last modified time | relevance | path

Searched refs:derivedMode (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java268 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate()
419 mSortController.onViewModeChanged(mState.derivedMode); in onRootPicked()
553 mState.derivedMode = LocalPreferences.getViewMode(this, mState.stack.getRoot(), MODE_GRID); in refreshCurrentRootAndDirectory()
568 mSortController.onViewModeChanged(mState.derivedMode); in refreshCurrentRootAndDirectory()
632 mState.derivedMode = mode; in setViewMode()
DMenuManager.java241 grid.setVisible(mState.derivedMode != State.MODE_GRID); in updateModePicker()
242 list.setVisible(mState.derivedMode != State.MODE_LIST); in updateModePicker()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DTransparentDividerDocumentHolder.java49 if (mState.derivedMode == State.MODE_GRID) { in bind()
DDirectoryFragment.java198 updateLayout(mState.derivedMode);
524 updateLayout(mState.derivedMode); in onDisplayStateChanged()
1151 updateLayout(mState.derivedMode); in accept()
DModelBackedDocumentsAdapter.java89 switch (state.derivedMode) { in onCreateViewHolder()
DDirectoryAddonsAdapter.java84 && mEnv.getDisplayState().derivedMode == State.MODE_GRID) { in createSpanSizeLookup()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java75 public @ViewMode int derivedMode = MODE_GRID; field in State
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java317 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java249 state.derivedMode = State.MODE_LIST; in testOptionMenu_notPicking()