Home
last modified time | relevance | path

Searched refs:pendingInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/tests/src_common/com/android/launcher3/common/
DWidgetUtils.java60 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(info); in createWidgetInfo() local
61 pendingInfo.spanX = item.spanX; in createWidgetInfo()
62 pendingInfo.spanY = item.spanY; in createWidgetInfo()
63 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
64 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
65 Bundle options = getDefaultOptionsForWidget(targetContext, pendingInfo); in createWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java213 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(widgetInfo); in setupWidget() local
214 pendingInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget()
215 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
216 mWidgetOptions = WidgetHostViewLoader.getDefaultOptionsForWidget(this, pendingInfo); in setupWidget()
217 mWidgetCell.getWidgetView().setTag(pendingInfo); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2414 final PendingAddItemInfo pendingInfo = (PendingAddItemInfo) info;
2417 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
2460 mLauncher.addPendingItem(pendingInfo, container, screenId, mTargetCell,
2467 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
2468 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
2471 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2479 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2480 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {
DLauncher.java2241 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(appWidgetInfo); in inflateAppWidget() local
2242 pendingInfo.spanX = item.spanX; in inflateAppWidget()
2243 pendingInfo.spanY = item.spanY; in inflateAppWidget()
2244 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2245 pendingInfo.minSpanY = item.minSpanY; in inflateAppWidget()
2247 pendingInfo); in inflateAppWidget()