Home
last modified time | relevance | path

Searched refs:mWidgetManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java62 private AppWidgetManager mWidgetManager = null; field in ProtipWidget
70 mWidgetManager = AppWidgetManager.getInstance(context); in setup()
71 mWidgetIds = mWidgetManager.getAppWidgetIds(new ComponentName(context, ProtipWidget.class)); in setup()
161 mWidgetManager.updateAppWidget(i, rv); in refresh()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java68 private final AppWidgetManagerCompat mWidgetManager; field in WidgetPreviewLoader
78 mWidgetManager = AppWidgetManagerCompat.getInstance(context); in WidgetPreviewLoader()
142 return new WidgetCacheKey(info.provider, mWidgetManager.getUser(info), size); in getObjectKey()
196 user = mWidgetManager.getUser(info); in removeObsoletePreviews()
326 drawable = mWidgetManager.loadPreview(info); in generateWidgetPreview()
413 Drawable icon = mWidgetManager.loadIcon(info, mIconCache); in generateWidgetPreview()
429 return mWidgetManager.getBadgeBitmap(info, preview, imageWidth, imageHeight); in generateWidgetPreview()