HomeSort by relevance Sort by last modified time
    Searched refs:PendingIntent (Results 51 - 75 of 331) sorted by null

1 23 4 5 6 7 8 91011>>

  /development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
MainActivity.java 5 import android.app.PendingIntent;
37 * The intent needs to be packaged into a {@link android.app.PendingIntent} so that the
42 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, 0);
62 builder.setContentIntent(pendingIntent);
  /development/samples/browseable/repeatingAlarm/src/com.example.android.repeatingalarm/
RepeatingAlarmFragment.java 20 import android.app.PendingIntent;
56 // it's necessary to wrap it in a PendingIntent. Providing a different process with
57 // a PendingIntent gives that other process permission to fire the intent that this
59 // Also, this code creates a PendingIntent to start an Activity. To create a
61 PendingIntent pendingIntent = PendingIntent.getActivity(getActivity(), REQUEST_CODE,
90 FIFTEEN_SEC_MILLIS, pendingIntent);
  /frameworks/support/v4/honeycomb/android/support/v4/app/
NotificationCompatHoneycomb.java 20 import android.app.PendingIntent;
29 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) {
  /frameworks/support/v4/ics/android/support/v4/app/
NotificationCompatIceCreamSandwich.java 20 import android.app.PendingIntent;
29 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon,
  /frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
AlarmImpl.java 20 import android.app.PendingIntent;
53 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, wakupIntent, 0);
  /packages/apps/Mms/src/com/android/mms/transaction/
SimFullReceiver.java 22 import android.app.PendingIntent;
49 PendingIntent pendingIntent = PendingIntent.getActivity(
60 pendingIntent);
SmsSingleRecipientSender.java 5 import android.app.PendingIntent;
79 ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(messageCount);
80 ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(messageCount);
86 deliveryIntents.add(PendingIntent.getBroadcast(
113 sentIntents.add(PendingIntent.getBroadcast(mContext, requestCode, intent, 0));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
UploaderService.java 21 import android.app.PendingIntent;
79 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, intent, 0);
82 alarmManager.cancel(pendingIntent);
85 + UploaderService.RUN_INTERVAL, pendingIntent);
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2ForTesting.java 4 import android.app.PendingIntent;
61 public void set(int type, long triggerAtTime, PendingIntent operation) {
65 public void cancel(PendingIntent operation) {
  /frameworks/base/services/java/com/android/server/location/
GeofenceManager.java 25 import android.app.PendingIntent;
42 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished {
119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent,
143 public void removeFence(Geofence fence, PendingIntent intent) {
241 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>();
242 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>();
339 for (PendingIntent intent : exitIntents) {
342 for (PendingIntent intent : enterIntents)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmController.java 25 import android.app.PendingIntent;
92 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this,
124 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this,
151 PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this,
IncomingMessage.java 26 import android.app.PendingIntent;
114 // The PendingIntent to launch our activity if the user selects this
118 PendingIntent contentIntent = PendingIntent.getActivities(this, 0,
119 makeMessageIntentStack(this, from, message), PendingIntent.FLAG_CANCEL_CURRENT);
163 // The PendingIntent to launch our activity if the user selects this
171 PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
172 intent, PendingIntent.FLAG_CANCEL_CURRENT);
StatusBarNotifications.java 24 import android.app.PendingIntent;
148 private PendingIntent makeMoodIntent(int moodId) {
149 // The PendingIntent to launch our activity if the user selects this
153 PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
155 PendingIntent.FLAG_UPDATE_CURRENT);
160 private PendingIntent makeDefaultIntent() {
183 // The PendingIntent to launch our activity if the user selects this
187 PendingIntent contentIntent = PendingIntent.getActivities(this, 0
    [all...]
AlarmService.java 25 import android.app.PendingIntent;
41 private PendingIntent mAlarmSender;
49 mAlarmSender = PendingIntent.getService(AlarmService.this,
AlarmService_Service.java 25 import android.app.PendingIntent;
106 // The PendingIntent to launch our activity if the user selects this notification
107 PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
NotifyingService.java 25 import android.app.PendingIntent;
104 // The PendingIntent to launch our activity if the user selects this notification
105 PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
PhotoAppWidgetProvider.java 20 import android.app.PendingIntent;
97 PendingIntent pendingIntent = PendingIntent.getActivity(
98 context, 0, clickIntent, PendingIntent.FLAG_UPDATE_CURRENT);
99 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent);
120 PendingIntent pendingClickIntent = PendingIntent.getActivity(context, 0,
121 clickIntent, PendingIntent.FLAG_CANCEL_CURRENT);
  /packages/apps/Mms/src/com/android/mms/widget/
MmsWidgetProvider.java 19 import android.app.PendingIntent;
85 PendingIntent clickIntent;
97 clickIntent = PendingIntent.getActivity(
98 context, 0, convIntent, PendingIntent.FLAG_UPDATE_CURRENT);
104 clickIntent = PendingIntent.getActivity(
105 context, 0, composeIntent, PendingIntent.FLAG_UPDATE_CURRENT);
115 taskStackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT));
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LocationManagerTest.java 3 import android.app.PendingIntent;
175 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric
177 PendingIntent.FLAG_UPDATE_CURRENT);
179 PendingIntent someOtherLocationListenerPendingIntent = PendingIntent.getBroadcast(
181 PendingIntent.FLAG_UPDATE_CURRENT);
193 Map<PendingIntent, Criteria> expectedCriteria = new HashMap<PendingIntent, Criteria>();
213 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication(). (…)
    [all...]
  /frameworks/base/location/java/android/location/
ILocationManager.aidl 19 import android.app.PendingIntent;
41 in PendingIntent intent, String packageName);
42 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName);
45 in PendingIntent intent, String packageName);
46 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetProvider.java 24 import android.app.PendingIntent;
86 PendingIntent pendingUpdate = getUpdateIntent(context);
154 final PendingIntent launchCalendarPendingIntent = PendingIntent.getActivity(
161 final PendingIntent updateEventIntent = getLaunchPendingIntentTemplate(context);
169 * Build the {@link PendingIntent} used to trigger an update of all calendar
176 static PendingIntent getUpdateIntent(Context context) {
179 return PendingIntent.getBroadcast(context, 0 /* no requestCode */, intent,
184 * Build a {@link PendingIntent} to launch the Calendar app. This should be used
185 * in combination with {@link RemoteViews#setPendingIntentTemplate(int, PendingIntent)}
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLocationManager.java 3 import android.app.PendingIntent;
4 import android.app.PendingIntent.CanceledException;
26 private final Map<PendingIntent, Criteria> requestLocationUdpateCriteriaPendingIntents = new HashMap<PendingIntent, Criteria>();
27 private final Map<PendingIntent, String> requestLocationUdpateProviderPendingIntents = new HashMap<PendingIntent, String>();
87 Set<PendingIntent> requestLocationUdpatePendingIntentSet = requestLocationUdpateCriteriaPendingIntents
89 for (PendingIntent requestLocationUdpatePendingIntent : requestLocationUdpatePendingIntentSet) {
224 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, PendingIntent pendingIntent) {
    [all...]
  /developers/samples/android/background/alarms/Scheduler/src/com/example/android/scheduler/
SampleAlarmReceiver.java 4 import android.app.PendingIntent;
22 private PendingIntent alarmIntent;
58 alarmIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
71 * which the alarm is fired, and the alarm's associated PendingIntent.
  /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);
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmService.java 21 import android.app.PendingIntent;
33 * repeating countdown timer that sends a PendingIntent. The user starts and stops the timer with
71 PendingIntent mContentIntent;
192 mContentIntent = PendingIntent.getActivity(

Completed in 2995 milliseconds

1 23 4 5 6 7 8 91011>>