HomeSort by relevance Sort by last modified time
    Searched defs:intent (Results 276 - 300 of 1045) sorted by null

<<11121314151617181920>>

  /packages/apps/Calendar/src/com/android/calendar/alerts/
QuickResponseActivity.java 21 import android.content.Intent;
52 Intent intent = getIntent(); local
53 if (intent == null) {
58 mEventId = intent.getLongExtra(EXTRA_EVENT_ID, -1);
106 Intent emailIntent = AlertReceiver.createEmailIntent(QuickResponseActivity.this,
  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java 20 import android.content.Intent;
71 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); local
72 intent.putExtra("message", cbMessage);
73 activity.sendOrderedBroadcast(intent, "android.permission.RECEIVE_SMS");
83 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); local
84 intent.putExtra("message", cbMessage)
95 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); local
107 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); local
119 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactsIntentResolver.java 23 import android.content.Intent;
41 * Parses a Contacts intent, extracting all relevant parts and packaging them
55 public ContactsRequest resolveIntent(Intent intent) {
58 String action = intent.getAction();
77 } else if (Intent.ACTION_PICK.equals(action)) {
78 final String resolvedType = intent.resolveType(mContext);
97 } else if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
98 String component = intent.getComponent().getClassName();
106 } else if (Intent.ACTION_GET_CONTENT.equals(action))
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
HelpUtils.java 20 import android.content.Intent;
31 * Functions to easily prepare contextual help menu option items with an intent that opens up the
59 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
73 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
90 // Then, create an intent that will be fired when the user
92 Intent intent = new Intent(Intent.ACTION_VIEW, fullUri); local
93 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TAS
    [all...]
PhoneCapabilityTester.java 21 import android.content.Intent;
45 * Tests whether the Intent has a receiver registered. This can be used to show/hide
48 public static boolean isIntentRegistered(Context context, Intent intent) {
50 final List<ResolveInfo> receiverList = packageManager.queryIntentActivities(intent,
86 final Intent intent = new Intent(Intent.ACTION_SENDTO, local
88 final List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, 0)
102 final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogFragmentTest.java 23 import android.content.Intent;
316 Intent intent = intentProvider.getIntent(mActivity); local
318 assertEquals(Intent.ACTION_CALL_PRIVILEGED, intent.getAction());
320 assertEquals(Uri.parse("tel:" + TEST_NUMBER), intent.getData());
332 Intent intent = intentProvider.getIntent(mActivity); local
335 intent.getComponent());
338 intent.getData())
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
DeleteImage.java 23 import android.content.Intent;
50 Intent intent = getIntent(); local
51 mUriList = intent.getParcelableArrayListExtra("delete-uris");
MovieView.java 23 import android.content.Intent;
47 Intent intent = getIntent(); local
48 mControl = new MovieViewControl(rootView, this, intent.getData()) {
56 if (intent.hasExtra(MediaStore.EXTRA_SCREEN_ORIENTATION)) {
57 int orientation = intent.getIntExtra(
64 mFinishOnCompletion = intent.getBooleanExtra(
PhotoAppWidgetBind.java 23 import android.content.Intent;
47 final Intent intent = getIntent(); local
48 final Bundle extras = intent.getExtras();
PhotoAppWidgetConfigure.java 23 import android.content.Intent;
60 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); local
61 intent.setType("image/*");
62 intent.putExtra("crop", "true");
63 intent.putExtra("aspectX", 1);
64 intent.putExtra("aspectY", 1);
65 intent.putExtra("outputX", maxDimension)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PackagesMonitor.java 22 import android.content.Intent;
38 public void onReceive(final Context context, final Intent intent) {
39 intent.setClass(context, AsyncService.class);
40 context.startService(intent);
49 protected void onHandleIntent(Intent intent) {
50 onReceiveAsync(this, intent);
55 private static void onReceiveAsync(Context context, Intent intent) {
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ApplicationInfo.java 20 import android.content.Intent;
37 * The intent used to start the application.
39 Intent intent; field in class:ApplicationInfo
72 Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
95 intent = new Intent(info.intent);
101 * Creates the application intent based on a component name and various launch flags
    [all...]
ShortcutInfo.java 23 import android.content.Intent;
33 * The intent used to start the application.
35 Intent intent; field in class:ShortcutInfo
53 Intent.ShortcutIconResource iconResource;
67 intent = new Intent(info.intent);
69 iconResource = new Intent.ShortcutIconResource();
81 intent = new Intent(info.intent)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
ProgressCallbackEntity.java 26 import android.content.Intent;
83 Intent intent = new Intent(PROGRESS_STATUS_ACTION); local
84 intent.putExtra("progress", progress);
85 intent.putExtra("token", mToken);
86 mContext.sendBroadcast(intent);
  /packages/apps/Mms/src/com/android/mms/ui/
ConfirmRateLimitActivity.java 22 import android.content.Intent;
112 Intent intent = new Intent(RATE_LIMIT_CONFIRMED_ACTION); local
113 intent.putExtra("answer", answer);
114 sendBroadcast(intent);
NoConfirmationSendService.java 20 import android.content.Intent;
31 * Respond to a special intent and send an SMS message without the user's intervention.
38 // Intent should be redelivered if the process gets killed before completing the job.
45 protected void onHandleIntent(Intent intent) {
48 String action = intent.getAction();
54 Bundle extras = intent.getExtras();
60 String message = extras.getString(Intent.EXTRA_TEXT);
62 Uri intentUri = intent.getData();
70 intent.setClassName(this, "com.android.mms.ui.ComposeMessageActivityNoLockScreen")
    [all...]
WarnOfStorageLimitsActivity.java 23 import android.content.Intent;
78 Intent intent = new Intent(this, local
80 startActivity(intent);
  /packages/apps/Music/src/com/android/music/
VideoBrowserActivity.java 22 import android.content.Intent;
81 Intent intent = new Intent(Intent.ACTION_VIEW); local
84 intent.setDataAndType(ContentUris.withAppendedId(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, id), type);
86 startActivity(intent);
  /packages/apps/Nfc/src/com/android/nfc/
NfcDispatcher.java 31 import android.content.Intent;
98 public synchronized void setForegroundDispatch(PendingIntent intent,
101 mOverrideIntent = intent;
114 public final Intent intent; field in class:NfcDispatcher.DispatchInfo
116 final Intent rootIntent;
123 intent = new Intent();
124 intent.putExtra(NfcAdapter.EXTRA_TAG, tag);
125 intent.putExtra(NfcAdapter.EXTRA_ID, tag.getId())
264 Intent intent; local
339 Intent intent = dispatch.setNdefIntent(); local
450 Intent intent = new Intent(mContext, TechListChooserActivity.class); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
HelpUtils.java 21 import android.content.Intent;
32 * Functions to easily prepare contextual help menu option items with an intent that opens up the
60 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
74 * - Otherwise, this makes the help menu item visible and sets the intent for the help menu
91 // Then, create an intent that will be fired when the user
93 Intent intent = new Intent(Intent.ACTION_VIEW, fullUri); local
94 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TAS
    [all...]
MonitoringCertInfoActivity.java 26 import android.content.Intent;
87 Intent intent = local
88 new Intent(android.provider.Settings.ACTION_TRUSTED_CREDENTIALS_USER);
89 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
90 startActivity(intent);
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentDefaultDialog.java 21 import android.content.Intent;
55 Intent intent = getIntent(); local
56 ComponentName component = intent.getParcelableExtra(
58 String category = intent.getStringExtra(CardEmulation.EXTRA_CATEGORY);
  /packages/apps/Settings/tests/src/com/android/settings/
SettingsHookTests.java 24 import android.content.Intent;
82 * Test that the operator test activity has registered an intent-filter for
89 Intent intent = new Intent(INTENT_OPERATOR_HOOK); local
90 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0);
96 assertTrue("Intent-filter not found", result);
100 * Test that the manufacturer test activity has registered an intent-filter
107 Intent intent = new Intent(INTENT_MANUFACTURER_HOOK) local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
MailIntentService.java 24 import android.content.Intent;
60 protected void onHandleIntent(final Intent intent) {
63 LogUtils.v(LOG_TAG, "Handling intent %s", intent);
65 final String action = intent.getAction();
67 if (Intent.ACTION_LOCALE_CHANGED.equals(action)) {
70 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT);
71 final Folder folder = intent.getParcelableExtra(Utils.EXTRA_FOLDER);
79 final Uri accountUri = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT_URI)
95 final Intent intent = new Intent(ACTION_BACKUP_DATA_CHANGED); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageInviteView.java 23 import android.content.Intent;
71 Intent intent = new Intent(Intent.ACTION_VIEW); local
72 intent.setData(mMessage.eventIntentUri);
73 mContext.startActivity(intent);

Completed in 655 milliseconds

<<11121314151617181920>>