Home
last modified time | relevance | path

Searched refs:ACTION_OPEN (Results 1 – 21 of 21) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java21 import static com.android.documentsui.base.State.ACTION_OPEN;
225 || mState.action == ACTION_OPEN in setupLayout()
244 state.action = ACTION_OPEN; in includeState()
255 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT) { in includeState()
260 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT in includeState()
294 if (mState.action == ACTION_OPEN in getDrawerTitle()
384 } else if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentPicked()
403 if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentsPicked()
DConfig.java21 import static com.android.documentsui.base.State.ACTION_OPEN;
71 case ACTION_OPEN: in isDocumentEnabled()
DMenuManager.java22 import static com.android.documentsui.base.State.ACTION_OPEN;
137 || mState.action == ACTION_OPEN)
DActionHandler.java22 import static com.android.documentsui.base.State.ACTION_OPEN;
248 case ACTION_OPEN: in loadDefaultLocation()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java44 ACTION_OPEN,
55 public static final int ACTION_OPEN = 3; field in State
139 || action == ACTION_OPEN; in shouldShowPreview()
147 if (action != ACTION_GET_CONTENT && action != ACTION_OPEN || acceptMimes == null) { in isPhotoPicking()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java21 import static com.android.documentsui.base.State.ACTION_OPEN;
202 state.action = ACTION_OPEN; in testActionMenu_selectAction()
210 state.action = ACTION_OPEN; in testActionMenu_selectActionTitle()
276 state.action = ACTION_OPEN; in testOptionMenu_notPicking()
DActionHandlerTest.java219 testInitLocationDefaultToRecentsOnAction(State.ACTION_OPEN); in testInitLocation_DefaultToRecents_ActionOpen()
450 mEnv.state.action = State.ACTION_OPEN; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen()
476 mEnv.state.action = State.ACTION_OPEN; in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetricConsts.java305 static final int ACTION_OPEN = 1; field in MetricConsts
315 ACTION_OPEN,
DMetrics.java570 case State.ACTION_OPEN: in toMetricsAction()
571 return MetricConsts.ACTION_OPEN; in toMetricsAction()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivityTest.java129 mIntent.setAction(Constants.ACTION_OPEN); in onCreate_withActionOpen_sendBroadcast()
136 assertThat(argument.getValue().getAction()).isEqualTo(Constants.ACTION_OPEN); in onCreate_withActionOpen_sendBroadcast()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java88 } else if (Constants.ACTION_OPEN.equals(action) in onReceive()
167 } else if (Constants.ACTION_OPEN.equals(action)) { in handleNotificationBroadcast()
DConstants.java49 public static final String ACTION_OPEN = "android.intent.action.DOWNLOAD_OPEN"; field in Constants
DDownloadNotifier.java271 action = Constants.ACTION_OPEN; in updateWithLocked()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppReceiver.java127 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) { in onReceive()
129 if (action.equals(Constants.ACTION_OPEN)) { in onReceive()
DBluetoothOppLauncherActivity.java194 } else if (action.equals(Constants.ACTION_OPEN)) { in onCreate()
199 Intent intent1 = new Intent(Constants.ACTION_OPEN); in onCreate()
DConstants.java65 static final String ACTION_OPEN = "android.btopp.intent.action.OPEN"; field in Constants
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java263 case State.ACTION_OPEN: in getCrossProfileNoPermissionErrorTitle()
289 case State.ACTION_OPEN: in getCrossProfileNoPermissionErrorMessage()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java21 import static com.android.documentsui.base.State.ACTION_OPEN;
144 if (action == ACTION_OPEN || action == ACTION_GET_CONTENT) { in parseQueryContentFromIntent()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DStateTest.java73 mState.action = State.ACTION_OPEN; in testShouldShowPreview_actionOpen()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java106 if (state.action == State.ACTION_OPEN && root.isEmpty()) { in getMatchingRoots()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java75 mState.action = State.ACTION_OPEN; in setUp()