Home
last modified time | relevance | path

Searched refs:ACTION_CREATE (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java19 import static com.android.documentsui.base.State.ACTION_CREATE;
185 if (mState.action == ACTION_CREATE) { in setupLayout()
205 mState.action == ACTION_CREATE || in setupLayout()
223 state.action = ACTION_CREATE; in includeState()
238 || state.action == ACTION_CREATE) { in includeState()
269 } else if (mState.action == ACTION_CREATE || in getDrawerTitle()
288 if (mState.action == ACTION_CREATE) { in onPrepareOptionsMenu()
324 if (mState.action == ACTION_CREATE) { in refreshDirectory()
358 } else if (mState.action == ACTION_CREATE) { in onDocumentPicked()
DActionHandler.java20 import static com.android.documentsui.base.State.ACTION_CREATE;
226 case ACTION_CREATE: in loadDefaultLocation()
384 assert(mState.action == ACTION_CREATE); in saveDocument()
401 assert(mState.action == ACTION_CREATE); in saveDocument()
DConfig.java19 import static com.android.documentsui.base.State.ACTION_CREATE;
66 case ACTION_CREATE: in isDocumentEnabled()
DMenuManager.java20 import static com.android.documentsui.base.State.ACTION_CREATE;
57 return mState.action == ACTION_CREATE in picking()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java45 ACTION_CREATE,
56 public static final int ACTION_CREATE = 4; field in State
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetricConsts.java300 static final int ACTION_CREATE = 2; field in MetricConsts
310 ACTION_CREATE,
DMetrics.java537 case State.ACTION_CREATE: in toMetricsAction()
538 return MetricConsts.ACTION_CREATE; in toMetricsAction()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java229 testInitLocationDefaultToDownloadsOnAction(State.ACTION_CREATE); in testInitLocation_DefaultsToDownloads_ActionCreate()
317 mEnv.state.action = State.ACTION_CREATE; in testSaveDocument_SetsCorrectResultAndFinishes()
350 mEnv.state.action = State.ACTION_CREATE; in testSaveDocument_ConfirmsOverwrite()
475 mEnv.state.action = State.ACTION_CREATE; in testFinishPicking_SetsCorrectResultAndFinishes_ActionCreate()
DMenuManagerTest.java19 import static com.android.documentsui.base.State.ACTION_CREATE;
169 state.action = ACTION_CREATE; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowManager.java64 boolean isHiddenAction = state.action == State.ACTION_CREATE in shouldShow()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java74 if (state.action == State.ACTION_CREATE && !root.supportsCreate()) { in getMatchingRoots()