Home
last modified time | relevance | path

Searched refs:PendingAddWidgetInfo (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPendingAddItemInfo.java50 class PendingAddWidgetInfo extends PendingAddItemInfo { class
60 public PendingAddWidgetInfo(AppWidgetProviderInfo i, String dataMimeType, Parcelable data) { in PendingAddWidgetInfo() method in PendingAddWidgetInfo
71 public PendingAddWidgetInfo(PendingAddWidgetInfo copy) { in PendingAddWidgetInfo() method in PendingAddWidgetInfo
DAppsCustomizePagedView.java219 PendingAddWidgetInfo mCreateWidgetInfo = null;
562 Bundle getDefaultOptionsForWidget(Launcher launcher, PendingAddWidgetInfo info) { in getDefaultOptionsForWidget()
586 private void preloadWidget(final PendingAddWidgetInfo info) { in preloadWidget()
643 mCreateWidgetInfo = new PendingAddWidgetInfo((PendingAddWidgetInfo) v.getTag()); in onShortPress()
650 PendingAddWidgetInfo info = mCreateWidgetInfo; in cleanupWidgetPreloading()
708 if (createItemInfo instanceof PendingAddWidgetInfo) { in beginDraggingWidget()
715 PendingAddWidgetInfo createWidgetInfo = mCreateWidgetInfo; in beginDraggingWidget()
764 boolean clipAlpha = !(createItemInfo instanceof PendingAddWidgetInfo && in beginDraggingWidget()
765 (((PendingAddWidgetInfo) createItemInfo).info.previewImage == 0)); in beginDraggingWidget()
1195 createItemInfo = new PendingAddWidgetInfo(info, null, null); in syncWidgetPageItems()
DInstallWidgetReceiver.java189 final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType, in onClick()
DWorkspace.java1999 if (d.dragInfo instanceof PendingAddWidgetInfo) {
2000 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX;
2001 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY;
2751 d.dragInfo instanceof PendingAddWidgetInfo);
3084 mLauncher.addAppWidgetFromDrop((PendingAddWidgetInfo) pendingInfo,
3098 ? ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
3108 ((PendingAddWidgetInfo) pendingInfo).info.configure != null) {
DCellLayout.java3030 } else if (info instanceof PendingAddWidgetInfo) { in calculateSpans()
3031 minWidth = ((PendingAddWidgetInfo) info).info.minWidth; in calculateSpans()
3032 minHeight = ((PendingAddWidgetInfo) info).info.minHeight; in calculateSpans()
DLauncher.java1202 static int[] getSpanForWidget(Context context, PendingAddWidgetInfo info) { in getSpanForWidget()
1207 static int[] getMinSpanForWidget(Context context, PendingAddWidgetInfo info) { in getMinSpanForWidget()
1860 void addAppWidgetFromDrop(PendingAddWidgetInfo info, long container, int screen, in addAppWidgetFromDrop()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java145 if (status && v.getTag() instanceof PendingAddWidgetInfo) { in onLongClick()
190 if (createItemInfo instanceof PendingAddWidgetInfo) { in beginDraggingWidget()
194 PendingAddWidgetInfo createWidgetInfo = (PendingAddWidgetInfo) createItemInfo; in beginDraggingWidget()
225 boolean clipAlpha = !(createItemInfo instanceof PendingAddWidgetInfo && in beginDraggingWidget()
226 (((PendingAddWidgetInfo) createItemInfo).previewImage == 0)); in beginDraggingWidget()
DWidgetHostViewLoader.java34 @Thunk final PendingAddWidgetInfo mInfo;
45 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader()
153 public static Bundle getDefaultOptionsForWidget(Launcher launcher, PendingAddWidgetInfo info) { in getDefaultOptionsForWidget()
DPendingAddWidgetInfo.java33 public class PendingAddWidgetInfo extends PendingAddItemInfo { class
40 … public PendingAddWidgetInfo(Launcher launcher, LauncherAppWidgetProviderInfo i, Parcelable data) { in PendingAddWidgetInfo() method in PendingAddWidgetInfo
DWidgetsListAdapter.java144 PendingAddWidgetInfo pawi = new PendingAddWidgetInfo(mLauncher, info, null); in onBindViewHolder()
DWidgetCell.java224 if (getTag() instanceof PendingAddWidgetInfo || in getTagToString()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java78 import com.android.launcher3.widget.PendingAddWidgetInfo;
2534 if (d.dragInfo instanceof PendingAddWidgetInfo) { in acceptDrop()
2535 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX; in acceptDrop()
2536 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop()
3255 d.dragInfo instanceof PendingAddWidgetInfo);
3615 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
3623 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
3624 ((PendingAddWidgetInfo) pendingInfo).info.configure != null) {
DLauncher.java111 import com.android.launcher3.widget.PendingAddWidgetInfo;
2252 addAppWidgetFromDrop((PendingAddWidgetInfo) info, in addPendingItem()
2294 private void addAppWidgetFromDrop(PendingAddWidgetInfo info, long container, long screenId, in addAppWidgetFromDrop()
4052PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(this, appWidgetInfo, null); in bindAppWidget()