Home
last modified time | relevance | path

Searched refs:ACTION_GET_CONTENT (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DStateTest.java80 mState.action = State.ACTION_GET_CONTENT; in testShouldShowPreview_actionGetContent()
98 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_onlyOneImageType()
107 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_allImageTypes()
117 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_noImageType()
127 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_oneIsNotImageType()
145 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_nullExrta()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
223 if (mState.action == ACTION_GET_CONTENT in setupLayout()
229 /* includeApps= */ mState.action == ACTION_GET_CONTENT, in setupLayout() local
246 } else if (Intent.ACTION_GET_CONTENT.equals(action)) { in includeState()
247 state.action = ACTION_GET_CONTENT; in includeState()
254 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT) { in includeState()
259 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT in includeState()
294 || mState.action == ACTION_GET_CONTENT in getDrawerTitle()
383 } else if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentPicked()
402 if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentsPicked()
DConfig.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
72 case ACTION_GET_CONTENT: in isDocumentEnabled()
DMenuManager.java21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
136 Menus.setEnabledAndVisible(select, (mState.action == ACTION_GET_CONTENT
DActionHandler.java21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
234 case ACTION_GET_CONTENT: in loadDefaultLocation()
429 if (mState.action == ACTION_GET_CONTENT) { in onPickFinished()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java46 ACTION_GET_CONTENT,
57 public static final int ACTION_GET_CONTENT = 5; field in State
137 return action == ACTION_GET_CONTENT in shouldShowPreview()
147 if (action != ACTION_GET_CONTENT && action != ACTION_OPEN || acceptMimes == null) { in isPhotoPicking()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java200 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
206 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
212 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
218 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
224 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
230 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java283 mEnv.state.action = State.ACTION_GET_CONTENT; in testCrossProfileDocuments_success()
310 mEnv.state.action = State.ACTION_GET_CONTENT; in testLoadCrossProfileDoc_failsWithQuietModeException()
333 mEnv.state.action = State.ACTION_GET_CONTENT; in testLoadCrossProfileDoc_failsWithNoPermissionException()
354 mEnv.state.action = State.ACTION_GET_CONTENT; in testLoadCrossProfileDoc_bothError_showNoPermissionException()
378 mEnv.state.action = State.ACTION_GET_CONTENT; in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java188 intent.setAction(Intent.ACTION_GET_CONTENT); in testInitLocation_LaunchToDocuments()
214 testInitLocationDefaultToRecentsOnAction(State.ACTION_GET_CONTENT); in testInitLocation_DefaultToRecents_ActionGetContent()
270 mEnv.state.action = State.ACTION_GET_CONTENT; in testIncreasePickCountRecordCalled()
398 mEnv.state.action = State.ACTION_GET_CONTENT; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
424 mEnv.state.action = State.ACTION_GET_CONTENT; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
DMenuManagerTest.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
218 state.action = ACTION_GET_CONTENT; in testActionMenu_getContentAction()
226 state.action = ACTION_GET_CONTENT; in testActionMenu_getContentActionTitle()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetricConsts.java307 static final int ACTION_GET_CONTENT = 3; field in MetricConsts
317 ACTION_GET_CONTENT,
DMetrics.java574 case State.ACTION_GET_CONTENT: in toMetricsAction()
575 return MetricConsts.ACTION_GET_CONTENT; in toMetricsAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java244 case State.ACTION_GET_CONTENT: in getCrossProfileNoPermissionErrorTitle()
262 case State.ACTION_GET_CONTENT: in getCrossProfileNoPermissionErrorMessage()
/packages/apps/Settings/src/com/android/settings/users/
DPhotoCapabilityUtils.java41 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in canChoosePhoto()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
144 if (action == ACTION_OPEN || action == ACTION_GET_CONTENT) { in parseQueryContentFromIntent()
/packages/apps/Gallery/src/com/android/camera/
DWallpaper.java45 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); in onCreate()
DPhotoAppWidgetConfigure.java60 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); in onCreate()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickerPreviewTextUiTest.java43 intent.setAction(Intent.ACTION_GET_CONTENT); in launchActivity()
DPickerPreviewAllTypeUiTest.java43 intent.setAction(Intent.ACTION_GET_CONTENT); in launchActivity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserPhotoController.java210 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in canChoosePhoto()
223 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); in choosePhoto()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java25 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
189 mSearchViewManager.parseQueryContentFromIntent(intent, ACTION_GET_CONTENT); in testParseQueryContent_queryContentIsMatched()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java210 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in canChoosePhoto()
223 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); in choosePhoto()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java153 mState.action = State.ACTION_GET_CONTENT; in testUpdateView_showSelectedUserItems()
176 mState.action = State.ACTION_GET_CONTENT; in testUpdateView_showSelectedUserItems_otherUser()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java67 if (Intent.ACTION_GET_CONTENT.equals(getIntent().getAction())) { in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageCategory.java55 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in show()

12