Home
last modified time | relevance | path

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

/packages/apps/Stk/src/com/android/stk/
DStkAppService.java623 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchMenuActivity() local
624 newIntent.setClassName(PACKAGE_NAME, MENU_ACTIVITY_NAME); in launchMenuActivity()
631 newIntent.putExtra("STATE", StkMenuActivity.STATE_MAIN); in launchMenuActivity()
636 newIntent.putExtra("STATE", StkMenuActivity.STATE_SECONDARY); in launchMenuActivity()
638 newIntent.setFlags(intentFlags); in launchMenuActivity()
639 mContext.startActivity(newIntent); in launchMenuActivity()
643 Intent newIntent = new Intent(Intent.ACTION_VIEW); in launchInputActivity() local
644 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in launchInputActivity()
646 newIntent.setClassName(PACKAGE_NAME, INPUT_ACTIVITY_NAME); in launchInputActivity()
647 newIntent.putExtra("INPUT", mCurrentCmd.geInput()); in launchInputActivity()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java526 Intent newIntent = new Intent();
527 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO,
529 newIntent.setData(mPackageURI);
530 newIntent.setClass(this, InstallAppProgress.class);
531 newIntent.putExtra(InstallAppProgress.EXTRA_MANIFEST_DIGEST, mPkgDigest);
535 newIntent.putExtra(Intent.EXTRA_ORIGINATING_URI, mOriginatingURI);
538 newIntent.putExtra(Intent.EXTRA_REFERRER, mReferrerURI);
541 newIntent.putExtra(Intent.EXTRA_ORIGINATING_UID, mOriginatingUid);
544 newIntent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME,
548 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true);
[all …]
DUninstallerActivity.java103 Intent newIntent = new Intent(Intent.ACTION_VIEW);
104 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO,
106 newIntent.putExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, mAllUsers);
108 newIntent.putExtra(Intent.EXTRA_RETURN_RESULT, true);
109 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
111 newIntent.setClass(this, UninstallAppProgress.class);
112 startActivity(newIntent);
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java97 Intent newIntent = new Intent(this, CertFileList.class); in run() local
98 newIntent.putExtras(intent); in run()
99 startActivityForResult(newIntent, REQUEST_INSTALL_CODE); in run()
104 Intent newIntent = new Intent(this, CertInstaller.class); in run() local
105 newIntent.putExtras(intent); in run()
106 startActivityForResult(newIntent, REQUEST_INSTALL_CODE); in run()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactBroadcastReceiver.java34 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT); in onReceive() local
35 newIntent.setSourceBounds(intent.getSourceBounds()); in onReceive()
36 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in onReceive()
37 newIntent.setData(dataUri); in onReceive()
38 context.startActivity(newIntent); in onReceive()
/packages/apps/Phone/src/com/android/phone/
DOutgoingCallBroadcaster.java283 Intent newIntent = new Intent(Intent.ACTION_CALL, uri); in startSipCallOptionHandler() local
284 newIntent.putExtra(EXTRA_ACTUAL_NUMBER_TO_DIAL, number); in startSipCallOptionHandler()
285 PhoneUtils.checkAndCopyPhoneProviderExtras(intent, newIntent); in startSipCallOptionHandler()
293 selectPhoneIntent.putExtra(EXTRA_NEW_CALL_INTENT, newIntent); in startSipCallOptionHandler()
690 Intent newIntent = new Intent(Intent.ACTION_DIAL, uri); in handleNonVoiceCapable() local
691 if (DBG) Log.v(TAG, "- relaunching as a DIAL intent: " + newIntent); in handleNonVoiceCapable()
692 startActivity(newIntent); in handleNonVoiceCapable()
DProcessOutgoingCallTest.java58 Intent newIntent = new Intent(Intent.ACTION_SEARCH); in onReceive() local
59 newIntent.putExtra(SearchManager.QUERY, number.substring(2)); in onReceive()
60 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onReceive()
61 context.startActivity(newIntent); in onReceive()
DOtaUtils.java345 Intent newIntent = new Intent(ACTION_PERFORM_VOICELESS_CDMA_PROVISIONING); in maybeDoOtaCall() local
346 newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in maybeDoOtaCall()
347 newIntent.putExtra(EXTRA_VOICELESS_PROVISIONING_OFFER_DONTSHOW, true); in maybeDoOtaCall()
349 context.startActivity(newIntent); in maybeDoOtaCall()
744 Intent newIntent = new Intent(Intent.ACTION_CALL); in otaPerformActivation() local
745 newIntent.setData(Uri.fromParts(Constants.SCHEME_TEL, OTASP_NUMBER, null)); in otaPerformActivation()
748 mApplication.callController.placeCall(newIntent); in otaPerformActivation()
DSipCallOptionHandler.java330 Intent newIntent = new Intent(this, SipSettings.class); in onClick() local
331 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onClick()
332 startActivity(newIntent); in onClick()
/packages/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java820 public void onNewIntent(Intent newIntent) { in onNewIntent() argument
821 setIntent(newIntent); in onNewIntent()
822 fixIntent(newIntent); in onNewIntent()
823 setCurrentTab(newIntent); in onNewIntent()
824 final String action = newIntent.getAction(); in onNewIntent()
826 setupFilterText(newIntent); in onNewIntent()
840 mCallLogFragment.configureScreenFromIntent(newIntent); in onNewIntent()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java90 public void onNewIntent(Intent newIntent) { in onNewIntent() argument
91 super.onNewIntent(newIntent); in onNewIntent()
92 if (DEBUG) Log.d(LOG_TAG, "onNewIntent with intent: " + newIntent); in onNewIntent()
96 setIntent(newIntent); in onNewIntent()
99 int tab = newIntent.getIntExtra(SELECT_TAB_INTENT_EXTRA, -1); in onNewIntent()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java548 final Intent newIntent = new Intent(actionQuickContact); in updateContactsShortcuts() local
554 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in updateContactsShortcuts()
556 newIntent.putExtra( in updateContactsShortcuts()
558 newIntent.setData(uri); in updateContactsShortcuts()
561 newIntent.setDataAndType(uri, newIntent.resolveType(mContext)); in updateContactsShortcuts()
565 newIntent.toUri(0)); in updateContactsShortcuts()
DLauncherModel.java2181 Intent newIntent = new Intent(intent.getAction(), null); in getShortcutInfo() local
2182 newIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getShortcutInfo()
2183 newIntent.setPackage(oldComponent.getPackageName()); in getShortcutInfo()
2184 List<ResolveInfo> infos = manager.queryIntentActivities(newIntent, 0); in getShortcutInfo()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchActivity.java250 Intent newIntent = new Intent(oldIntent); in clearStartedIntoCorpusSelectionDialog() local
251 newIntent.setAction(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in clearStartedIntoCorpusSelectionDialog()
252 setIntent(newIntent); in clearStartedIntoCorpusSelectionDialog()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogFragment.java232 public void configureScreenFromIntent(Intent newIntent) { in configureScreenFromIntent() argument
239 mScrollToTop = Calls.CONTENT_TYPE.equals(newIntent.getType()); in configureScreenFromIntent()