Home
last modified time | relevance | path

Searched refs:appWidgetManager (Results 1 – 15 of 15) 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.kt53 val appWidgetManager: AppWidgetManager = AppWidgetManager.getInstance(context) in onReceive() constant
55 context as Context, appWidgetManager, in onReceive()
56 appWidgetManager.getAppWidgetIds(getComponentName(context)), in onReceive()
89 appWidgetManager: AppWidgetManager, in onUpdate()
92 performUpdate(context, appWidgetManager, in onUpdate()
110 appWidgetManager: AppWidgetManager, in performUpdate()
141 appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, R.id.events_list) in performUpdate()
158 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/Launcher3/tests/src/com/android/launcher3/ui/widget/
DTaplBindWidgetTest.java167 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mTargetContext); in testPendingWidget_withConfigScreen() local
172 appWidgetManager.updateAppWidgetOptions(appWidgetId, b); in testPendingWidget_withConfigScreen()
173 appWidgetManager.updateAppWidget(appWidgetId, remoteViews); in testPendingWidget_withConfigScreen()
177 l -> appWidgetManager.getAppWidgetOptions(appWidgetId).getBoolean( in testPendingWidget_withConfigScreen()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.kt90 val appWidgetManager: AppWidgetManager = AppWidgetManager.getInstance(context) in getSearchWidgetStates() constant
91 val appWidgetIds: IntArray = appWidgetManager.getAppWidgetIds(myComponentName(context)) in getSearchWidgetStates()
/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/Launcher3/tests/src/com/android/launcher3/testcomponent/
DAppWidgetWithDialog.java31 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java274 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in verifyAndInsert() local
279 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, cn)) { in verifyAndInsert()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java100 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getSearchWidgetProviderInfo() local
102 appWidgetManager.getInstalledProvidersForPackage(providerPkg, null)) { in getSearchWidgetProviderInfo()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DAppLaunchSettings.java397 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in isClearDefaultsEnabled() local
399 appWidgetManager.hasBindAppWidgetPermission(mAppEntry.info.packageName); in isClearDefaultsEnabled()