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.java303 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(info); in createWidgetInfo() local
304 pendingInfo.spanX = item.spanX; in createWidgetInfo()
305 pendingInfo.spanY = item.spanY; in createWidgetInfo()
306 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
307 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
308 … Bundle options = WidgetHostViewLoader.getDefaultOptionsForWidget(mTargetContext, 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.java2453 final PendingAddItemInfo pendingInfo = (PendingAddItemInfo) info;
2456 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
2499 mLauncher.addPendingItem(pendingInfo, container, screenId, mTargetCell,
2503 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
2504 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
2507 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2515 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2516 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {
DLauncher.java2162 PendingAddWidgetInfo pendingInfo = new PendingAddWidgetInfo(appWidgetInfo); in inflateAppWidget() local
2163 pendingInfo.spanX = item.spanX; in inflateAppWidget()
2164 pendingInfo.spanY = item.spanY; in inflateAppWidget()
2165 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2166 pendingInfo.minSpanY = item.minSpanY; in inflateAppWidget()
2167 … Bundle options = WidgetHostViewLoader.getDefaultOptionsForWidget(this, pendingInfo); in inflateAppWidget()