Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDirectoryFragment.java23 import static com.android.documentsui.DocumentsActivity.State.MODE_LIST;
401 mListView.setVisibility(state.derivedMode == MODE_LIST ? View.VISIBLE : View.GONE); in updateDisplayState()
421 } else if (state.derivedMode == MODE_LIST) { in updateDisplayState()
648 if (state.derivedMode == MODE_LIST) { in getView()
678 if (state.derivedMode == MODE_LIST) { in getView()
762 if (state.derivedMode == MODE_LIST) { in getDocumentView()
811 final float iconAlpha = (state.derivedMode == MODE_LIST && !enabled) ? 0.5f : 1f; in getDocumentView()
DDocumentsActivity.java29 import static com.android.documentsui.DocumentsActivity.State.MODE_LIST;
555 list.setVisible(mState.derivedMode != MODE_LIST); in onPrepareOptionsMenu()
643 setUserMode(State.MODE_LIST); in onOptionsItemSelected()
858 mState.userMode = visualMimes ? MODE_GRID : MODE_LIST; in onCurrentDirectoryChanged()
1198 public int derivedMode = MODE_LIST;
1228 public static final int MODE_LIST = 1; field in DocumentsActivity.State
DDirectoryLoader.java138 result.mode = State.MODE_LIST; in loadInBackground()