Lines Matching defs:appwidget
17 package android.appwidget;
32 import com.android.internal.appwidget.IAppWidgetService;
38 * Updates AppWidget state; gets information about installed AppWidget providers and other
39 * AppWidget related state.
51 * pick an AppWidget to display. The AppWidget picker activity will be launched.
57 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
72 * When you receive the result from the AppWidget pick activity, if the resultCode is
73 * {@link android.app.Activity#RESULT_OK}, an AppWidget has been selected. You should then
74 * check the AppWidgetProviderInfo for the returned AppWidget, and if it has one, launch its
80 public static final String ACTION_APPWIDGET_PICK = "android.appwidget.action.APPWIDGET_PICK";
87 ACTION_KEYGUARD_APPWIDGET_PICK = "android.appwidget.action.KEYGUARD_APPWIDGET_PICK";
91 * an AppWidget to display and bindAppWidgetIdIfAllowed returns false.
97 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
102 * <td>The BroadcastReceiver that will be the AppWidget provider for this AppWidget.
108 * for this AppWidget.
123 * When you receive the result from the AppWidget bind activity, if the resultCode is
124 * {@link android.app.Activity#RESULT_OK}, the AppWidget has been bound. You should then
125 * check the AppWidgetProviderInfo for the returned AppWidget, and if it has one, launch its
132 public static final String ACTION_APPWIDGET_BIND = "android.appwidget.action.APPWIDGET_BIND";
135 * Sent when it is time to configure your AppWidget while it is being added to a host.
136 * This action is not sent as a broadcast to the AppWidget provider, but as a startActivity
150 * {@link android.app.Activity#setResult Activity.setResult()}, the AppWidget will be added,
151 * and you will receive an {@link #ACTION_APPWIDGET_UPDATE} broadcast for this AppWidget.
153 * and not display this AppWidget, and you will receive a {@link #ACTION_APPWIDGET_DELETED}
156 public static final String ACTION_APPWIDGET_CONFIGURE = "android.appwidget.action.APPWIDGET_CONFIGURE";
212 * An intent extra that contains the component name of a AppWidget provider.
220 * which an AppWidget provider is registered.
227 * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
240 * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
250 * An intent extra to pass to the AppWidget picker which allows the picker to filter
258 * An intent extra to pass to the AppWidget picker to specify whether or not to sort
265 * A sentinel value that the AppWidget manager will never return as a appWidgetId.
270 * Sent when it is time to update your AppWidget.
272 * <p>This may be sent in response to a new instance for this AppWidget provider having
282 * provider, or just a subset. The system tries to send updates for as few AppWidget
289 public static final String ACTION_APPWIDGET_UPDATE = "android.appwidget.action.APPWIDGET_UPDATE";
292 * Sent when the custom extras for an AppWidget change.
301 public static final String ACTION_APPWIDGET_OPTIONS_CHANGED = "android.appwidget.action.APPWIDGET_UPDATE_OPTIONS";
304 * Sent when an instance of an AppWidget is deleted from its host.
311 public static final String ACTION_APPWIDGET_DELETED = "android.appwidget.action.APPWIDGET_DELETED";
314 * Sent when the last AppWidget of this provider is removed from the last host.
321 public static final String ACTION_APPWIDGET_DISABLED = "android.appwidget.action.APPWIDGET_DISABLED";
324 * Sent when an instance of an AppWidget is added to a host for the first time.
333 public static final String ACTION_APPWIDGET_ENABLED = "android.appwidget.action.APPWIDGET_ENABLED";
336 * Sent to an {@link AppWidgetProvider} after AppWidget state related to that provider has
337 * been restored from backup. The intent contains information about how to translate AppWidget
365 = "android.appwidget.action.APPWIDGET_RESTORED";
368 * Sent to widget hosts after AppWidget state related to the host has been restored from
369 * backup. The intent contains information about how to translate AppWidget ids from the
402 = "android.appwidget.action.APPWIDGET_HOST_RESTORED";
420 public static final String META_DATA_APPWIDGET_PROVIDER = "android.appwidget.provider";
459 * This method will only work when called from the uid that owns the AppWidget provider.
465 * @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
488 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
511 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
536 * This method will only work when called from the uid that owns the AppWidget provider.
542 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
567 * This method will only work when called from the uid that owns the AppWidget provider.
573 * @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
602 * This method will only work when called from the uid that owns the AppWidget provider.
608 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
619 * Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.
624 * This method will only work when called from the uid that owns the AppWidget provider.
628 * for your AppWidget.
644 * Notifies the specified collection view in all the specified AppWidget instances
647 * @param appWidgetIds The AppWidget instances to notify of view data changes.
663 * Notifies the specified collection view in the specified AppWidget instance
666 * @param appWidgetId The AppWidget instance to notify of view data changes.
677 * Gets the AppWidget providers for the given user profile. User profile can only
698 * Return a list of the AppWidget providers that are currently installed.
709 * Gets the AppWidget providers for the current user.
728 * Gets the AppWidget providers for the given user profile. User profile can only
773 * Get the available info about the AppWidget.
799 * widgets always for your component. This method is used by the AppWidget picker and
802 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
803 AppWidget
804 * provider for this AppWidget.
818 * widgets always for your component. This method is used by the AppWidget picker and
821 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
822 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
823 * provider for this AppWidget.
824 * @param options Bundle containing options for the AppWidget. See also
844 * @param appWidgetId The AppWidget id under which to bind the provider.
845 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
846 * provider for this AppWidget.
847 * @return true if this component has permission to bind the AppWidget
864 * @param appWidgetId The AppWidget id under which to bind the provider.
865 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
866 * provider for this AppWidget.
867 * @param options Bundle containing options for the AppWidget. See also
870 * @return true if this component has permission to bind the AppWidget
889 * @param appWidgetId The AppWidget id under which to bind the provider.
892 * @param options An optional Bundle containing options for the AppWidget.
894 * @return true if this component has permission to bind the AppWidget
991 * {@link android.appwidget.AppWidgetManager#bindAppWidgetId AppWidgetManager.bindAppWidgetId()}.
994 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1017 * {@link android.appwidget.AppWidgetManager#bindAppWidgetId AppWidgetManager.bindAppWidgetId()}.
1020 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1038 * Get the list of appWidgetIds that have been bound to the given AppWidget
1042 * AppWidget provider to find appWidgetIds for.