Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DWidgetUtils.java57 PendingAddWidgetInfo pendingInfo = in createWidgetInfo() local
60 pendingInfo.spanX = item.spanX; in createWidgetInfo()
61 pendingInfo.spanY = item.spanY; in createWidgetInfo()
62 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
63 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
64 Bundle options = pendingInfo.getDefaultSizeOptions(targetContext); in createWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetInflater.kt116 val pendingInfo = PendingAddWidgetInfo(appWidgetInfo, item.sourceContainer) in inflateAppWidget() constant
117 pendingInfo.spanX = item.spanX in inflateAppWidget()
118 pendingInfo.spanY = item.spanY in inflateAppWidget()
119 pendingInfo.minSpanX = item.minSpanX in inflateAppWidget()
120 pendingInfo.minSpanY = item.minSpanY in inflateAppWidget()
121 var options = pendingInfo.getDefaultSizeOptions(context) in inflateAppWidget()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java301 PendingAddWidgetInfo pendingInfo = in setupWidget() local
303 pendingInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget()
304 pendingInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget()
305 mWidgetOptions = pendingInfo.getDefaultSizeOptions(this); in setupWidget()
306 mWidgetCell.getWidgetView().setTag(pendingInfo); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2797 final PendingAddItemInfo pendingInfo = (PendingAddItemInfo) info;
2800 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) {
2843 mLauncher.addPendingItem(pendingInfo, container, screenId, mTargetCell,
2850 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
2851 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
2854 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2861 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2862 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {