Home
last modified time | relevance | path

Searched refs:getWidgetSizePx (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetDragScaleUtils.java19 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx;
47 Size widgetSizesPx = getWidgetSizePx(deviceProfile, itemInfo.spanX, itemInfo.spanY); in getWidgetDragScalePx()
DWidgetSizes.java51 Size widgetSizePx = getWidgetSizePx(profile, spanX, spanY); in getWidgetSizesDp()
59 public static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY) { in getWidgetSizePx() method in WidgetSizes
86 return getWidgetSizePx(profile, widgetItem.spanX, widgetItem.spanY); in getWidgetItemSizePx()
DWidgetsTableUtils.java121 Size containerSizePx = WidgetSizes.getWidgetSizePx(dp, containerSize.spanX, in groupWidgetItemsUsingRowPxWithoutReordering()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/util/
DWidgetDragScaleUtilsTest.kt69 val widgetSize = WidgetSizes.getWidgetSizePx(deviceProfile, itemInfo.spanX, itemInfo.spanY) in getWidgetDragScalePx_largeDraggedView_downScaled()
94 val widgetSize = WidgetSizes.getWidgetSizePx(deviceProfile, itemInfo.spanX, itemInfo.spanY) in getWidgetDragScalePx_draggedViewSameAsWidgetSize_downScaled()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecommendationTableLayout.java20 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx;
154 float widgetItemHeight = getWidgetSizePx(deviceProfile, previewContainerSize.spanX, in selectRowsThatFitInAvailableHeight()
DWidgetsListAdapter.java110 mMaxHorizontalSpan = WidgetSizes.getWidgetSizePx( in WidgetsListAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java19 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx;
124 Size widgetSizes = getWidgetSizePx(deviceProfile, mAddInfo.spanX, mAddInfo.spanY); in startDrag()
DDatabaseWidgetPreviewLoader.java155 Size widgetSize = WidgetSizes.getWidgetSizePx(dp, spanX, spanY); in generateWidgetPreview()
DWidgetCell.java305 mPreviewContainerSize = WidgetSizes.getWidgetSizePx(mActivity.getDeviceProfile(), in initPreviewContainerSizeAndScale()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java411 final Size origSize = WidgetSizes.getWidgetSizePx(mDpOrig,
413 final Size newSize = WidgetSizes.getWidgetSizePx(mDp, info.spanX, info.spanY);