Lines Matching defs:appWidgetId
68 public void updateAppWidget(int appWidgetId, RemoteViews views) {
72 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views);
76 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) {
81 appWidgetId, 0, info);
89 public void viewDataChanged(int appWidgetId, int viewId) {
91 appWidgetId, viewId);
188 * Get a appWidgetId for a host in the calling process.
190 * @return a appWidgetId
212 * @param appWidgetId The bound app widget whose provider's config activity to start.
221 int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) {
224 mContext.getOpPackageName(), appWidgetId, intentFlags);
261 public void deleteAppWidgetId(int appWidgetId) {
263 mViews.remove(appWidgetId);
265 sService.deleteAppWidgetId(mContext.getOpPackageName(), appWidgetId);
311 public final AppWidgetHostView createView(Context context, int appWidgetId,
313 AppWidgetHostView view = onCreateView(mContext, appWidgetId, appWidget);
315 view.setAppWidget(appWidgetId, appWidget);
317 mViews.put(appWidgetId, view);
321 views = sService.getAppWidgetViews(mContext.getOpPackageName(), appWidgetId);
334 protected AppWidgetHostView onCreateView(Context context, int appWidgetId,
342 protected void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) {
358 v = mViews.get(appWidgetId);
373 void updateAppWidgetView(int appWidgetId, RemoteViews views) {
376 v = mViews.get(appWidgetId);
383 void viewDataChanged(int appWidgetId, int viewId) {
386 v = mViews.get(appWidgetId);