Home
last modified time | relevance | path

Searched refs:appWidgetIds (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java44 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
45 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
47 for (int i = 0; i < appWidgetIds.length; ++i) { in onUpdate()
48 updateWidget(context, appWidgetIds[i]); in onUpdate()
65 final int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in onReceive() local
68 if (appWidgetIds.length > 0) { in onReceive()
72 getListId() + " first widgetId: " + appWidgetIds[0]); in onReceive()
74 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetIds, getListId()); in onReceive()
172 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
173 super.onDeleted(context, appWidgetIds); in onDeleted()
[all …]
DWidgetConversationProvider.java240 final int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in onReceive() local
243 if (appWidgetIds.length == 0) { in onReceive()
257 for (final int widgetId : appWidgetIds) { in onReceive()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetBind.java50 final int[] appWidgetIds = in onCreate() local
55 if (appWidgetIds == null || bitmaps == null in onCreate()
56 || appWidgetIds.length != bitmaps.size()) { in onCreate()
63 for (int i = 0; i < appWidgetIds.length; i++) { in onCreate()
65 int appWidgetId = appWidgetIds[i]; in onCreate()
DPhotoAppWidgetProvider.java46 int[] appWidgetIds) { in onUpdate() argument
49 for (int appWidgetId : appWidgetIds) { in onUpdate()
62 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
65 for (int appWidgetId : appWidgetIds) { in onDeleted()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DBaseWidgetProvider.java73 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
74 super.onDeleted(context, appWidgetIds); in onDeleted()
77 MailPrefs.get(context).clearWidgets(appWidgetIds); in onDeleted()
197 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
198 migrateLegacyWidgets(context, appWidgetIds); in onUpdate()
200 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
203 new BulkUpdateAsyncTask(context, appWidgetIds).execute((Void[]) null); in onUpdate()
210 public BulkUpdateAsyncTask(final Context context, final int[] appWidgetIds) { in BulkUpdateAsyncTask() argument
212 mAppWidgetIds = appWidgetIds; in BulkUpdateAsyncTask()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DPhotoAppWidgetProvider.java54 AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
63 for (int id : appWidgetIds) { in onUpdate()
75 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
131 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
134 for (int appWidgetId : appWidgetIds) { in onDeleted()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java77 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(myComponentName(context)); in getSearchWidgetStates() local
78 SearchWidgetState[] states = new SearchWidgetState[appWidgetIds.length]; in getSearchWidgetStates()
79 for (int i = 0; i<appWidgetIds.length; ++i) { in getSearchWidgetStates()
80 states[i] = getSearchWidgetState(context, appWidgetIds[i]); in getSearchWidgetStates()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.java94 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
95 performUpdate(context, appWidgetManager, appWidgetIds, null /* no eventIds */); in onUpdate()
120 AppWidgetManager appWidgetManager, int[] appWidgetIds, in performUpdate() argument
123 for (int appWidgetId : appWidgetIds) { in performUpdate()
/packages/apps/Email/provider_src/com/android/email/provider/
DWidgetProvider.java45 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted() argument
46 super.onDeleted(context, appWidgetIds); in onDeleted()
51 for (int widgetId : appWidgetIds) { in onDeleted()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java242 public void clearWidgets(int[] appWidgetIds) { in clearWidgets() argument
243 for (int id : appWidgetIds) { in clearWidgets()