Home | History | Annotate | Download | only in appwidget

Lines Matching defs:appwidget

17 package android.appwidget;
32 import com.android.internal.appwidget.IAppWidgetService;
39 * Updates AppWidget state; gets information about installed AppWidget providers and other
40 * AppWidget related state.
53 * pick an AppWidget to display. The AppWidget picker activity will be launched.
59 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
74 * When you receive the result from the AppWidget pick activity, if the resultCode is
75 * {@link android.app.Activity#RESULT_OK}, an AppWidget has been selected. You should then
76 * check the AppWidgetProviderInfo for the returned AppWidget, and if it has one, launch its configuration
82 public static final String ACTION_APPWIDGET_PICK = "android.appwidget.action.APPWIDGET_PICK";
89 ACTION_KEYGUARD_APPWIDGET_PICK = "android.appwidget.action.KEYGUARD_APPWIDGET_PICK";
93 * an AppWidget to display and bindAppWidgetIdIfAllowed returns false.
99 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
104 * <td>The BroadcastReceiver that will be the AppWidget provider for this AppWidget.
119 * When you receive the result from the AppWidget bind activity, if the resultCode is
120 * {@link android.app.Activity#RESULT_OK}, the AppWidget has been bound. You should then
121 * check the AppWidgetProviderInfo for the returned AppWidget, and if it has one, launch its
129 public static final String ACTION_APPWIDGET_BIND = "android.appwidget.action.APPWIDGET_BIND";
132 * Sent when it is time to configure your AppWidget while it is being added to a host.
133 * This action is not sent as a broadcast to the AppWidget provider, but as a startActivity
146 * {@link android.app.Activity#setResult Activity.setResult()}, the AppWidget will be added,
147 * and you will receive an {@link #ACTION_APPWIDGET_UPDATE} broadcast for this AppWidget.
149 * and not display this AppWidget, and you will receive a {@link #ACTION_APPWIDGET_DELETED} broadcast.
151 public static final String ACTION_APPWIDGET_CONFIGURE = "android.appwidget.action.APPWIDGET_CONFIGURE";
204 * An intent extra that contains the component name of a AppWidget provider.
211 * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
218 * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
228 * An intent extra to pass to the AppWidget picker which allows the picker to filter
236 * An intent extra to pass to the AppWidget picker to specify whether or not to sort
243 * A sentinel value that the AppWidget manager will never return as a appWidgetId.
248 * Sent when it is time to update your AppWidget.
250 * <p>This may be sent in response to a new instance for this AppWidget provider having
260 * provider, or just a subset. The system tries to send updates for as few AppWidget
267 public static final String ACTION_APPWIDGET_UPDATE = "android.appwidget.action.APPWIDGET_UPDATE";
270 * Sent when the custom extras for an AppWidget change.
279 public static final String ACTION_APPWIDGET_OPTIONS_CHANGED = "android.appwidget.action.APPWIDGET_UPDATE_OPTIONS";
282 * Sent when an instance of an AppWidget is deleted from its host.
289 public static final String ACTION_APPWIDGET_DELETED = "android.appwidget.action.APPWIDGET_DELETED";
292 * Sent when an instance of an AppWidget is removed from the last host.
299 public static final String ACTION_APPWIDGET_DISABLED = "android.appwidget.action.APPWIDGET_DISABLED";
302 * Sent when an instance of an AppWidget is added to a host for the first time.
311 public static final String ACTION_APPWIDGET_ENABLED = "android.appwidget.action.APPWIDGET_ENABLED";
318 public static final String META_DATA_APPWIDGET_PROVIDER = "android.appwidget.provider";
367 * This method will only work when called from the uid that owns the AppWidget provider.
373 * @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
393 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
413 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
435 * This method will only work when called from the uid that owns the AppWidget provider.
441 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
463 * This method will only work when called from the uid that owns the AppWidget provider.
469 * @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
495 * This method will only work when called from the uid that owns the AppWidget provider.
501 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
509 * Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.
514 * This method will only work when called from the uid that owns the AppWidget provider.
518 * for your AppWidget.
531 * Notifies the specified collection view in all the specified AppWidget instances
534 * @param appWidgetIds The AppWidget instances to notify of view data changes.
547 * Notifies the specified collection view in the specified AppWidget instance
550 * @param appWidgetId The AppWidget instance to notify of view data changes.
558 * Return a list of the AppWidget providers that are currently installed.
565 * Return a list of the AppWidget providers that are currently installed.
594 * Get the available info about the AppWidget.
625 * widgets always for your component. This method is used by the AppWidget picker and
628 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
629 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
630 * provider for this AppWidget.
646 * widgets always for your component. This method is used by the AppWidget picker and
649 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
650 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
651 * provider for this AppWidget.
652 * @param options Bundle containing options for the AppWidget. See also
674 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
675 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
676 * provider for this AppWidget.
677 * @return true if this component has permission to bind the AppWidget
700 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
701 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
702 * provider for this AppWidget.
703 * @param options Bundle containing options for the AppWidget. See also
706 * @return true if this component has permission to bind the AppWidget
762 * {@link android.appwidget.AppWidgetManager#bindAppWidgetId AppWidgetManager.bindAppWidgetId()}.
764 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
786 * {@link android.appwidget.AppWidgetManager#bindAppWidgetId AppWidgetManager.bindAppWidgetId()}.
788 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
804 * Get the list of appWidgetIds that have been bound to the given AppWidget
808 * AppWidget provider to find appWidgetIds for.