Searched refs:MODE_GRID (Results 1 – 13 of 13) sorted by relevance
63 MODE_GRID69 public static final int MODE_GRID = 2; field in State75 public @ViewMode int derivedMode = MODE_GRID;
20 import static com.android.documentsui.base.State.MODE_GRID;99 case MODE_GRID: in getThumbSize()163 final boolean allowThumbnail = (mMode == MODE_GRID) in load()
21 import static com.android.documentsui.base.State.MODE_GRID;90 case MODE_GRID: in onCreateViewHolder()
22 import static com.android.documentsui.base.State.MODE_GRID;294 mIconHelper = new IconHelper(mActivity, MODE_GRID); in onActivityCreated()570 if (mMode == MODE_GRID) { in scaleLayout()632 case MODE_GRID: in getDirectoryPadding()
49 if (mState.derivedMode == State.MODE_GRID) { in bind()
84 && mEnv.getDisplayState().derivedMode == State.MODE_GRID) { in createSpanSizeLookup()
21 import static com.android.documentsui.base.State.MODE_GRID;479 setViewMode(State.MODE_GRID); in onOptionsItemSelected()553 mState.derivedMode = LocalPreferences.getViewMode(this, mState.stack.getRoot(), MODE_GRID); in refreshCurrentRootAndDirectory()625 if (mode == State.MODE_GRID) { in setViewMode()
241 grid.setVisible(mState.derivedMode != State.MODE_GRID); in updateModePicker()
48 mController.onViewModeChanged(State.MODE_GRID); in testGridMode_hidesTable()
41 mController.onViewModeChanged(State.MODE_GRID); in testGridMode_hidesTable()
51 env, new IconHelper(testContext, State.MODE_GRID), new TestFileTypeLookup()); in setUp()
59 env, new IconHelper(testContext, State.MODE_GRID), new TestFileTypeLookup())); in setUp()
317 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()