Home
last modified time | relevance | path

Searched refs:newIntent (Results 1 – 25 of 48) 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/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java60 Intent newIntent = null; in onCreate() local
66 newIntent = getPackageManager().getLaunchIntentForPackage(srcPackage); in onCreate()
68 Log.d(TAG, "Getting launch intent for package : " + srcPackage + (newIntent != null in onCreate()
72 if (newIntent == null) { in onCreate()
74 newIntent = new Intent(this, MediaActivity.class); in onCreate()
77 newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in onCreate()
78 startActivity(newIntent); in onCreate()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1555 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchMenuActivity() local
1564 newIntent.setClassName(PACKAGE_NAME, targetActivity); in launchMenuActivity()
1574 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1576 newIntent.putExtra("STATE", StkMenuActivity.STATE_MAIN); in launchMenuActivity()
1582 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1588 newIntent.putExtra(SLOT_ID, slotId); in launchMenuActivity()
1589 newIntent.setData(uriData); in launchMenuActivity()
1590 newIntent.setFlags(intentFlags); in launchMenuActivity()
1591 startActivity(newIntent); in launchMenuActivity()
1595 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.java169 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
170 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
171 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded()
173 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
174 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
177 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
178 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
179 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in startSimSelectDialogIfNeeded()
180 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/DeskClock/tests/src/com/android/deskclock/ringtone/
DRingtonePickerActivityTest.java249 final Intent newIntent = new Intent(); in createTimerRingtonePickerActivity() local
253 newIntent.fillIn(intent, 0); in createTimerRingtonePickerActivity()
257 createRingtonePickerActivity(newIntent); in createTimerRingtonePickerActivity()
262 final Intent newIntent = new Intent(); in createAlarmRingtonePickerActivity() local
274 newIntent.fillIn(intent, 0); in createAlarmRingtonePickerActivity()
278 createRingtonePickerActivity(newIntent); in createAlarmRingtonePickerActivity()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DManagePermissionsActivityTrampoline.java46 Intent newIntent = new Intent(this, ManagePermissionsActivity.class) in onCreate() local
49 newIntent in onCreate()
58 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.java40 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in PreviewActivity
79 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in PreviewActivity.PreviewActivityIntentFactory
80 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.java171 Intent newIntent = new Intent(mLauncher.getIntent()); in postCleanup() local
172 newIntent.removeExtra(EXTRA_PIN_ITEM_DRAG_LISTENER); in postCleanup()
173 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/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java263 final Intent newIntent = new Intent(); in onNewIntent_newSubscriptionId_fragmentReplaced() local
264 newIntent.putExtra(Settings.EXTRA_SUB_ID, CURRENT_SUB_ID); in onNewIntent_newSubscriptionId_fragmentReplaced()
265 mMobileNetworkActivity.onNewIntent(newIntent); in onNewIntent_newSubscriptionId_fragmentReplaced()
/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.java43 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()

12