/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
DreamTheaterActivity.java | 4 import android.content.Intent; 11 startActivity(Intent.createChooser(new Intent(Intent.ACTION_MAIN) 12 .addCategory("android.intent.category.DREAM"),
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageMonitor.java | 21 import android.content.Intent; 42 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED); 43 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED); 44 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED); 45 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); 46 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED); 48 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED); 49 sNonDataFilt.addAction(Intent.ACTION_USER_STOPPED); 50 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); 51 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE) [all...] |
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
MainActivity.java | 20 import android.content.Intent; 55 * Emits a sample share {@link Intent}. 58 Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); 60 sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, mEditBody.getText().toString()); 61 startActivity(Intent.createChooser(sharingIntent, getString(R.string.send_intent_title)));
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Intents.java | 22 import android.content.Intent; 37 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local 38 intent.setType("audio/*"); 39 startActivity(Intent.createChooser(intent, "Select music")); 43 Intent intent = new Intent(Intent.ACTION_GET_CONTENT) local 49 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local [all...] |
/frameworks/support/tests/java/android/support/tests/ |
GrantActivity.java | 21 import android.content.Intent; 34 final Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); local 35 startActivityForResult(intent, 12); 39 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 43 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareCodeAction.java | 20 import android.content.Intent; 28 Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); 30 sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Notification Code"); 31 sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody); 32 context.startActivity(Intent.createChooser(sharingIntent, title));
|
ShareMockupAction.java | 20 import android.content.Intent; 72 // launch intent to send the mockup image 73 Intent share = new Intent(Intent.ACTION_SEND); 75 share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(f.getAbsoluteFile())); 76 activity.startActivity(Intent.createChooser(share, title));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiverTests.java | 21 import android.content.Intent; 56 reciever.onReceive(getContext(), new Intent("some-random-action")); 69 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); 82 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); 95 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ApplicationHiddenTest.java | 21 import android.content.Intent; 43 PACKAGE_INTENT_FILTER.addAction(Intent.ACTION_PACKAGE_ADDED); 44 PACKAGE_INTENT_FILTER.addAction(Intent.ACTION_PACKAGE_REMOVED); 90 public void onReceive(Context context, Intent intent) { 91 Uri uri = intent.getData(); 99 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction())) { 102 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(intent.getAction())) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
ContactsDumpActivity.java | 22 import android.content.Intent; 119 Intent intent = new Intent(Intent.ACTION_SEND); local 120 intent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.debug_dump_email_subject)); 121 intent.putExtra(Intent.EXTRA_TEXT, getString(R.string.debug_dump_email_body)); 122 intent.setType(DataExporter.ZIP_MIME_TYPE) [all...] |
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfImageDictionary_autogen.cpp | 103 SkString SkPdfImageDictionary::Intent(SkPdfNativeDoc* doc) { 104 SkPdfNativeObject* ret = get("Intent", ""); 112 return get("Intent", "") != NULL;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MovieActivity.java | 24 import android.content.Intent; 50 * The client of this activity can pass a logo bitmap in the intent (KEY_LOGO_BITMAP) 86 Intent intent = getIntent(); local 87 initializeActionBar(intent); 88 mFinishOnCompletion = intent.getBooleanExtra( 90 mTreatUpAsBack = intent.getBooleanExtra(KEY_TREAT_UP_AS_BACK, false); 91 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState, 100 if (intent.hasExtra(MediaStore.EXTRA_SCREEN_ORIENTATION)) { 101 int orientation = intent.getIntExtra 188 Intent intent = new Intent(Intent.ACTION_SEND); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebugActivity.java | 20 import android.content.Intent; 183 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 191 Intent intent = new Intent(Intent.ACTION_SEND); local 192 intent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.debug_tool_email_subject)); 193 intent.putExtra(Intent.EXTRA_TEXT, getString(R.string.debug_tool_email_body)) [all...] |
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
ContentFragment.java | 24 import android.content.Intent; 180 Intent intent = new Intent(getActivity(), MainActivity.class); local 181 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // Reuse the existing instance 182 startActivity(intent); 298 * and then invoke the appropriate share intent. 346 * intent to share the photo. This code is run on the main (UI) thread. 354 Intent shareIntent = new Intent(Intent.ACTION_SEND) [all...] |
/external/skia/experimental/PdfViewer/pdfparser/native/ |
SkPdfNativeTokenizer.cpp | [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
cmscnvrt.c | 86 cmsUInt32Number Intent; 162 // Search the list for a suitable intent. Returns NULL if not found 164 cmsIntentsList* SearchIntent(cmsContext ContextID, cmsUInt32Number Intent) 170 if (pt ->Intent == Intent) return pt; 173 if (pt ->Intent == Intent) return pt; 364 cmsUInt32Number Intent, 376 // If intent is abs. colorimetric, 377 if (Intent == INTENT_ABSOLUTE_COLORIMETRIC) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MenuExecutor.java | 26 import android.content.Intent; 124 ((Activity) mActivity).startActivity((Intent) message.obj); 220 private Intent getIntentBySingleSelectedPath(String action) { 224 return new Intent(action).setDataAndType(manager.getContentUri(path), mimeType); 243 Intent intent = getIntentBySingleSelectedPath(CropActivity.CROP_ACTION); local 244 ((Activity) mActivity).startActivity(intent); 248 Intent intent = getIntentBySingleSelectedPath(Intent.ACTION_EDIT local 254 Intent intent = getIntentBySingleSelectedPath(Intent.ACTION_ATTACH_DATA) local [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
MultiChoiceManager.java | 21 import android.content.Intent; 167 // but apparently before the ArrayList is serialized in the intent 183 public boolean onShareTargetSelected(ShareActionProvider provider, Intent intent) { 230 Intent intent = new Intent(); local 235 intent.setDataAndType(uri, mime) 236 .setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) 237 .setAction(Intent.ACTION_EDIT) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningServiceDetails.java | 15 import android.content.Intent; 102 getActivity().stopService(new Intent().setComponent(si.mRunningService.service)); 161 Intent result = new Intent(Intent.ACTION_APP_ERROR); 163 result.putExtra(Intent.EXTRA_BUG_REPORT, report); 164 result.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 172 Intent.FLAG_ACTIVITY_NEW_TASK 173 | Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET, 174 Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET, 0) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
WebViewContextMenu.java | 24 import android.content.Intent; 105 new Intent(Intent.ACTION_DIAL, Uri.parse(WebView.SCHEME_TEL)), 108 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:")), 156 * Sends an intent and reports the analytics event. 159 private Intent mIntent; 165 public SendIntent(Intent intent, String analyticsLabel) { 167 setIntent(intent); 285 final Intent intent = new Intent(Intent.ACTION_DIAL, local 296 final Intent intent = local 405 final Intent intent = mIntentBuilder.createInlineAttachmentViewIntent(mActivity, url, msg); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 25 import android.content.Intent; 93 Intent intent = item.getIntent(); local 94 uri = intent.getData(); 98 ClipData intentClip = intent.getClipData(); 183 Intent intent = item.getIntent(); local 184 uri = intent.getData(); 188 ClipData intentClip = intent.getClipData(); 282 // Intent 284 Intent intent = new Intent(Intent.ACTION_VIEW, grantClip4Uri); local 296 Intent intent = new Intent(); local 505 Intent intent = new Intent(); local 594 Intent intent = new Intent(); local 604 Intent intent = new Intent(); local 615 Intent intent = new Intent(); local 635 Intent intent = item.getIntent(); local 747 Intent intent = item.getIntent(); local 1373 Intent intent = new Intent(); local [all...] |
/development/samples/Home/src/com/example/android/home/ |
Home.java | 25 import android.content.Intent; 148 protected void onNewIntent(Intent intent) { 149 super.onNewIntent(intent); 152 if (Intent.ACTION_MAIN.equals(intent.getAction())) { 194 * Registers various intent receivers. The current implementation registers 195 * only a wallpaper intent receiver to let other applications change the 199 IntentFilter filter = new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED); 202 filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED) 279 final Intent intent = new Intent(Intent.ACTION_MAIN, null); local 364 final Intent intent = recentTasks.get(i).baseIntent; local [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/ |
lcms2_plugin.h | 448 // a single LUT. Any custom intent in the chain redirects to custom function. If more than 449 // one custom intent is found, the one located first is invoked. Usually users should use only one 450 // custom intent, so mixing custom intents in same multiprofile transform is not supported. 461 // Each plug-in defines a single intent number. 464 cmsUInt32Number Intent; 550 cmsUInt32Number Intent,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 23 import android.content.Intent; 80 * The maximum bitmap size we allow to be returned through the intent. 83 * sure the intent stays below 1MB.We should consider just returning a byte 98 Intent intent = getIntent(); local 99 setResult(RESULT_CANCELED, new Intent()); 100 mCropExtras = getExtrasFromIntent(intent); 121 if (intent.getData() != null) { 122 mSourceUri = intent.getData(); 151 * in the CROP intent 154 Intent intent = new Intent(); local [all...] |
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 28 import android.content.Intent; 104 f.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); 105 f.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); 106 f.addAction(Intent.ACTION_MEDIA_UNMOUNTED); 198 public void onReceive(Context context, Intent intent) { 205 public void onReceive(Context context, Intent intent) { 208 if (intent.getAction().equals(Intent.ACTION_MEDIA_UNMOUNTED)) 315 Intent intent = new Intent(); local 339 Intent intent = new Intent(); local 407 Intent intent = new Intent(Intent.ACTION_PICK); local 430 Intent intent; local [all...] |