Home | History | Annotate | Download | only in widget

Lines Matching refs:INTENT

26 import android.content.Intent;
75 * The intent extra that contains the appWidgetId.
208 Intent fillInIntent) {
217 Intent.FLAG_ACTIVITY_NEW_TASK,
218 Intent.FLAG_ACTIVITY_NEW_TASK, 0, opts.toBundle());
220 android.util.Log.e(LOG_TAG, "Cannot send pending intent: ", e);
223 android.util.Log.e(LOG_TAG, "Cannot send pending intent due to " +
364 public SetOnClickFillInIntent(int id, Intent fillInIntent) {
371 fillInIntent = Intent.CREATOR.createFromParcel(parcel);
409 // Insure that a template pending intent has been set on an ancestor
433 Intent fillInIntent;
478 Intent fillInIntent = null;
482 if (tag instanceof Intent) {
483 fillInIntent = (Intent) tag;
491 final Intent intent = new Intent();
492 intent.setSourceBounds(rect);
598 public SetRemoteViewsAdapterIntent(int id, Intent intent) {
600 this.intent = intent;
605 intent = Intent.CREATOR.createFromParcel(parcel);
611 intent.writeToParcel(dest, flags);
632 // Embed the AppWidget Id for use in RemoteViewsAdapter when connecting to the intent
635 intent.putExtra(EXTRA_REMOTEADAPTER_APPWIDGET_ID, host.getAppWidgetId());
638 v.setRemoteViewsAdapter(intent);
642 v.setRemoteViewsAdapter(intent);
651 Intent intent;
716 final Intent intent = new Intent();
717 intent.setSourceBounds(rect);
718 handler.onClickHandler(v, pendingIntent, intent);
1072 static final int INTENT = 14;
1142 case INTENT:
1144 this.value = Intent.CREATOR.createFromParcel(in);
1216 case INTENT:
1219 ((Intent)this.value).writeToParcel(out, flags);
1260 case INTENT:
1261 return Intent.class;
2143 * RemoteViews#setOnClickFillInIntent(int, Intent).
2157 * {@link RemoteViews#setOnClickFillInIntent(int, Intent)}.
2175 * intent which will be executed when the item is clicked. This works as follows: any fields
2181 * set in fillInIntent. See {@link Intent#fillIn(Intent, int)} for more details.
2184 * @param fillInIntent The intent which will be combined with the parent's PendingIntent
2187 public void setOnClickFillInIntent(int viewId, Intent fillInIntent) {
2271 * Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}.
2276 * @param intent The intent of the service which will be
2279 * {@link android.widget.RemoteViews#setRemoteAdapter(int, Intent)}
2282 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) {
2283 setRemoteAdapter(viewId, intent);
2287 * Equivalent to calling {@link android.widget.AbsListView#setRemoteViewsAdapter(Intent)}.
2291 * @param intent The intent of the service which will be
2294 public void setRemoteAdapter(int viewId, Intent intent) {
2295 addAction(new SetRemoteViewsAdapterIntent(viewId, intent));
2510 * Call a method taking one Intent on a view in the layout for this RemoteViews.
2514 * @param value The {@link android.content.Intent} to pass the method.
2516 public void setIntent(int viewId, String methodName, Intent value) {
2517 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.INTENT, value));