Home
last modified time | relevance | path

Searched refs:appWidgetManager (Results 1 – 16 of 16) 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()
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/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/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/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/UnifiedEmail/src/com/android/mail/widget/
DWidgetService.java545 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in onLoadComplete() local
578 appWidgetManager.updateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
591 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
602 appWidgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, in onLoadComplete()
608 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews); in onLoadComplete()
DBaseWidgetProvider.java96 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getCurrentWidgetIdsIfSupported() local
98 return appWidgetManager.getAppWidgetIds(mailComponent); in getCurrentWidgetIdsIfSupported()
197 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
200 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAppWidgetLoader.java45 public AppWidgetLoader(Context context, AppWidgetManager appWidgetManager, in AppWidgetLoader() argument
48 mAppWidgetManager = appWidgetManager; in AppWidgetLoader()
/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/qsb/
DQsbContainerView.java264 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(getContext()); in getSearchWidgetProvider() local
265 for (AppWidgetProviderInfo info : appWidgetManager.getInstalledProviders()) { in getSearchWidgetProvider()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java294 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in verifyAndInsert() local
299 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, cn)) { in verifyAndInsert()
DLauncherProvider.java245 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(getContext()); in initializeExternalAdd() local
254 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) { in initializeExternalAdd()