Lines Matching defs:appWidgetId

58      *     <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
69 * <td>The appWidgetId that you supplied in the original intent.</td>
77 * should delete the appWidgetId.
98 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
120 * <td>The appWidgetId that you supplied in the original intent.</td>
128 * should delete the appWidgetId.
146 * <td>The appWidgetId to configure.</td>
160 * An intent extra that contains one appWidgetId.
165 public static final String EXTRA_APPWIDGET_ID = "appWidgetId";
266 * A sentinel value that the AppWidget manager will never return as a appWidgetId.
300 * AppWidgetManager appWidgetManager, int appWidgetId, Bundle newExtras)
354 * its restored widget configuration and translate each appWidgetId in the
387 * its restored widget configuration and translate each appWidgetId in the
489 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
492 public void updateAppWidgetOptions(int appWidgetId, Bundle options) {
497 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options);
512 * @param appWidgetId The AppWidget instances for which to set the RemoteViews.
515 public Bundle getAppWidgetOptions(int appWidgetId) {
520 return mService.getAppWidgetOptions(mPackageName, appWidgetId);
528 * Set the RemoteViews to use for the specified appWidgetId.
543 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
546 public void updateAppWidget(int appWidgetId, RemoteViews views) {
550 updateAppWidget(new int[] { appWidgetId }, views);
589 * Perform an incremental update or command on the widget specified by appWidgetId.
609 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
612 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) {
616 partiallyUpdateAppWidget(new int[] { appWidgetId }, views);
667 * @param appWidgetId The AppWidget instance to notify of view data changes.
670 public void notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) {
674 notifyAppWidgetViewDataChanged(new int[] { appWidgetId }, viewId);
776 * @return A appWidgetId. If the appWidgetId has not been bound to a provider yet, or
777 * you don't have access to that appWidgetId, null is returned.
779 public AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId) {
784 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId);
797 * Set the component for a given appWidgetId.
803 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
808 public void bindAppWidgetId(int appWidgetId, ComponentName provider) {
812 bindAppWidgetId(appWidgetId, provider, null);
816 * Set the component for a given appWidgetId.
822 * @param appWidgetId The AppWidget instance for which to set the RemoteViews.
830 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) {
834 bindAppWidgetIdIfAllowed(appWidgetId, Process.myUserHandle(), provider, options);
838 * Set the component for a given appWidgetId.
845 * @param appWidgetId The AppWidget id under which to bind the provider.
850 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) {
854 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, null);
858 * Set the component for a given appWidgetId.
865 * @param appWidgetId The AppWidget id under which to bind the provider.
873 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider,
878 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, options);
882 * Set the provider for a given appWidgetId if the caller has a permission.
890 * @param appWidgetId The AppWidget id under which to bind the provider.
897 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user,
902 return bindAppWidgetIdIfAllowed(appWidgetId, user.getIdentifier(), provider, options);
989 * Binds the RemoteViewsService for a given appWidgetId and intent.
991 * The appWidgetId specified must already be bound to the calling AppWidgetHost via
995 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1001 public void bindRemoteViewsService(String packageName, int appWidgetId, Intent intent,
1007 mService.bindRemoteViewsService(packageName, appWidgetId, intent, connection);
1015 * Unbinds the RemoteViewsService for a given appWidgetId and intent.
1017 * The appWidgetId specified muse already be bound to the calling AppWidgetHost via
1021 * @param appWidgetId The AppWidget instance for which to bind the RemoteViewsService.
1026 public void unbindRemoteViewsService(String packageName, int appWidgetId, Intent intent) {
1031 mService.unbindRemoteViewsService(packageName, appWidgetId, intent);
1071 private boolean bindAppWidgetIdIfAllowed(int appWidgetId, int profileId,
1077 return mService.bindAppWidgetId(mPackageName, appWidgetId,