Searched defs:appWidgetId (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
73 this.onDeleted(context, new int[] { appWidgetId });
79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
82 appWidgetId, widgetExtras);
133 * @param appWidgetId The appWidgetId of the widget whose size changed.
134 * @param newOptions The appWidgetId of the widget whose size changed.
139 int appWidgetId, Bundle newOptions) {
138 onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) argument
H A DPendingHostUpdate.java32 final int appWidgetId; field in class:PendingHostUpdate
38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { argument
39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE);
44 public static PendingHostUpdate providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument
45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED);
50 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { argument
51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED);
56 private PendingHostUpdate(int appWidgetId, int type) { argument
57 this.appWidgetId = appWidgetId;
[all...]
H A DAppWidgetHost.java74 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument
82 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views);
86 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument
95 appWidgetId, 0, info);
107 public void viewDataChanged(int appWidgetId, int viewId) { argument
113 appWidgetId, viewId);
202 updateAppWidgetView(update.appWidgetId, update.views);
205 onProviderChanged(update.appWidgetId, update.widgetInfo);
208 viewDataChanged(update.appWidgetId, update.viewId);
227 * Get a appWidgetId fo
259 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument
294 deleteAppWidgetId(int appWidgetId) argument
344 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument
367 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument
375 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument
398 updateAppWidgetView(int appWidgetId, RemoteViews views) argument
408 viewDataChanged(int appWidgetId, int viewId) argument
[all...]
H A DAppWidgetManager.java66 * <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
528 updateAppWidgetOptions(int appWidgetId, Bundle options) argument
550 getAppWidgetOptions(int appWidgetId) argument
580 updateAppWidget(int appWidgetId, RemoteViews views) argument
646 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument
702 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument
843 getAppWidgetInfo(int appWidgetId) argument
871 bindAppWidgetId(int appWidgetId, ComponentName provider) argument
893 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument
913 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) argument
936 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, Bundle options) argument
960 bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user, ComponentName provider, Bundle options) argument
1061 bindRemoteViewsService(String packageName, int appWidgetId, Intent intent, IBinder connection) argument
1085 unbindRemoteViewsService(String packageName, int appWidgetId, Intent intent) argument
1128 bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, ComponentName provider, Bundle options) argument
[all...]
H A DAppWidgetHostView.java144 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument
145 mAppWidgetId = appWidgetId;
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java59 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) {
60 return new MyAppWidgetView(appWidgetId);
89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { argument
92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
94 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId);
102 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId);
109 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure);
112 addAppWidgetView(appWidgetId, appWidget);
115 mHost.deleteAppWidgetId(appWidgetId);
134 addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) argument
187 int appWidgetId; field in class:AppWidgetHostActivity.MyAppWidgetView
189 MyAppWidgetView(int appWidgetId) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java172 public synchronized void bind(Context context, int appWidgetId, Intent intent) { argument
178 mgr.bindRemoteViewsService(context.getOpPackageName(), appWidgetId,
192 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { argument
197 mgr.unbindRemoteViewsService(context.getOpPackageName(), appWidgetId, intent);
H A DRemoteViews.java91 * The intent extra that contains the appWidgetId.
2886 * @param appWidgetId The id of the app widget which contains the specified view. (This
2895 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java624 intent = PendingIntent.getActivity(mContext, widget.appWidgetId,
878 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId);
886 widget.appWidgetId = appWidgetId;
895 Slog.i(TAG, "Allocated widget id " + appWidgetId
899 return appWidgetId;
904 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { argument
919 Widget widget = lookupWidgetLocked(appWidgetId,
931 Slog.i(TAG, "Deleted widget id " + appWidgetId
991 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, argument
1042 bindAppWidgetId(String callingPackage, int appWidgetId, int providerProfileId, ComponentName providerComponent, Bundle options) argument
1208 bindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent, IBinder callbacks) argument
1285 unbindRemoteViewsService(String callingPackage, int appWidgetId, Intent intent) argument
1393 getAppWidgetInfo(String callingPackage, int appWidgetId) argument
1420 getAppWidgetViews(String callingPackage, int appWidgetId) argument
1447 updateAppWidgetOptions(String callingPackage, int appWidgetId, Bundle options) argument
1480 getAppWidgetOptions(String callingPackage, int appWidgetId) argument
1850 incrementAppWidgetServiceRefCount(int appWidgetId, Pair<Integer, FilterComparison> serviceId) argument
1939 handleNotifyAppWidgetViewDataChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, int viewId, long requestId) argument
2011 handleNotifyUpdateAppWidget(Host host, IAppWidgetHost callbacks, int appWidgetId, RemoteViews views, long requestId) argument
2048 handleNotifyProviderChanged(Host host, IAppWidgetHost callbacks, int appWidgetId, AppWidgetProviderInfo info, long requestId) argument
2135 lookupWidgetLocked(int appWidgetId, int uid, String packageName) argument
3904 getPendingUpdatesForId(int appWidgetId, LongSparseArray<PendingHostUpdate> outUpdates) argument
4006 int appWidgetId; field in class:AppWidgetServiceImpl.Widget
[all...]

Completed in 4669 milliseconds