Home
last modified time | relevance | path

Searched refs:widgetPadding (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfo.java110 Rect widgetPadding = dp.widgetPadding; in initSpans() local
113 getSpanX(widgetPadding, minResizeWidth, dp.cellLayoutBorderSpacePx.x, in initSpans()
116 getSpanY(widgetPadding, minResizeHeight, dp.cellLayoutBorderSpacePx.y, in initSpans()
121 maxSpanX = Math.min(maxSpanX, getSpanX(widgetPadding, maxResizeWidth, in initSpans()
125 maxSpanY = Math.min(maxSpanY, getSpanY(widgetPadding, maxResizeHeight, in initSpans()
131 getSpanX(widgetPadding, minWidth, dp.cellLayoutBorderSpacePx.x, in initSpans()
134 getSpanY(widgetPadding, minHeight, dp.cellLayoutBorderSpacePx.y, in initSpans()
175 private int getSpanX(Rect widgetPadding, int widgetWidth, int cellSpacing, float cellWidth) { in getSpanX() argument
176 return getSpan(widgetPadding.left + widgetPadding.right, in getSpanX()
180 private int getSpanY(Rect widgetPadding, int widgetHeight, int cellSpacing, float cellHeight) { in getSpanY() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java136 appWidgetScale.x, appWidgetScale.y, mBorderSpace, profile.widgetPadding); in setupLp()
160 appWidgetScale.x, appWidgetScale.y, mBorderSpace, dp.widgetPadding); in measureChild()
DDeviceProfile.java299 public final Rect widgetPadding = new Rect(); field in DeviceProfile
1299 widgetPadding.left = widgetPadding.right =
1301 widgetPadding.top = widgetPadding.bottom =
1304 widgetPadding.setEmpty();
DWorkspace.java2950 Rect widgetPadding = profile.widgetPadding;
2951 r.left -= widgetPadding.left;
2952 r.right += widgetPadding.right;
2953 r.top -= widgetPadding.top;
2954 r.bottom += widgetPadding.bottom;
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/util/
DWidgetDragScaleUtilsTest.kt57 deviceProfile.widgetPadding.setEmpty() in setup()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetSizes.java64 Rect padding = profile.widgetPadding; in getWidgetSizePx()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java268 profile.widgetPadding.setEmpty(); in createIDP()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/util/
DWidgetsTableUtilsTest.java254 mTestDeviceProfile.widgetPadding.setEmpty(); in initDP()