Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java45 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
46 super.onUpdate(context, appWidgetManager, appWidgetIds); in onUpdate()
65 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in onReceive() local
66 final int[] appWidgetIds = appWidgetManager.getAppWidgetIds(new ComponentName(context, in onReceive()
75 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetIds, getListId()); in onReceive()
97 private int getWidgetSize(AppWidgetManager appWidgetManager, int appWidgetId) { in getWidgetSize() argument
103 final Bundle options = appWidgetManager.getAppWidgetOptions(appWidgetId); in getWidgetSize()
130 appWidgetManager.updateAppWidgetOptions(appWidgetId, options); in getWidgetSize()
133 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, getListId()); in getWidgetSize()
158 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/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.java96 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getSearchWidgetProviderInfo() local
98 appWidgetManager.getInstalledProvidersForPackage(providerPkg, null)) { in getSearchWidgetProviderInfo()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java301 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in verifyAndInsert() local
306 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, cn)) { in verifyAndInsert()
DLauncherProvider.java243 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(getContext()); in initializeExternalAdd() local
252 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) { in initializeExternalAdd()