Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DCellLayout.java449 Rect cellBoundsWithSpacing = new Rect(); in onDraw() local
464 cellBoundsWithSpacing.set(cellBounds); in onDraw()
465 cellBoundsWithSpacing.inset(-mBorderSpace.x / 2, -mBorderSpace.y / 2); in onDraw()
469 canvas.clipRect(cellBoundsWithSpacing); in onDraw()
909 Rect cellBoundsWithSpacing = mTempRect; in getReorderRadius() local
910 cellToRect(targetCell[0], targetCell[1], 1, 1, cellBoundsWithSpacing); in getReorderRadius()
911 cellBoundsWithSpacing.inset(-mBorderSpace.x / 2, -mBorderSpace.y / 2); in getReorderRadius()
916 int minRadius = centerPoint[0] - cellBoundsWithSpacing.left; in getReorderRadius()
917 minRadius = Math.min(minRadius, centerPoint[1] - cellBoundsWithSpacing.top); in getReorderRadius()
923 return (float) Math.hypot(cellBoundsWithSpacing.width() / 2f, in getReorderRadius()
[all …]