Searched refs:MODE_GRID (Results 1 – 16 of 16) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 67 MODE_GRID 75 public static final int MODE_GRID = 2; field in State 81 public @ViewMode int derivedMode = MODE_GRID;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | HeaderMessageDocumentHolder.java | 19 import static com.android.documentsui.base.State.MODE_GRID; 75 int padding = itemView.getResources().getDimensionPixelSize(mode == MODE_GRID in setPadding()
|
D | IconHelper.java | 20 import static com.android.documentsui.base.State.MODE_GRID; 123 case MODE_GRID: in getThumbSize() 184 final boolean allowThumbnail = (mMode == MODE_GRID) in load()
|
D | ModelBackedDocumentsAdapter.java | 21 import static com.android.documentsui.base.State.MODE_GRID; 95 case MODE_GRID: in onCreateViewHolder()
|
D | TransparentDividerDocumentHolder.java | 50 if (mState.derivedMode == State.MODE_GRID) { in bind()
|
D | DirectoryFragment.java | 22 import static com.android.documentsui.base.State.MODE_GRID; 519 mIconHelper = new IconHelper(mActivity, MODE_GRID, mState.supportsCrossProfile(), in onActivityCreated() 785 mState.derivedMode == State.MODE_GRID ? R.string.grid_mode_showing in onViewModeChanged() 842 if (mMode == MODE_GRID) { in scaleLayout() 912 case MODE_GRID: in getDirectoryPadding()
|
D | DirectoryAddonsAdapter.java | 105 && mEnv.getDisplayState().derivedMode == State.MODE_GRID) { in createSpanSizeLookup()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortController_TabletLayoutTest.java | 48 mController.onViewModeChanged(State.MODE_GRID); in testGridMode_hidesTable()
|
D | SortControllerTest.java | 41 mController.onViewModeChanged(State.MODE_GRID); in testGridMode_hidesTable()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapterTest.java | 54 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false, null, in setUp()
|
D | ModelBackedDocumentsAdapterPrivateSpaceTest.java | 59 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false, in setUp()
|
D | DirectoryAddonsAdapterTest.java | 63 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false, in setUp()
|
D | DirectoryAddonsAdapterPrivateSpaceTest.java | 89 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false, in setUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 21 import static com.android.documentsui.base.State.MODE_GRID; 603 setViewMode(MODE_GRID); in onOptionsItemSelected() 666 mState.derivedMode = LocalPreferences.getViewMode(this, mState.stack.getRoot(), MODE_GRID); in refreshCurrentRootAndDirectory() 743 if (mode == State.MODE_GRID) { in setViewMode()
|
D | MenuManager.java | 261 Menus.setEnabledAndVisible(grid, mState.derivedMode != State.MODE_GRID); in updateModePicker() 263 Menus.setEnabledAndVisible(grid, mState.derivedMode != State.MODE_GRID); in updateModePicker()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 373 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
|