HomeSort by relevance Sort by last modified time
    Searched full:pendingintent (Results 51 - 75 of 851) sorted by null

1 23 4 5 6 7 8 91011>>

  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
BootupActivity.java 18 import android.app.PendingIntent;
45 PendingIntent alarmIntent = PendingIntent.getService(context, 0, recommendationIntent, 0);
UpdateRecommendationsService.java 18 import android.app.PendingIntent;
80 private PendingIntent buildPendingIntent(Movie movie) {
88 // PendingIntent
91 PendingIntent intent = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/
BootupActivity.java 20 import android.app.PendingIntent;
47 PendingIntent alarmIntent = PendingIntent.getService(context, 0, recommendationIntent, 0);
  /developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
SetTimerActivity.java 23 import android.app.PendingIntent;
115 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent,
116 PendingIntent.FLAG_UPDATE_CURRENT);
122 alarm.setExact(AlarmManager.RTC_WAKEUP, wakeupTime, pendingIntent);
136 PendingIntent pendingIntentRestart = PendingIntent
137 .getService(this, 0, restartIntent, PendingIntent.FLAG_UPDATE_CURRENT);
142 PendingIntent pendingIntentDelete = PendingInten
    [all...]
  /developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
SetTimerActivity.java 23 import android.app.PendingIntent;
115 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent,
116 PendingIntent.FLAG_UPDATE_CURRENT);
122 alarm.setExact(AlarmManager.RTC_WAKEUP, wakeupTime, pendingIntent);
136 PendingIntent pendingIntentRestart = PendingIntent
137 .getService(this, 0, restartIntent, PendingIntent.FLAG_UPDATE_CURRENT);
142 PendingIntent pendingIntentDelete = PendingInten
    [all...]
  /development/samples/browseable/Timer/src/com.example.android.wearable.timer/
SetTimerActivity.java 23 import android.app.PendingIntent;
115 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent,
116 PendingIntent.FLAG_UPDATE_CURRENT);
122 alarm.setExact(AlarmManager.RTC_WAKEUP, wakeupTime, pendingIntent);
136 PendingIntent pendingIntentRestart = PendingIntent
137 .getService(this, 0, restartIntent, PendingIntent.FLAG_UPDATE_CURRENT);
142 PendingIntent pendingIntentDelete = PendingInten
    [all...]
  /frameworks/base/core/java/android/app/
IAlarmManager.aidl 21 import android.app.PendingIntent;
33 long interval, int flags, in PendingIntent operation, in IAlarmListener listener,
37 void remove(in PendingIntent operation, in IAlarmListener listener);
TaskStackBuilder.java 75 * @param context The context that will launch the new task stack or generate a PendingIntent
237 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far.
240 * @param flags May be {@link PendingIntent#FLAG_ONE_SHOT},
241 * {@link PendingIntent#FLAG_NO_CREATE}, {@link PendingIntent#FLAG_CANCEL_CURRENT},
242 * {@link PendingIntent#FLAG_UPDATE_CURRENT}, or any of the flags supported by
246 * @return The obtained PendingIntent
248 public PendingIntent getPendingIntent(int requestCode, @PendingIntent.Flags int flags) {
253 * Obtain a {@link PendingIntent} for launching the task constructed by this builder so far
    [all...]
  /frameworks/base/core/java/android/net/
IConnectivityMetricsLogger.aidl 19 import android.app.PendingIntent;
41 boolean register(in PendingIntent newEventsIntent);
42 void unregister(in PendingIntent newEventsIntent);
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/
NotificationHelper.java 7 import android.app.PendingIntent;
39 private final SparseArray<PendingIntent> mIntents = new SparseArray<PendingIntent>();
53 mIntents.put(R.drawable.ic_pause, PendingIntent.getBroadcast(mService, 100, new Intent(
55 PendingIntent.FLAG_CANCEL_CURRENT));
56 mIntents.put(R.drawable.ic_play_arrow, PendingIntent.getBroadcast(mService, 100,
58 PendingIntent.FLAG_CANCEL_CURRENT));
59 mIntents.put(R.drawable.ic_skip_previous, PendingIntent.getBroadcast(mService, 100,
61 PendingIntent.FLAG_CANCEL_CURRENT));
62 mIntents.put(R.drawable.ic_skip_next, PendingIntent.getBroadcast(mService, 100
    [all...]
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServerService.java 20 import android.app.PendingIntent;
76 PendingIntent pendingIntent = PendingIntent.getActivity(this, 0,
84 setContentIntent(pendingIntent).
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteViews.java 3 import android.app.PendingIntent;
54 public void setOnClickPendingIntent(int viewId, final PendingIntent pendingIntent) {
61 pendingIntent.send(view.getContext(), 0, null);
62 } catch (PendingIntent.CanceledException e) {
  /frameworks/base/docs/html/training/notify-user/
navigation.jd 15 <li><a href="#DirectEntry">Set up a regular activity PendingIntent</a></li>
16 <li><a href="#ExtendedNotification">Set up a special activity PendingIntent</a></li>
64 <h2 id="DirectEntry">Set Up a Regular Activity PendingIntent</h2>
66 To set up a {@link android.app.PendingIntent} that starts a direct entry
104 // Gets a PendingIntent containing the entire back stack
105 PendingIntent resultPendingIntent =
106 stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT);
115 <h2 id="ExtendedNotification">Set Up a Special Activity PendingIntent</h2>
123 and create the {@link android.app.PendingIntent} by calling
124 {@link android.app.PendingIntent#getActivity getActivity()}
    [all...]
  /packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
FullScreenActivity.java 21 import android.app.PendingIntent;
79 public static PendingIntent getPendingIntent(Context context, int id) {
84 PendingIntent pi = PendingIntent.getActivity(
85 context, 22, fullScreenIntent, PendingIntent.FLAG_UPDATE_CURRENT);
PhoneService.java 21 import android.app.PendingIntent;
72 public static PendingIntent getPendingIntent(Context context, int id, String action) {
77 PendingIntent pi = PendingIntent.getService(
78 context, 58, phoneIntent, PendingIntent.FLAG_UPDATE_CURRENT);
UpdateService.java 21 import android.app.PendingIntent;
60 public static PendingIntent getPendingIntent(Context context, int update, int id, long when) {
67 PendingIntent pi = PendingIntent.getService(
68 context, 58, updateIntent, PendingIntent.FLAG_UPDATE_CURRENT);
  /developers/build/prebuilts/gradle/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/
FindPhoneActivity.java 23 import android.app.PendingIntent;
43 PendingIntent toggleAlarmIntent = PendingIntent.getService(this, 0, toggleAlarmOperation,
44 PendingIntent.FLAG_CANCEL_CURRENT);
49 PendingIntent cancelAlarmIntent = PendingIntent.getService(this, 0, cancelAlarmOperation,
50 PendingIntent.FLAG_CANCEL_CURRENT);
  /developers/samples/android/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/
FindPhoneActivity.java 23 import android.app.PendingIntent;
43 PendingIntent toggleAlarmIntent = PendingIntent.getService(this, 0, toggleAlarmOperation,
44 PendingIntent.FLAG_CANCEL_CURRENT);
49 PendingIntent cancelAlarmIntent = PendingIntent.getService(this, 0, cancelAlarmOperation,
50 PendingIntent.FLAG_CANCEL_CURRENT);
  /development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
FindPhoneActivity.java 23 import android.app.PendingIntent;
43 PendingIntent toggleAlarmIntent = PendingIntent.getService(this, 0, toggleAlarmOperation,
44 PendingIntent.FLAG_CANCEL_CURRENT);
49 PendingIntent cancelAlarmIntent = PendingIntent.getService(this, 0, cancelAlarmOperation,
50 PendingIntent.FLAG_CANCEL_CURRENT);
  /frameworks/base/core/java/android/text/style/
EasyEditSpan.java 19 import android.app.PendingIntent;
56 private final PendingIntent mPendingIntent;
70 * @param pendingIntent The intent will be sent when the wrapped text is deleted or modified.
74 public EasyEditSpan(PendingIntent pendingIntent) {
75 mPendingIntent = pendingIntent;
136 public PendingIntent getPendingIntent() {
  /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;
  /packages/apps/Messaging/src/com/android/messaging/ui/
UIIntents.java 20 import android.app.PendingIntent;
283 * Get a PendingIntent for starting conversation list from notifications.
285 public abstract PendingIntent getPendingIntentForConversationListActivity(
289 * Get a PendingIntent for starting conversation list from widget.
291 public abstract PendingIntent getWidgetPendingIntentForConversationListActivity(
295 * Get a PendingIntent for showing a conversation from notifications.
297 public abstract PendingIntent getPendingIntentForConversationActivity(final Context context,
307 * Get a PendingIntent for sending a message to a conversation, without opening the Bugle UI.
312 public abstract PendingIntent getPendingIntentForSendingMessageToConversation(
317 * Get a PendingIntent for clearing notifications
    [all...]
  /frameworks/support/customtabs/src/android/support/customtabs/
CustomTabsIntent.java 20 import android.app.PendingIntent;
106 * provide a description, an icon {@link Bitmap} and a {@link PendingIntent} for the button.
115 * {@link PendingIntent} if the item is a button.
141 * Key that specifies the PendingIntent to launch when the action button or menu item was
142 * clicked. The custom tab will be calling {@link PendingIntent#send()} on clicks after adding
186 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent).
193 * {@link PendingIntent} will be sent, carrying the current url of the custom tab as data.
197 * {@link RemoteViews#setOnClickPendingIntent(int, PendingIntent)} instead.
198 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent).
204 * Extra that specifies the {@link PendingIntent} to be sent when the user clicks on th
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 21 import android.app.PendingIntent;
64 private PendingIntent mPauseIntent;
65 private PendingIntent mPlayIntent;
66 private PendingIntent mPreviousIntent;
67 private PendingIntent mNextIntent;
84 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE,
85 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT);
86 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE,
87 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT);
88 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE
    [all...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 21 import android.app.PendingIntent;
64 private PendingIntent mPauseIntent;
65 private PendingIntent mPlayIntent;
66 private PendingIntent mPreviousIntent;
67 private PendingIntent mNextIntent;
84 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE,
85 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT);
86 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE,
87 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT);
88 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE
    [all...]

Completed in 1544 milliseconds

1 23 4 5 6 7 8 91011>>