Home
last modified time | relevance | path

Searched refs:appWidgetManager (Results 1 – 20 of 20) sorted by relevance

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java87 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
88 if (appWidgetManager != null) { in onReceive()
89 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(getComponentName(context)); in onReceive()
91 appWidgetManager. in onReceive()
100 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widget); in onReceive()
109 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
110 if (appWidgetManager != null) { in onReceive()
111 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(getComponentName(context)); in onReceive()
116 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widget); in onReceive()
121 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
[all …]
/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()
64 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
65 final int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in onReceive()
74 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetIds, getListId()); in onReceive()
90 private int getWidgetSize(AppWidgetManager appWidgetManager, in getWidgetSize() argument
97 final Bundle options = appWidgetManager.getAppWidgetOptions(appWidgetId); in getWidgetSize()
124 appWidgetManager.updateAppWidgetOptions(appWidgetId, options); in getWidgetSize()
127 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, getListId()); in getWidgetSize()
152 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged() argument
[all …]
DWidgetConversationProvider.java188 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in notifyConversationDeleted() local
189 for (final int appWidgetId : appWidgetManager.getAppWidgetIds(new ComponentName(context, in notifyConversationDeleted()
214 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in notifyConversationRenamed() local
215 for (final int appWidgetId : appWidgetManager.getAppWidgetIds(new ComponentName(context, in notifyConversationRenamed()
239 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
240 final int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in onReceive()
263 appWidgetManager.notifyAppWidgetViewDataChanged(widgetId, getListId()); in onReceive()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.java63 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
64 performUpdate(context, appWidgetManager, in onReceive()
65 appWidgetManager.getAppWidgetIds(getComponentName(context)), in onReceive()
94 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
146 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, R.id.events_list); in performUpdate()
164 appWidgetManager.updateAppWidget(appWidgetId, views); in performUpdate()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetProvider.java44 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
45 performUpdate(context, appWidgetManager, in onReceive()
46 appWidgetManager.getAppWidgetIds(getComponentName(context))); in onReceive()
82 AppWidgetManager appWidgetManager, int[] appWidgetIds) { in performUpdate() argument
95 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, R.id.bookmarks_list); in performUpdate()
100 appWidgetManager.updateAppWidget(appWidgetId, views); in performUpdate()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java804 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in convertWidgets() local
854 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, in convertWidgets()
859 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, in convertWidgets()
864 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, in convertWidgets()
1104 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in getProviderInPackage() local
1105 List<AppWidgetProviderInfo> providers = appWidgetManager.getInstalledProviders(); in getProviderInPackage()
1191 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in addAppWidget() local
1206 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, cn); in addAppWidget()
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java71 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in haltIfTestsAreNotAbleToRun() local
72 int [] conversationWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in haltIfTestsAreNotAbleToRun()
74 int [] conversationListWidgetIds = appWidgetManager.getAppWidgetIds(new in haltIfTestsAreNotAbleToRun()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetService.java525 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in onLoadComplete() local
558 appWidgetManager.updateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
571 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
582 appWidgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, in onLoadComplete()
588 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
DBaseWidgetProvider.java92 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getCurrentWidgetIds() local
94 return appWidgetManager.getAppWidgetIds(mailComponent); in getCurrentWidgetIds()
191 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
194 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DPhotoAppWidgetProvider.java54 AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
67 appWidgetManager.updateAppWidget(id, views); in onUpdate()
75 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
/packages/apps/Music/src/com/android/music/
DMediaAppWidgetProvider.java49 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
91 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in hasInstances() local
92 int[] appWidgetIds = appWidgetManager.getAppWidgetIds( in hasInstances()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetBind.java61 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this); in onCreate() local
72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views); in onCreate()
DPhotoAppWidgetConfigure.java87 AppWidgetManager appWidgetManager = in onActivityResult() local
89 appWidgetManager.updateAppWidget(new int[] {mAppWidgetId}, in onActivityResult()
DPhotoAppWidgetProvider.java45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, in onUpdate() argument
56 appWidgetManager.updateAppWidget(specificAppWidget, views); in onUpdate()
/packages/apps/Settings/src/com/android/settings/
DAppWidgetLoader.java45 public AppWidgetLoader(Context context, AppWidgetManager appWidgetManager, in AppWidgetLoader() argument
48 mAppWidgetManager = appWidgetManager; in AppWidgetLoader()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java76 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getSearchWidgetStates() local
77 int[] appWidgetIds = appWidgetManager.getAppWidgetIds(myComponentName(context)); in getSearchWidgetStates()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java510 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in parseAndAdd() local
515 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, cn)) { in parseAndAdd()
DUtilities.java545 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getSearchWidgetProvider() local
546 for (AppWidgetProviderInfo info : appWidgetManager.getInstalledProviders()) { in getSearchWidgetProvider()
DLauncherProvider.java975 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in initializeExternalAdd() local
983 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) { in initializeExternalAdd()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java661 public void onUpdate(Context context, AppWidgetManager appWidgetManager, in onUpdate() argument
667 appWidgetManager.updateAppWidget(appWidgetIds[i], view); in onUpdate()