/packages/apps/Music/src/com/android/music/ |
MediaAppWidgetProvider.java | 19 import android.app.PendingIntent; 175 PendingIntent pendingIntent; 181 pendingIntent = PendingIntent.getActivity(context, 183 views.setOnClickPendingIntent(R.id.album_appwidget, pendingIntent); 186 pendingIntent = PendingIntent.getActivity(context, 188 views.setOnClickPendingIntent(R.id.album_appwidget, pendingIntent); 193 pendingIntent = PendingIntent.getService(context [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 25 import android.app.PendingIntent; 49 PendingIntent pendingIntent = PendingIntent.getActivity( 60 pendingIntent);
|
SmsRejectedReceiver.java | 23 import android.app.PendingIntent; 61 PendingIntent pendingIntent = PendingIntent.getActivity( 83 pendingIntent);
|
MessagingNotification.java | 40 import android.app.PendingIntent; 492 // Make a startActivity() PendingIntent for the notification. 493 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, clickIntent, 494 PendingIntent.FLAG_UPDATE_CURRENT); 497 notification.setLatestEventInfo(context, title, description, pendingIntent); 532 notification.deleteIntent = PendingIntent.getBroadcast(context, 0, 649 PendingIntent pendingIntent = PendingIntent.getActivity [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 19 import android.app.PendingIntent; 99 public RemoteControlClientCompat(PendingIntent pendingIntent) { 105 sRemoteControlClientClass.getConstructor(PendingIntent.class) 106 .newInstance(pendingIntent); 112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) { 119 sRemoteControlClientClass.getConstructor(PendingIntent.class, Looper.class) 120 .newInstance(pendingIntent, looper);
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 19 import android.app.PendingIntent; 67 PendingIntent pendingIntent = PendingIntent.getActivity(context, 71 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
NotificationStressTest.java | 85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
|
/cts/tests/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 21 import android.app.PendingIntent; 123 final PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 125 + "notification ", pendingIntent);
|
NotificationTest.java | 20 import android.app.PendingIntent; 108 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 109 mNotification.contentIntent = pendingIntent; 111 final PendingIntent delPendingIntent = PendingIntent.getBroadcast( 194 java.lang.CharSequence.class, android.app.PendingIntent.class} 200 final PendingIntent contentIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0) [all...] |
PendingIntentTest.java | 19 import android.app.PendingIntent; 20 import android.app.PendingIntent.CanceledException; 34 @TestTargetClass(PendingIntent.class) 38 private PendingIntent mPendingIntent; 44 private PendingIntent.OnFinished mFinish; 53 mFinish = new PendingIntent.OnFinished() { 54 public void onSendFinished(PendingIntent pi, Intent intent, int resultCode, 114 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, 115 PendingIntent.FLAG_CANCEL_CURRENT); 126 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationController.java | 23 import android.app.PendingIntent; 90 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, gpsIntent, 0); 96 .setContentIntent(pendingIntent)
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
SmsMessageReceiver.java | 21 import android.app.PendingIntent; 73 private PendingIntent createDisplayMessageIntent(Context context, String fromAddress, 85 // created here for other messages. Without this line, the PendingIntent always gets the 89 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, di, 0); 90 return pendingIntent;
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 22 import android.app.PendingIntent; 117 PendingIntent pendingIntent = PendingIntent.getActivity(context, 119 views.setOnClickPendingIntent(R.id.widget, pendingIntent);
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 22 import android.app.PendingIntent; 108 PendingIntent pendingIntent = PendingIntent.getActivity(context, 110 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
PhotoAppWidgetProvider.java | 22 import android.app.PendingIntent; 83 PendingIntent pendingIntent = PendingIntent.getActivity( 84 context, 0, clickIntent, PendingIntent.FLAG_UPDATE_CURRENT); 85 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent); 106 PendingIntent pendingClickIntent = PendingIntent.getActivity(context, 0, 107 clickIntent, PendingIntent.FLAG_CANCEL_CURRENT);
|
/frameworks/base/core/java/android/widget/ |
RemoteViews.java | 26 import android.app.PendingIntent; 143 protected boolean startIntentSafely(Context context, PendingIntent pendingIntent, 146 // TODO: Unregister this handler if PendingIntent.FLAG_ONE_SHOT? 148 pendingIntent.getIntentSender(), fillInIntent, 246 if (!(parent.getTag() instanceof PendingIntent)) { 252 PendingIntent pendingIntent = (PendingIntent) parent.getTag(); 266 startIntentSafely(v.getContext(), pendingIntent, fillInIntent) [all...] |
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetProvider.java | 27 import android.app.PendingIntent; 157 final PendingIntent pendingIntent = PendingIntent.getActivity(context, 159 views.setOnClickPendingIntent(R.id.border, pendingIntent); 162 contactData.getPhoneticName(), contactData.getStreamItems(), pendingIntent); 179 List<StreamItemEntry> streamItems, PendingIntent defaultIntent) { 231 PendingIntent.getActivity(context, 0, intent, 0));
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 25 import android.app.PendingIntent; 185 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0); 186 views.setOnClickPendingIntent(viewId, pendingIntent);
|
/packages/apps/Email/src/com/android/email/widget/ |
EmailWidget.java | 32 import android.app.PendingIntent; 68 * When handling clicks in a widget ListView, a single PendingIntent template is provided to 71 * PendingIntent using Intent.fillIn(). Since this mechanism does NOT preserve the Extras 200 PendingIntent pendingIntent = 201 PendingIntent.getActivity(mContext, (int) mAccountId, intent, 202 PendingIntent.FLAG_UPDATE_CURRENT); 203 views.setOnClickPendingIntent(buttonId, pendingIntent); 332 PendingIntent pendingIntent = PendingIntent.getService(mContext, 0, intent [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
SipWakeupTimer.java | 20 import android.app.PendingIntent; 59 private PendingIntent mPendingIntent; 222 throw new RuntimeException("pendingIntent is not null!"); 228 PendingIntent pendingIntent = mPendingIntent = 229 PendingIntent.getBroadcast(mContext, 0, intent, 230 PendingIntent.FLAG_UPDATE_CURRENT); 232 event.mTriggerTime, pendingIntent);
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 25 import android.app.PendingIntent; 598 PendingIntent.getActivity(mContext, 0, carModeOffIntent, 0)); [all...] |
/frameworks/base/core/java/android/app/ |
PendingIntent.java | 39 * <p>By giving a PendingIntent to another application, 42 * identity). As such, you should be careful about how you build the PendingIntent: 47 * <p>A PendingIntent itself is simply a reference to a token maintained by 50 * PendingIntent itself will remain usable from other processes that 52 * same kind of PendingIntent (same operation, same Intent action, data, 53 * categories, and components, and same flags), it will receive a PendingIntent 57 public final class PendingIntent implements Parcelable { 63 * PendingIntent can only be used once. If set, after 70 * {@link #getService}: if the described PendingIntent does not already 76 * {@link #getService}: if the described PendingIntent already exists [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsTest.java | 29 import android.app.PendingIntent; 654 args = {int.class, android.app.PendingIntent.class} 667 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity, 0, intent, 0); 668 mRemoteViews.setOnClickPendingIntent(R.id.remoteView_image, pendingIntent);
|
/packages/apps/Phone/src/com/android/phone/ |
NotificationMgr.java | 21 import android.app.PendingIntent; 469 PendingIntent.getActivity(mContext, 0, callLogIntent, 0)); 480 private PendingIntent createClearMissedCallsIntent() { 483 return PendingIntent.getService(mContext, 0, intent, 0); 799 // PendingIntent that can be used to launch the InCallScreen. The 804 PendingIntent inCallPendingIntent = 805 PendingIntent.getActivity(mContext, 0, [all...] |
/frameworks/base/core/java/android/content/ |
SyncManager.java | 30 import android.app.PendingIntent; 147 private final PendingIntent mSyncAlarmIntent; 312 mSyncAlarmIntent = PendingIntent.getBroadcast( [all...] |