Home
last modified time | relevance | path

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

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DViewOnlyPreviewActivity.java41 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity
46 protected static Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent() method in ViewOnlyPreviewActivity
48 return newIntent(context, wallpaper).putExtra(EXTRA_VIEW_AS_HOME, isVewAsHome); in newIntent()
97 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity.ViewOnlyPreviewActivityIntentFactory
103 return FullPreviewActivity.newIntent(context, wallpaper, mIsViewAsHome); in newIntent()
107 return ViewOnlyPreviewActivity.newIntent(context, wallpaper, mIsViewAsHome); in newIntent()
109 return ViewOnlyPreviewActivity.newIntent(context, wallpaper); in newIntent()
DPreviewActivity.java47 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in PreviewActivity
121 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in PreviewActivity.PreviewActivityIntentFactory
127 return FullPreviewActivity.newIntent(context, wallpaper); in newIntent()
130 return PreviewActivity.newIntent(context, wallpaper); in newIntent()
DFullPreviewActivity.java45 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in FullPreviewActivity
56 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo, in newIntent() method in FullPreviewActivity
58 return newIntent(packageContext, wallpaperInfo).putExtra(EXTRA_VIEW_AS_HOME, viewAsHome); in newIntent()
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java133 final Intent newIntent = canForward(intentReceived, getUserId(), targetUserId, in onCreate() local
136 if (newIntent == null) { in onCreate()
143 newIntent.prepareToLeaveUser(callingUserId); in onCreate()
145 mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, targetUserId); in onCreate()
149 launchResolverActivityWithCorrectTab(intentReceived, className, newIntent, in onCreate()
153 startActivityAsCaller(newIntent, targetUserId); in onCreate()
202 private void startActivityAsCaller(Intent newIntent, int userId) { in startActivityAsCaller() argument
205 newIntent, in startActivityAsCaller()
235 Intent newIntent, int callingUserId, int targetUserId) { in launchResolverActivityWithCorrectTab() argument
243 newIntent, MATCH_DEFAULT_ONLY, callingUserId).join(); in launchResolverActivityWithCorrectTab()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1558 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchMenuActivity() local
1567 newIntent.setClassName(PACKAGE_NAME, targetActivity); in launchMenuActivity()
1577 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1579 newIntent.putExtra("STATE", StkMenuActivity.STATE_MAIN); in launchMenuActivity()
1585 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
1591 newIntent.putExtra(SLOT_ID, slotId); in launchMenuActivity()
1592 newIntent.setData(uriData); in launchMenuActivity()
1593 newIntent.setFlags(intentFlags); in launchMenuActivity()
1594 startActivity(newIntent); in launchMenuActivity()
1598 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchInputActivity() local
[all …]
DStkMain.java57 Intent newIntent = new Intent(Intent.ACTION_VIEW); in onCreate() local
58 newIntent.setClassName(PACKAGE_NAME, STK_LAUNCHER_ACTIVITY_NAME); in onCreate()
59 startActivity(newIntent); in onCreate()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java183 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
184 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
185 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded()
187 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
188 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
191 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded() local
192 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startSimSelectDialogIfNeeded()
193 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in startSimSelectDialogIfNeeded()
194 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
DSimDialogProhibitService.java84 Intent newIntent = new Intent(uiContext, SimDialogActivity.class); in dismissDialogThroughIntent() local
85 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in dismissDialogThroughIntent()
86 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.PICK_DISMISS); in dismissDialogThroughIntent()
87 uiContext.startActivity(newIntent); in dismissDialogThroughIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/DeskClock/tests/src/com/android/deskclock/ringtone/
DRingtonePickerActivityTest.java254 final Intent newIntent = new Intent(); in createTimerRingtonePickerActivity() local
258 newIntent.fillIn(intent, 0); in createTimerRingtonePickerActivity()
262 createRingtonePickerActivity(newIntent); in createTimerRingtonePickerActivity()
267 final Intent newIntent = new Intent(); in createAlarmRingtonePickerActivity() local
279 newIntent.fillIn(intent, 0); in createAlarmRingtonePickerActivity()
283 createRingtonePickerActivity(newIntent); in createAlarmRingtonePickerActivity()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DBaseItemDragListener.java163 Intent newIntent = new Intent(mLauncher.getIntent()); in postCleanup() local
164 newIntent.removeExtra(EXTRA_PIN_ITEM_DRAG_LISTENER); in postCleanup()
165 mLauncher.setIntent(newIntent); in postCleanup()
/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/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerTrampolineActivity.java61 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local
64 startActivity(newIntent); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java344 Intent newIntent = new Intent(Intent.ACTION_MAIN, null); in getAppShortcutInfo() local
345 newIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getAppShortcutInfo()
346 newIntent.setComponent(componentName); in getAppShortcutInfo()
348 .resolveActivity(newIntent, user); in getAppShortcutInfo()
357 info.intent = newIntent; in getAppShortcutInfo()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DPickerIntentFactory.java29 Intent newIntent(Context ctx, String collectionId); in newIntent() method
DInlinePreviewIntentFactory.java47 Intent newIntent(Context ctx, WallpaperInfo wallpaper); in newIntent() method
DDefaultWallpaperInfo.java98 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
DPartnerWallpaperInfo.java156 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
DCurrentWallpaperInfoVN.java170 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt127 override fun onNewIntent(newIntent: Intent) { in onNewIntent()
128 super.onNewIntent(newIntent) in onNewIntent()
131 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/Dialer/java/com/android/dialer/enrichedcall/simulator/
DEnrichedCallSimulatorActivity.java47 public static Intent newIntent(@NonNull Context context) { in newIntent() method in EnrichedCallSimulatorActivity
/packages/apps/Camera2/src/com/android/camera/util/
DQuickActivity.java240 protected void onNewIntentTasks(Intent newIntent) { in onNewIntentTasks() argument

12