Searched refs:getWidgetSizePx (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/ |
D | WidgetDragScaleUtils.java | 19 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx; 47 Size widgetSizesPx = getWidgetSizePx(deviceProfile, itemInfo.spanX, itemInfo.spanY); in getWidgetDragScalePx()
|
D | WidgetSizes.java | 51 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()
|
D | WidgetsTableUtils.java | 121 Size containerSizePx = WidgetSizes.getWidgetSizePx(dp, containerSize.spanX, in groupWidgetItemsUsingRowPxWithoutReordering()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/util/ |
D | WidgetDragScaleUtilsTest.kt | 69 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/ |
D | WidgetsRecommendationTableLayout.java | 20 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx; 154 float widgetItemHeight = getWidgetSizePx(deviceProfile, previewContainerSize.spanX, in selectRowsThatFitInAvailableHeight()
|
D | WidgetsListAdapter.java | 110 mMaxHorizontalSpan = WidgetSizes.getWidgetSizePx( in WidgetsListAdapter()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 19 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx; 124 Size widgetSizes = getWidgetSizePx(deviceProfile, mAddInfo.spanX, mAddInfo.spanY); in startDrag()
|
D | DatabaseWidgetPreviewLoader.java | 155 Size widgetSize = WidgetSizes.getWidgetSizePx(dp, spanX, spanY); in generateWidgetPreview()
|
D | WidgetCell.java | 305 mPreviewContainerSize = WidgetSizes.getWidgetSizePx(mActivity.getDeviceProfile(), in initPreviewContainerSizeAndScale()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 411 final Size origSize = WidgetSizes.getWidgetSizePx(mDpOrig, 413 final Size newSize = WidgetSizes.getWidgetSizePx(mDp, info.spanX, info.spanY);
|