Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java184 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate()
295 mState.derivedMode = LocalPreferences.getViewMode(this, root, MODE_GRID); in onRootPicked()
296 mSortController.onViewModeChanged(mState.derivedMode); in onRootPicked()
485 mState.derivedMode = mode; in setViewMode()
DMenuManager.java215 grid.setVisible(mState.derivedMode != State.MODE_GRID); in updateModePicker()
216 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()
DModelBackedDocumentsAdapter.java81 switch (state.derivedMode) { in onCreateViewHolder()
DDirectoryFragment.java507 updateLayout(mState.derivedMode); in onDisplayStateChanged()
1156 updateLayout(mState.derivedMode); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java74 public @ViewMode int derivedMode = MODE_GRID; field in State
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java255 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java150 state.derivedMode = State.MODE_LIST; in testOptionMenu_notPicking()