Home
last modified time | relevance | path

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

12

/packages/apps/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java63 Intent newIntent = null; in onCreate() local
69 newIntent = getPackageManager().getLaunchIntentForPackage(srcPackage); in onCreate()
70 newIntent.putExtra(Car.CAR_EXTRA_MEDIA_COMPONENT, in onCreate()
73 Log.d(TAG, "Getting launch intent for package : " + srcPackage + (newIntent != null in onCreate()
77 if (newIntent == null) { in onCreate()
79 newIntent = new Intent(this, MediaActivity.class); in onCreate()
82 newIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in onCreate()
83 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, PICK_DISMISS); in startSimSelectDialogIfNeeded()
171 context.startActivity(newIntent); in startSimSelectDialogIfNeeded()
183 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
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DViewOnlyPreviewActivity.java40 public static Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity
45 protected static Intent newIntent(Context context, WallpaperInfo wallpaper, in newIntent() method in ViewOnlyPreviewActivity
47 return newIntent(context, wallpaper).putExtra(EXTRA_VIEW_AS_HOME, isVewAsHome); in newIntent()
95 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in ViewOnlyPreviewActivity.ViewOnlyPreviewActivityIntentFactory
97 return ViewOnlyPreviewActivity.newIntent(context, wallpaper, mIsViewAsHome); in newIntent()
99 return ViewOnlyPreviewActivity.newIntent(context, wallpaper); in newIntent()
DPreviewActivity.java41 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() method in PreviewActivity
89 public Intent newIntent(Context context, WallpaperInfo wallpaper) { in newIntent() method in PreviewActivity.PreviewActivityIntentFactory
90 return PreviewActivity.newIntent(context, wallpaper); in newIntent()
/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.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/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/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/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/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/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java276 Intent newIntent = new Intent(Intent.ACTION_MAIN, null); in getAppShortcutInfo() local
277 newIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getAppShortcutInfo()
278 newIntent.setComponent(componentName); in getAppShortcutInfo()
280 .resolveActivity(newIntent, user); in getAppShortcutInfo()
289 info.intent = newIntent; in getAppShortcutInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerTrampolineActivity.java59 final Intent newIntent = new Intent(this, AutofillPickerActivity.class) in onCreate() local
62 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/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/
DNonFullscreenPreferenceFragmentTest.java74 ActivityScenario.launch(MyActivity.newIntent(true))) { in test_fullscreen_changesTitle()
100 ActivityScenario.launch(MyActivity.newIntent(false))) { in test_nonFullscreen_doesntChangeTitle()
129 public static Intent newIntent(boolean isFullScreen) { in newIntent() method in NonFullscreenPreferenceFragmentTest.MyActivity
/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/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.java151 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
DImageWallpaperInfo.java173 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
/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
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java574 protected void onNewIntent(Intent newIntent) { in onNewIntent() argument
575 setIntent(newIntent); in onNewIntent()

12