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.java57 @Nullable private NavigableAppWidgetHostView mAppWidgetHostViewPreview; field in PendingItemDragHelper
78 mAppWidgetHostViewPreview = appWidgetHostViewPreview; in setAppWidgetHostViewPreview()
114 mAppWidgetHostViewPreview = new LauncherAppWidgetHostView(launcher); in startDrag()
115 mAppWidgetHostViewPreview.setAppWidget(/* appWidgetId= */ -1, in startDrag()
119 mAppWidgetHostViewPreview.getWidgetInset(deviceProfile, padding); in startDrag()
120 mAppWidgetHostViewPreview.setPadding(padding.left, padding.top, padding.right, in startDrag()
122 mAppWidgetHostViewPreview.updateAppWidget(/* remoteViews= */ mRemoteViewsPreview); in startDrag()
127 mAppWidgetHostViewPreview.measure( in startDrag()
131 if (mAppWidgetHostViewPreview != null) { in startDrag()
132 previewSizeBeforeScale[0] = mAppWidgetHostViewPreview.getMeasuredWidth(); in startDrag()
[all …]
DWidgetCell.java103 private NavigableAppWidgetHostView mAppWidgetHostViewPreview; field in WidgetCell
177 if (mAppWidgetHostViewPreview != null) { in clear()
178 mWidgetImageContainer.removeView(mAppWidgetHostViewPreview); in clear()
180 mAppWidgetHostViewPreview = null; in clear()
221 mAppWidgetHostViewPreview = createAppWidgetHostView(getContext()); in applyPreviewOnAppWidgetHostView()
222 setAppWidgetHostViewPreview(mAppWidgetHostViewPreview, item.widgetInfo, in applyPreviewOnAppWidgetHostView()
233 mAppWidgetHostViewPreview = isLauncherContext(context) in applyPreviewOnAppWidgetHostView()
242 setAppWidgetHostViewPreview(mAppWidgetHostViewPreview, in applyPreviewOnAppWidgetHostView()
271 return mAppWidgetHostViewPreview; in getAppWidgetHostViewPreview()
317 if (mAppWidgetHostViewPreview != null) { in applyPreview()
[all …]