Searched refs:MODE_LIST (Results 1 – 12 of 12) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | IconHelperTest.java | 79 ? new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ true, in setUp() 81 : new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ true, in setUp() 107 mIconHelper = new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ false, in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge() 115 mIconHelper = new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ false, in testShouldShowBadge_returnFalseOnPrivateUser_doNotShowBadge() 123 mIconHelper = new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ true, in testShouldShowBadge_returnFalseOnManagedUser_withoutManagedUser() 134 mIconHelper = new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ true, in testShouldShowBadge_returnFalseOnManagedUser_withoutMultipleUsers() 143 mIconHelper = new IconHelper(mContext, State.MODE_LIST, /* maybeShowBadge= */ true, in testShouldShowBadge_returnFalseOnPrivateUser_withoutMultipleUsers()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | State.java | 66 MODE_LIST, 74 public static final int MODE_LIST = 1; field in State
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapter.java | 22 import static com.android.documentsui.base.State.MODE_LIST; 113 case MODE_LIST: in onCreateViewHolder()
|
D | IconHelper.java | 21 import static com.android.documentsui.base.State.MODE_LIST; 126 case MODE_LIST: in getThumbSize()
|
D | DirectoryFragment.java | 23 import static com.android.documentsui.base.State.MODE_LIST; 875 if (mode == MODE_LIST) { in calculateColumnCount() 914 case MODE_LIST: in getDirectoryPadding()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortController_TabletLayoutTest.java | 54 mController.onViewModeChanged(State.MODE_LIST); in testListMode_ShowsTable()
|
D | SortControllerTest.java | 48 mController.onViewModeChanged(State.MODE_LIST); in testListMode_ShowsTable()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MenuManager.java | 259 if (mState.derivedMode != State.MODE_LIST) { in updateModePicker() 260 Menus.setEnabledAndVisible(list, mState.derivedMode != State.MODE_LIST); in updateModePicker() 264 Menus.setEnabledAndVisible(list, mState.derivedMode != State.MODE_LIST); in updateModePicker()
|
D | BaseActivity.java | 606 setViewMode(State.MODE_LIST); in onOptionsItemSelected() 745 } else if (mode == State.MODE_LIST) { in setViewMode()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortController.java | 53 mTableHeaderController.setVisibility(mode == State.MODE_LIST ? View.VISIBLE : View.GONE); in onViewModeChanged()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 373 mState.derivedMode = visualMimes ? State.MODE_GRID : State.MODE_LIST; in refreshDirectory()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | MenuManagerTest.java | 277 state.derivedMode = State.MODE_LIST; in testOptionMenu_notPicking()
|