/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetProvider.java | 45 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 …]
|
D | WidgetConversationProvider.java | 188 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/ |
D | CalendarAppWidgetProvider.kt | 53 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/ |
D | TestUtil.java | 71 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/ |
D | PhotoAppWidgetProvider.java | 54 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/ |
D | PhotoAppWidgetBind.java | 61 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this); in onCreate() local 72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views); in onCreate()
|
D | PhotoAppWidgetConfigure.java | 87 AppWidgetManager appWidgetManager = in onActivityResult() local 89 appWidgetManager.updateAppWidget(new int[] {mAppWidgetId}, in onActivityResult()
|
D | PhotoAppWidgetProvider.java | 45 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/ |
D | TaplBindWidgetTest.java | 167 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/ |
D | SearchWidgetProvider.kt | 90 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/ |
D | AppWidgetLoader.java | 45 public AppWidgetLoader(Context context, AppWidgetManager appWidgetManager, in AppWidgetLoader() argument 48 mAppWidgetManager = appWidgetManager; in AppWidgetLoader()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | AppWidgetWithDialog.java | 31 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DefaultLayoutParser.java | 274 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/ |
D | QsbContainerView.java | 100 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); in getSearchWidgetProviderInfo() local 102 appWidgetManager.getInstalledProvidersForPackage(providerPkg, null)) { in getSearchWidgetProviderInfo()
|
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/ |
D | AppLaunchSettings.java | 397 final AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext); in isClearDefaultsEnabled() local 399 appWidgetManager.hasBindAppWidgetPermission(mAppEntry.info.packageName); in isClearDefaultsEnabled()
|