Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java180 grid.setVisible(mState.derivedMode != State.MODE_GRID); in onPrepareOptionsMenu()
181 list.setVisible(mState.derivedMode != State.MODE_LIST); in onPrepareOptionsMenu()
249 mState.derivedMode = LocalPreferences.getViewMode(this, root, MODE_GRID); in onRootPicked()
545 mState.derivedMode = mode; in setViewMode()
DState.java85 public @ViewMode int derivedMode = MODE_GRID; field in State
DDocumentsActivity.java279 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DSectionBreakDocumentsAdapterWrapper.java243 if (state.derivedMode == State.MODE_GRID) {
DModelBackedDocumentsAdapter.java77 switch (state.derivedMode) { in onCreateViewHolder()
DDirectoryFragment.java403 updateLayout(state.derivedMode); in updateDisplayState()
1822 updateLayout(state.derivedMode); in onLoadFinished()