Lines Matching refs:widgetId
151 for (int widgetId : widgetIds) {
152 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId));
171 for (int widgetId : widgetIds) {
172 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId));
180 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager wm, int widgetId,
182 super.onAppWidgetOptionsChanged(context, wm, widgetId, options);
185 relayoutWidget(context, AppWidgetManager.getInstance(context), widgetId, options);
192 private static void relayoutWidget(Context context, AppWidgetManager wm, int widgetId,
194 final RemoteViews portrait = relayoutWidget(context, wm, widgetId, options, true);
195 final RemoteViews landscape = relayoutWidget(context, wm, widgetId, options, false);
197 wm.updateAppWidget(widgetId, widget);
198 wm.notifyAppWidgetViewDataChanged(widgetId, R.id.world_city_list);
204 private static RemoteViews relayoutWidget(Context context, AppWidgetManager wm, int widgetId,
211 if (Utils.isWidgetClickable(wm, widgetId)) {
233 options = wm.getAppWidgetOptions(widgetId);
271 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, widgetId);
277 if (Utils.isWidgetClickable(wm, widgetId)) {