Home
last modified time | relevance | path

Searched refs:MODE_LIST (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DIconHelperTest.java79 ? 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/
DState.java66 MODE_LIST,
74 public static final int MODE_LIST = 1; field in State
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java22 import static com.android.documentsui.base.State.MODE_LIST;
113 case MODE_LIST: in onCreateViewHolder()
DIconHelper.java21 import static com.android.documentsui.base.State.MODE_LIST;
126 case MODE_LIST: in getThumbSize()
DDirectoryFragment.java23 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/
DSortController_TabletLayoutTest.java54 mController.onViewModeChanged(State.MODE_LIST); in testListMode_ShowsTable()
DSortControllerTest.java48 mController.onViewModeChanged(State.MODE_LIST); in testListMode_ShowsTable()
/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()
264 Menus.setEnabledAndVisible(list, mState.derivedMode != State.MODE_LIST); in updateModePicker()
DBaseActivity.java606 setViewMode(State.MODE_LIST); in onOptionsItemSelected()
745 } else if (mode == State.MODE_LIST) { in setViewMode()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortController.java53 mTableHeaderController.setVisibility(mode == State.MODE_LIST ? View.VISIBLE : View.GONE); in onViewModeChanged()
/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()