Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java305 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(info); in createWidgetInfo() local
306 pendingInfo.spanX = item.spanX; in createWidgetInfo()
307 pendingInfo.spanY = item.spanY; in createWidgetInfo()
308 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
309 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
310 … Bundle options = WidgetHostViewLoader.getDefaultOptionsForWidget(mTargetContext, pendingInfo); in createWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java214 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(widgetInfo); in setupWidget() local
215 pendingInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget()
216 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
217 mWidgetOptions = WidgetHostViewLoader.getDefaultOptionsForWidget(this, pendingInfo); in setupWidget()
218 mWidgetCell.getWidgetView().setTag(pendingInfo); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2471 final PendingAddItemInfo pendingInfo = (PendingAddItemInfo) info;
2474 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
2517 mLauncher.addPendingItem(pendingInfo, container, screenId, mTargetCell,
2521 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
2522 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
2525 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2533 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2534 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {
DLauncher.java2199 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(appWidgetInfo); in inflateAppWidget() local
2200 pendingInfo.spanX = item.spanX; in inflateAppWidget()
2201 pendingInfo.spanY = item.spanY; in inflateAppWidget()
2202 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2203 pendingInfo.minSpanY = item.minSpanY; in inflateAppWidget()
2205 pendingInfo); in inflateAppWidget()