Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java61 @Nullable private NavigableAppWidgetHostView mAppWidgetHostViewPreview; field in PendingItemDragHelper
84 mAppWidgetHostViewPreview = appWidgetHostViewPreview; in setAppWidgetHostViewPreview()
119 mAppWidgetHostViewPreview = new LauncherAppWidgetHostView(launcher); in startDrag()
120 mAppWidgetHostViewPreview.setAppWidget(/* appWidgetId= */ -1, in startDrag()
123 mAppWidgetHostViewPreview.updateAppWidget(/* remoteViews= */ mRemoteViewsPreview); in startDrag()
125 mAppWidgetHostViewPreview.measure( in startDrag()
128 mAppWidgetHostViewPreview.setClipChildren(false); in startDrag()
129 mAppWidgetHostViewPreview.setClipToPadding(false); in startDrag()
130 mAppWidgetHostViewPreview.setScaleToFit(mRemoteViewsPreviewScale); in startDrag()
132 if (mAppWidgetHostViewPreview != null) { in startDrag()
[all …]
DWidgetCell.java117 private NavigableAppWidgetHostView mAppWidgetHostViewPreview; field in WidgetCell
210 if (mAppWidgetHostViewPreview != null) { in clear()
211 mWidgetImageContainer.removeView(mAppWidgetHostViewPreview); in clear()
213 mAppWidgetHostViewPreview = null; in clear()
271 mAppWidgetHostViewPreview = createAppWidgetHostView(context); in applyFromCellItem()
272 setAppWidgetHostViewPreview(mAppWidgetHostViewPreview, item.widgetInfo, in applyFromCellItem()
276 mAppWidgetHostViewPreview = createAppWidgetHostView(context); in applyFromCellItem()
277 setAppWidgetHostViewPreview(mAppWidgetHostViewPreview, item.widgetInfo, in applyFromCellItem()
283 mAppWidgetHostViewPreview = isLauncherContext(context) in applyFromCellItem()
292 setAppWidgetHostViewPreview(mAppWidgetHostViewPreview, providerInfo, null); in applyFromCellItem()
[all …]