Home
last modified time | relevance | path

Searched refs:ACTION_VIEW (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java60 activity.startActivity(new Intent(Intent.ACTION_VIEW, in onCreateDialog()
64 activity.startActivity(new Intent(Intent.ACTION_VIEW, in onCreateDialog()
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DOutsideTaskActivity.java33 Intent intent = new Intent(Intent.ACTION_VIEW) in onViewContent()
DContentViewActivity.java42 if (Intent.ACTION_VIEW.equals(intent.getAction())) { in onCreate()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java232 Intent.ACTION_VIEW, Intent.CATEGORY_BROWSABLE); in forwardToManagedProfile_canForward_selectorIntent()
238 assertEquals(Intent.ACTION_VIEW, intentCaptor.getValue().getAction()); in forwardToManagedProfile_canForward_selectorIntent()
248 assertEquals(Intent.ACTION_VIEW, innerIntent.getAction()); in forwardToManagedProfile_canForward_selectorIntent()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DReceiverActivity.java49 final Intent intent = new Intent(Intent.ACTION_VIEW); in onCreate()
/frameworks/base/core/java/android/text/style/
DURLSpan.java72 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in onClick()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/
DVideoActivity.java64 if (Intent.ACTION_VIEW.equals(intent.getAction())) { in checkIntent()
DMainFragment.java100 Intent videoIntent = new Intent(Intent.ACTION_VIEW, uri, getActivity(), in onActivityCreated()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java117 Intent viewIntent = new Intent(Intent.ACTION_VIEW); in resolveMime()
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsIntent.java274 private final Intent mIntent = new Intent(Intent.ACTION_VIEW);
545 if (intent == null) intent = new Intent(Intent.ACTION_VIEW); in setAlwaysUseBrowserUI()
DCustomTabsClient.java101 Intent activityIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://")); in getPackageName()
/frameworks/support/customtabs/tests/src/android/support/customtabs/
DCustomTabsIntentTest.java50 assertEquals(Intent.ACTION_VIEW, intent.getAction()); in testBareboneCustomTabIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java87 Intent intent = new Intent(Intent.ACTION_VIEW, mUri); in onClick()
/frameworks/base/core/java/android/app/assist/
DAssistContent.java41 if (intent != null && Intent.ACTION_VIEW.equals(intent.getAction())) { in setDefaultIntent()
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java113 Intent intent = new Intent(Intent.ACTION_VIEW); in sendNotification()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1353 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcut()
1360 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTitle()
1366 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithShortLabel()
1375 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTimestamp()
1387 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTimestampWithActivity()
1398 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithIcon()
1407 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makePackageShortcut()
1431 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithActivity()
1444 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithActivityAndTitle()
1451 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), rank); in makeShortcutWithActivityAndRank()
DShortcutManagerTest2.java1251 checkShortcutInfoSaveAndLoad_intents(new Intent(Intent.ACTION_VIEW));
1259 checkShortcutInfoSaveAndLoad_intents(new Intent(Intent.ACTION_VIEW,
1269 checkShortcutInfoSaveAndLoad_intents(new Intent(Intent.ACTION_VIEW)
1279 checkShortcutInfoSaveAndLoad_intents(new Intent(Intent.ACTION_VIEW)
1293 new Intent(Intent.ACTION_VIEW).setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT)
1299 new Intent(Intent.ACTION_VIEW)
1306 new Intent(Intent.ACTION_VIEW).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK)
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java124 Intent intent = new Intent(Intent.ACTION_VIEW); in startPlayback()
/frameworks/support/tv-provider/tests/src/android/support/media/tv/
DWatchNextProgramTest.java181 .setIntentUri(Uri.parse(new Intent(Intent.ACTION_VIEW).toUri( in testWatchNextProgramWithPartialData()
251 .setIntentUri(Uri.parse(new Intent(Intent.ACTION_VIEW).toUri( in createFullyPopulatedWatchNextProgram()
DPreviewProgramTest.java198 .setIntentUri(Uri.parse(new Intent(Intent.ACTION_VIEW).toUri( in testPreviewProgramWithPartialData()
272 .setIntentUri(Uri.parse(new Intent(Intent.ACTION_VIEW).toUri( in createFullyPopulatedPreviewProgram()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java283 mIntent.setAction(Intent.ACTION_VIEW); in build()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java169 Intent intent = new Intent(Intent.ACTION_VIEW, fullUri); in getHelpIntent()
/frameworks/base/core/java/android/widget/
DChronometer.java158 new Intent(Intent.ACTION_VIEW, Uri.parse("https://youtu.be/9jK-NcRmVcw")) in isTheFinalCountDown()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java80 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in onScanCompleted()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DAddPrinterActivity.java734 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(searchUri))); in performAction()
747 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getString( in performAction()

12