Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java259 if (mState.derivedMode != State.MODE_LIST) { in updateModePicker()
260 Menus.setEnabledAndVisible(list, mState.derivedMode != State.MODE_LIST); in updateModePicker()
261 Menus.setEnabledAndVisible(grid, mState.derivedMode != State.MODE_GRID); in updateModePicker()
263 Menus.setEnabledAndVisible(grid, mState.derivedMode != State.MODE_GRID); in updateModePicker()
264 Menus.setEnabledAndVisible(list, mState.derivedMode != State.MODE_LIST); in updateModePicker()
DBaseActivity.java370 mSortController = SortController.create(this, mState.derivedMode, mState.sortModel); in onCreate()
543 mSortController.onViewModeChanged(mState.derivedMode); in onRootPicked()
666 mState.derivedMode = LocalPreferences.getViewMode(this, mState.stack.getRoot(), MODE_GRID); in refreshCurrentRootAndDirectory()
691 mSortController.onViewModeChanged(mState.derivedMode); in refreshCurrentRootAndDirectory()
750 mState.derivedMode = mode; in setViewMode()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DTransparentDividerDocumentHolder.java50 if (mState.derivedMode == State.MODE_GRID) { in bind()
DDirectoryAddonsAdapter.java105 && mEnv.getDisplayState().derivedMode == State.MODE_GRID) { in createSpanSizeLookup()
156 mEnv.getDisplayState().derivedMode);
DModelBackedDocumentsAdapter.java94 switch (state.derivedMode) { in onCreateViewHolder()
DDirectoryFragment.java229 updateLayout(mState.derivedMode);
785 mState.derivedMode == State.MODE_GRID ? R.string.grid_mode_showing in onViewModeChanged()
791 updateLayout(mState.derivedMode); in onDisplayStateChanged()
1443 updateLayout(mState.derivedMode); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java81 public @ViewMode int derivedMode = MODE_GRID; field in State
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java373 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java277 state.derivedMode = State.MODE_LIST; in testOptionMenu_notPicking()