Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimSelectNotification.java64 Intent newIntent = new Intent(context, SimDialogActivity.class); in onReceive() local
65 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
66 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.PREFERRED_PICK); in onReceive()
67 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in onReceive()
68 context.startActivity(newIntent); in onReceive()
71 Intent newIntent = new Intent(context, SimDialogActivity.class); in onReceive() local
72 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
73 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in onReceive()
74 context.startActivity(newIntent); in onReceive()
DSimSettings.java266 Intent newIntent = new Intent(context, SimPreferenceDialog.class); in onPreferenceTreeClick() local
267 newIntent.putExtra(EXTRA_SLOT_ID, ((SimPreference)preference).getSlotId()); in onPreferenceTreeClick()
268 startActivity(newIntent); in onPreferenceTreeClick()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1498 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchMenuActivity() local
1507 newIntent.setClassName(PACKAGE_NAME, targetActivity); in launchMenuActivity()
1517 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1519 newIntent.putExtra("STATE", StkMenuActivity.STATE_MAIN); in launchMenuActivity()
1525 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1528 newIntent.putExtra(SLOT_ID, slotId); in launchMenuActivity()
1529 newIntent.setData(uriData); in launchMenuActivity()
1530 newIntent.setFlags(intentFlags); in launchMenuActivity()
1531 startActivity(newIntent); in launchMenuActivity()
1535 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchInputActivity() local
[all …]
DStkMain.java56 Intent newIntent = new Intent(Intent.ACTION_VIEW); in onCreate() local
57 newIntent.setClassName(PACKAGE_NAME, STK_LAUNCHER_ACTIVITY_NAME); in onCreate()
58 startActivity(newIntent); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactBroadcastReceiver.java36 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT); in onReceive() local
37 newIntent.setSourceBounds(intent.getSourceBounds()); in onReceive()
38 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onReceive()
39 newIntent.setData(dataUri); in onReceive()
40 ImplicitIntentsUtil.startActivityInApp(context, newIntent); in onReceive()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRoleSearchTrampolineActivity.java48 Intent newIntent; in onCreate() local
51 newIntent = DefaultAppActivity.createIntent( in onCreate()
57 newIntent = SpecialAppAccessActivity.createIntent( in onCreate()
65 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); in onCreate()
66 startActivity(newIntent); in onCreate()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java168 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
169 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
170 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded()
172 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
173 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
176 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
177 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
178 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in startSimSelectDialogIfNeeded()
179 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
DSimSettings.java266 Intent newIntent = new Intent(context, SimPreferenceDialog.class); in onPreferenceTreeClick() local
267 newIntent.putExtra(EXTRA_SLOT_ID, ((SimPreference)preference).getSlotId()); in onPreferenceTreeClick()
268 startActivity(newIntent); in onPreferenceTreeClick()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java48 Intent newIntent; in onCreate() local
52 newIntent = getPackageManager().getLaunchIntentForPackage(srcPackage); in onCreate()
55 newIntent = new Intent(this, MediaActivity.class); in onCreate()
58 newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in onCreate()
59 startActivity(newIntent); in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DManagePermissionsActivityTrampoline.java46 Intent newIntent = new Intent(this, ManagePermissionsActivity.class) in onCreate() local
50 newIntent.setAction(Intent.ACTION_REVIEW_PERMISSION_USAGE); in onCreate()
53 newIntent in onCreate()
63 startActivity(newIntent); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DViewOnlyPreviewActivity.java38 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity
76 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity.ViewOnlyPreviewActivityIntentFactory
77 return ViewOnlyPreviewActivity.newIntent(context, wallpaper); in newIntent()
DPreviewActivity.java39 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in PreviewActivity
78 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in PreviewActivity.PreviewActivityIntentFactory
79 return PreviewActivity.newIntent(context, wallpaper); in newIntent()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java260 Intent newIntent = new Intent(Intent.ACTION_MAIN, null); in getAppShortcutInfo() local
261 newIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getAppShortcutInfo()
262 newIntent.setComponent(componentName); in getAppShortcutInfo()
264 .resolveActivity(newIntent, user); in getAppShortcutInfo()
273 info.intent = newIntent; in getAppShortcutInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java174 Intent newIntent = new Intent(mLauncher.getIntent()); in postCleanup() local
175 newIntent.removeExtra(EXTRA_PIN_ITEM_DRAG_LISTENER); in postCleanup()
176 mLauncher.setIntent(newIntent); in postCleanup()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerTrampolineActivity.java58 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local
61 startActivity(newIntent); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/autofill/
DAutofillPickerTrampolineActivity.java59 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local
62 startActivity(newIntent); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/autofill/
DAutofillPickerTrampolineActivity.java59 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local
62 startActivity(newIntent); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java131 public void onNewIntent(Intent newIntent) { in onNewIntent() argument
132 super.onNewIntent(newIntent); in onNewIntent()
135 setIntent(newIntent); in onNewIntent()
/packages/apps/Dialer/java/com/android/dialer/callintent/
DCallIntent.java170 return autoBuild().newIntent(); in build()
175 private Intent newIntent() { in newIntent() method in CallIntent
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DPickerIntentFactory.java29 Intent newIntent(Context ctx, String collectionId); in newIntent() method
DInlinePreviewIntentFactory.java33 public Intent newIntent(Context ctx, WallpaperInfo wallpaper); in newIntent() method
DWallpaperCategory.java61 factory.newIntent(srcActivity, getCollectionId()), requestCode); in show()
DDefaultWallpaperInfo.java92 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java516 protected void onNewIntent(Intent newIntent) { in onNewIntent() argument
517 setIntent(newIntent); in onNewIntent()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/simulator/
DEnrichedCallSimulatorActivity.java47 public static Intent newIntent(@NonNull Context context) { in newIntent() method in EnrichedCallSimulatorActivity

12