Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java177 PendingAddItemInfo createItemInfo = (PendingAddItemInfo) v.getTag(); in beginDraggingWidget() local
190 if (createItemInfo instanceof PendingAddWidgetInfo) { in beginDraggingWidget()
194 PendingAddWidgetInfo createWidgetInfo = (PendingAddWidgetInfo) createItemInfo; in beginDraggingWidget()
220 createItemInfo.spanX = createItemInfo.spanY = 1; in beginDraggingWidget()
225 boolean clipAlpha = !(createItemInfo instanceof PendingAddWidgetInfo && in beginDraggingWidget()
226 (((PendingAddWidgetInfo) createItemInfo).previewImage == 0)); in beginDraggingWidget()
230 mLauncher.getWorkspace().onDragStartedWithItem(createItemInfo, preview, clipAlpha); in beginDraggingWidget()
231 mDragController.startDrag(image, preview, this, createItemInfo, in beginDraggingWidget()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java693 PendingAddItemInfo createItemInfo = (PendingAddItemInfo) v.getTag(); in beginDraggingWidget() local
708 if (createItemInfo instanceof PendingAddWidgetInfo) { in beginDraggingWidget()
716 createItemInfo = createWidgetInfo; in beginDraggingWidget()
717 int spanX = createItemInfo.spanX; in beginDraggingWidget()
718 int spanY = createItemInfo.spanY; in beginDraggingWidget()
760 createItemInfo.spanX = createItemInfo.spanY = 1; in beginDraggingWidget()
764 boolean clipAlpha = !(createItemInfo instanceof PendingAddWidgetInfo && in beginDraggingWidget()
765 (((PendingAddWidgetInfo) createItemInfo).info.previewImage == 0)); in beginDraggingWidget()
773 mLauncher.getWorkspace().onDragStartedWithItem(createItemInfo, outline, clipAlpha); in beginDraggingWidget()
774 mDragController.startDrag(image, preview, this, createItemInfo, in beginDraggingWidget()
[all …]