Lines Matching defs:appWidgetId

66      *     <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
77 * <td>The appWidgetId that you supplied in the original intent.</td>
85 * should delete the appWidgetId.
108 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
130 * <td>The appWidgetId that you supplied in the original intent.</td>
138 * should delete the appWidgetId.
157 * <td>The appWidgetId to configure.</td>
172 * An intent extra that contains one appWidgetId.
177 public static final String EXTRA_APPWIDGET_ID = "appWidgetId";
278 * A sentinel value that the AppWidget manager will never return as a appWidgetId.
314 * AppWidgetManager appWidgetManager, int appWidgetId, Bundle newExtras)
376 * its restored widget configuration and translate each appWidgetId in the
411 * its restored widget configuration and translate each appWidgetId in the
525 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
528 public void updateAppWidgetOptions(int appWidgetId, Bundle options) {
533 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options);
547 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
550 public Bundle getAppWidgetOptions(int appWidgetId) {
555 return mService.getAppWidgetOptions(mPackageName, appWidgetId);
562 * Set the RemoteViews to use for the specified appWidgetId.
577 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
580 public void updateAppWidget(int appWidgetId, RemoteViews views) {
584 updateAppWidget(new int[] { appWidgetId }, views);
623 * Perform an incremental update or command on the widget specified by appWidgetId.
643 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
646 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) {
650 partiallyUpdateAppWidget(new int[] { appWidgetId }, views);
699 * @param appWidgetId The AppWidget instance to notify of view data changes.
702 public void notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) {
706 notifyAppWidgetViewDataChanged(new int[] { appWidgetId }, viewId);
840 * @return A appWidgetId. If the appWidgetId has not been bound to a provider yet, or
841 * you don't have access to that appWidgetId, null is returned.
843 public AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId) {
848 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId);
860 * Set the component for a given appWidgetId.
866 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
871 public void bindAppWidgetId(int appWidgetId, ComponentName provider) {
875 bindAppWidgetId(appWidgetId, provider, null);
879 * Set the component for a given appWidgetId.
885 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
893 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) {
897 bindAppWidgetIdIfAllowed(appWidgetId, Process.myUserHandle(), provider, options);
901 * Set the component for a given appWidgetId.
908 * @param appWidgetId The AppWidget id under which to bind the provider.
913 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) {
917 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, null);
921 * Set the component for a given appWidgetId.
928 * @param appWidgetId The AppWidget id under which to bind the provider.
936 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider,
941 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, options);
945 * Set the provider for a given appWidgetId if the caller has a permission.
953 * @param appWidgetId The AppWidget id under which to bind the provider.
960 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user,
965 return bindAppWidgetIdIfAllowed(appWidgetId, user.getIdentifier(), provider, options);
1049 * Binds the RemoteViewsService for a given appWidgetId and intent.
1051 * The appWidgetId specified must already be bound to the calling AppWidgetHost via
1055 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1061 public void bindRemoteViewsService(String packageName, int appWidgetId, Intent intent,
1067 mService.bindRemoteViewsService(packageName, appWidgetId, intent, connection);
1074 * Unbinds the RemoteViewsService for a given appWidgetId and intent.
1076 * The appWidgetId specified muse already be bound to the calling AppWidgetHost via
1080 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1085 public void unbindRemoteViewsService(String packageName, int appWidgetId, Intent intent) {
1090 mService.unbindRemoteViewsService(packageName, appWidgetId, intent);
1128 private boolean bindAppWidgetIdIfAllowed(int appWidgetId, int profileId,
1134 return mService.bindAppWidgetId(mPackageName, appWidgetId,