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.java59 PendingAddWidgetInfo pendingInfo = in createWidgetInfo() local
62 pendingInfo.spanX = item.spanX; in createWidgetInfo()
63 pendingInfo.spanY = item.spanY; in createWidgetInfo()
64 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
65 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
66 Bundle options = pendingInfo.getDefaultSizeOptions(targetContext); in createWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java261 PendingAddWidgetInfo pendingInfo = in setupWidget() local
263 pendingInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget()
264 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
265 mWidgetOptions = pendingInfo.getDefaultSizeOptions(this); in setupWidget()
266 mWidgetCell.getWidgetView().setTag(pendingInfo); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2482 final PendingAddItemInfo pendingInfo = (PendingAddItemInfo) info;
2485 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
2528 mLauncher.addPendingItem(pendingInfo, container, screenId, mTargetCell,
2535 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
2536 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
2539 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2546 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2547 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {
DLauncher.java2425 PendingAddWidgetInfo pendingInfo = in inflateAppWidget() local
2427 pendingInfo.spanX = item.spanX; in inflateAppWidget()
2428 pendingInfo.spanY = item.spanY; in inflateAppWidget()
2429 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2430 pendingInfo.minSpanY = item.minSpanY; in inflateAppWidget()
2431 Bundle options = pendingInfo.getDefaultSizeOptions(this); in inflateAppWidget()