HomeSort by relevance Sort by last modified time
    Searched defs:launchIntent (Results 1 - 25 of 41) sorted by null

1 2

  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/locale/
LocaleReceiver.java 38 Intent launchIntent;
40 launchIntent = IntentBuilders.buildStartInBackgroundIntent(script);
42 launchIntent = IntentBuilders.buildStartInTerminalIntent(script);
44 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
45 context.startActivity(launchIntent);
  /frameworks/support/core-utils/java/android/support/v4/app/
AppLaunchChecker.java 72 final Intent launchIntent = activity.getIntent();
73 if (launchIntent == null) {
77 if (Intent.ACTION_MAIN.equals(launchIntent.getAction())
78 && (launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER)
79 || launchIntent.hasCategory(IntentCompat.CATEGORY_LEANBACK_LAUNCHER))) {
  /packages/apps/Nfc/src/com/android/nfc/
NfcRootActivity.java 28 static final String EXTRA_LAUNCH_INTENT = "launchIntent";
35 final Intent launchIntent = intent.getParcelableExtra(EXTRA_LAUNCH_INTENT);
36 if (launchIntent != null) {
38 startActivityAsUser(launchIntent, UserHandle.CURRENT);
  /developers/build/prebuilts/gradle/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java 43 final Intent launchIntent = new Intent(getInstrumentation()
45 mDocumentCentricActivity = startActivity(launchIntent, null, null);
  /developers/samples/android/ui/activitytasks/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java 43 final Intent launchIntent = new Intent(getInstrumentation()
45 mDocumentCentricActivity = startActivity(launchIntent, null, null);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
Somnambulator.java 38 final Intent launchIntent = getIntent();
39 final String action = launchIntent.getAction();
51 boolean docked = launchIntent.hasCategory(Intent.CATEGORY_DESK_DOCK);
  /development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson4/
LaunchActivityTest.java 81 final Intent launchIntent = getStartedActivityIntent();
83 assertNotNull("Intent was null", launchIntent);
88 final String payload = launchIntent.getStringExtra(NextActivity.EXTRAS_PAYLOAD_KEY);
  /external/deqp/android/package/src/com/drawelements/deqp/execserver/
ExecService.java 81 Intent launchIntent = new Intent(this, ExecServerActivity.class);
82 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
83 PendingIntent pm = PendingIntent.getActivity(this, 0, launchIntent, 0);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
PermissionsTest.java 235 Intent launchIntent = new Intent();
236 launchIntent.setComponent(new ComponentName(PERMISSION_APP_PACKAGE_NAME,
238 launchIntent.putExtra(EXTRA_PERMISSION, PERMISSION_NAME);
239 launchIntent.setAction(ACTION_REQUEST_PERMISSION);
240 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
241 mContext.startActivity(launchIntent);
251 Intent launchIntent = new Intent();
252 launchIntent.setComponent(new ComponentName(PERMISSION_APP_PACKAGE_NAME,
254 launchIntent.putExtra(EXTRA_PERMISSION, PERMISSION_NAME);
255 launchIntent.setAction(ACTION_CHECK_HAS_PERMISSION)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
ConfirmConnectActivity.java 37 Intent launchIntent = getIntent();
38 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSearch.java 108 launchIntent(launchUriIntent);
150 private void launchIntent(Intent intent) {
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
ThirdPartyWallpaperInfo.java 37 Intent launchIntent = new Intent(Intent.ACTION_SET_WALLPAPER)
42 launchIntent, WallpaperPickerActivity.PICK_WALLPAPER_THIRD_PARTY_ACTIVITY);
LiveWallpaperInfo.java 110 Intent launchIntent = new Intent(WallpaperService.SERVICE_INTERFACE);
111 launchIntent.setClassName(info.getPackageName(), info.getServiceName());
112 result.add(new LiveWallpaperInfo(thumb, info, launchIntent));
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetProvider.java 188 Intent launchIntent = new Intent();
189 launchIntent.setAction(Intent.ACTION_VIEW);
190 launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK |
192 launchIntent.setClass(context, AllInOneActivity.class);
193 return PendingIntent.getActivity(context, 0 /* no requestCode */, launchIntent,
  /frameworks/base/core/java/android/widget/
ShareActionProvider.java 300 Intent launchIntent = dataModel.chooseActivity(itemId);
301 if (launchIntent != null) {
302 final String action = launchIntent.getAction();
305 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
308 mContext.startActivity(launchIntent);
ActivityChooserView.java 599 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position);
600 if (launchIntent != null) {
601 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
603 startActivity(launchIntent, resolveInfo);
618 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index);
619 if (launchIntent != null) {
620 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
621 startActivity(launchIntent, defaultActivity);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java 364 Intent launchIntent = dataModel.chooseActivity(itemId);
365 if (launchIntent != null) {
366 final String action = launchIntent.getAction();
369 updateIntent(launchIntent);
371 mContext.startActivity(launchIntent);
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherAppsCompatV16.java 86 Intent launchIntent = new Intent(Intent.ACTION_MAIN);
87 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER);
88 launchIntent.setComponent(component);
89 launchIntent.setSourceBounds(sourceBounds);
90 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
91 mContext.startActivity(launchIntent, opts);
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskTest.java 206 Intent launchIntent = getIntentReceivingActivityIntent(0);
208 lockTaskUtility.putExtra(LockTaskUtilityActivity.START_ACTIVITY, launchIntent);
230 Intent launchIntent = getIntentReceivingActivityIntent(0);
231 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
232 mContext.startActivity(launchIntent);
250 Intent launchIntent = getIntentReceivingActivityIntent(Intent.FLAG_ACTIVITY_NEW_TASK);
251 mContext.startActivity(launchIntent);
  /packages/apps/Launcher2/src/com/android/launcher2/
InstallShortcutReceiver.java 87 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0))
123 Intent launchIntent = Intent.parseUri(object.getString(LAUNCH_INTENT_KEY), 0);
140 data.putExtra(Intent.EXTRA_SHORTCUT_INTENT, launchIntent);
142 new PendingInstallShortcutInfo(data, name, launchIntent);
161 Intent launchIntent;
170 launchIntent = shortcutIntent;
238 final Intent intent = pendingInfo.launchIntent;
  /packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java 153 context, info.launchIntent, null)) {
155 Log.e(TAG, "Ignoring malicious intent " + info.launchIntent.toUri(0));
185 if (info.launchIntent == null || info.label == null) {
231 + pendingInfo.launchIntent);
271 final Intent launchIntent;
282 launchIntent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
297 launchIntent = AppInfo.makeLaunchIntent(context, info, user);
308 .key(LAUNCH_INTENT_KEY).value(launchIntent.toUri(0))
319 if (launchIntent.getAction() == null) {
320 launchIntent.setAction(Intent.ACTION_VIEW)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 324 Intent launchIntent = new Intent(Intent.ACTION_VIEW);
325 launchIntent.setDataAndType(mParams.imageUri, "image/png");
326 launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
334 .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0))
342 .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0))
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java     [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodHelperActivity.java 343 Intent launchIntent = keyguardManager.createConfirmDeviceCredentialIntent(null, null);
344 startActivity(launchIntent);
  /frameworks/base/core/java/android/app/
SearchDialog.java 536 launchIntent(intent);
542 private void launchIntent(Intent intent) {

Completed in 628 milliseconds

1 2