Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DStateTest.java80 mState.action = State.ACTION_GET_CONTENT; in testShouldShowPreview_actionGetContent()
95 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_onlyOneImageType()
104 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_allImageTypes()
114 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_noImageType()
124 mState.action = State.ACTION_GET_CONTENT; in testPhotoPicking_oneIsNotImageType()
142 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;
199 if (mState.action == ACTION_GET_CONTENT) { in setupLayout()
224 } else if (Intent.ACTION_GET_CONTENT.equals(action)) { in includeState()
225 state.action = ACTION_GET_CONTENT; in includeState()
232 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT) { in includeState()
237 if (state.action == ACTION_OPEN || state.action == ACTION_GET_CONTENT in includeState()
266 mState.action == ACTION_GET_CONTENT || in getDrawerTitle()
354 } else if (mState.action == ACTION_OPEN || mState.action == ACTION_GET_CONTENT) { in onDocumentPicked()
366 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;
112 select.setVisible(mState.action == ACTION_GET_CONTENT in updateSelect()
DActionHandler.java21 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
230 case ACTION_GET_CONTENT: in loadDefaultLocation()
450 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
124 return action == ACTION_GET_CONTENT in shouldShowPreview()
134 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/picker/
DActionHandlerTest.java188 intent.setAction(Intent.ACTION_GET_CONTENT); in testInitLocation_LaunchToDocuments()
214 testInitLocationDefaultToRecentsOnAction(State.ACTION_GET_CONTENT); in testInitLocation_DefaultToRecents_ActionGetContent()
243 mEnv.state.action = State.ACTION_GET_CONTENT; in testIncreasePickCountRecordCalled()
371 mEnv.state.action = State.ACTION_GET_CONTENT; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
397 mEnv.state.action = State.ACTION_GET_CONTENT; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
DMenuManagerTest.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
204 state.action = ACTION_GET_CONTENT; in testActionMenu_getContentAction()
212 state.action = ACTION_GET_CONTENT; in testActionMenu_getContentActionTitle()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetricConsts.java301 static final int ACTION_GET_CONTENT = 3; field in MetricConsts
311 ACTION_GET_CONTENT,
DMetrics.java539 case State.ACTION_GET_CONTENT: in toMetricsAction()
540 return MetricConsts.ACTION_GET_CONTENT; in toMetricsAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java20 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
142 if (action == ACTION_OPEN || action == ACTION_GET_CONTENT) { in parseQueryContentFromIntent()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java25 import static com.android.documentsui.base.State.ACTION_GET_CONTENT;
180 mSearchViewManager.parseQueryContentFromIntent(intent, ACTION_GET_CONTENT); in testParseQueryContent_queryContentIsMatched()
/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/Settings/src/com/android/settings/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/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/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/WallpaperPicker2/src/com/android/wallpaper/model/
DImageCategory.java55 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in show()
DThirdPartyAppCategory.java61 Intent pickImageIntent = new Intent(Intent.ACTION_GET_CONTENT); in getAll()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java67 if (Intent.ACTION_GET_CONTENT.equals(getIntent().getAction())) { in onCreate()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DPickImageInfo.java24 Intent intent = new Intent(Intent.ACTION_GET_CONTENT).setType("image/*"); in onClick()
DThirdPartyWallpaperInfo.java62 Intent pickImageIntent = new Intent(Intent.ACTION_GET_CONTENT).setType("image/*"); in getAll()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickerPreviewTextUiTest.java53 intent.setAction(Intent.ACTION_GET_CONTENT); in launchActivity()
DPickerPreviewAllTypeUiTest.java53 intent.setAction(Intent.ACTION_GET_CONTENT); in launchActivity()

12