Home
last modified time | relevance | path

Searched refs:widgetManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.java34 AppWidgetManager widgetManager = AppWidgetManager.getInstance(context); in getScaleRatio() local
35 if (widgetManager == null) { in getScaleRatio()
39 options = widgetManager.getAppWidgetOptions(id); in getScaleRatio()
72 AppWidgetManager widgetManager = AppWidgetManager.getInstance(context); in getHeightScaleRatio() local
73 if (widgetManager == null) { in getHeightScaleRatio()
77 options = widgetManager.getAppWidgetOptions(id); in getHeightScaleRatio()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java117 AppWidgetManager widgetManager = AppWidgetManager.getInstance(activity); in createQsb() local
128 AppWidgetProviderInfo widgetInfo = widgetManager.getAppWidgetInfo(widgetId); in createQsb()
140 isWidgetBound = widgetManager.bindAppWidgetIdIfAllowed( in createQsb()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java546 AppWidgetManager widgetManager = AppWidgetManager.getInstance(mContext);
548 int[] ids = widgetManager.getAppWidgetIds(CalendarAppWidgetProvider
551 widgetManager.notifyAppWidgetViewDataChanged(ids, R.id.events_list);
553 widgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.events_list);
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DWidgetsListAdapterTest.java133 AppWidgetManagerCompat widgetManager = AppWidgetManagerCompat.getInstance(mContext); in generateSampleMap() local
134 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(null)) { in generateSampleMap()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java63 AppWidgetManagerCompat widgetManager = AppWidgetManagerCompat.getInstance(context); in update() local
64 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(packageUser)) { in update()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java487 public static boolean isWidgetClickable(AppWidgetManager widgetManager, int widgetId) { in isWidgetClickable() argument
488 final Bundle wo = widgetManager.getAppWidgetOptions(widgetId); in isWidgetClickable()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java2156 AppWidgetManager widgetManager = (AppWidgetManager) context.getSystemService( in getSortedWidgetsAndShortcuts() local
2168 List<AppWidgetProviderInfo> providers = widgetManager in getSortedWidgetsAndShortcuts()