Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java237 int vSpanInc = 0; in resizeWidgetIfNeeded() local
248 vSpanInc = Math.round(vSpanIncF); in resizeWidgetIfNeeded()
251 if (!onDismiss && (hSpanInc == 0 && vSpanInc == 0)) return; in resizeWidgetIfNeeded()
281 cellYInc = Math.max(-cellY, vSpanInc); in resizeWidgetIfNeeded()
283 vSpanInc *= -1; in resizeWidgetIfNeeded()
284 vSpanInc = Math.min(cellY, vSpanInc); in resizeWidgetIfNeeded()
285 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
286 vSpanDelta = -vSpanInc; in resizeWidgetIfNeeded()
288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()
289 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java245 int vSpanInc = 0; in resizeWidgetIfNeeded() local
256 vSpanInc = Math.round(vSpanIncF); in resizeWidgetIfNeeded()
259 if (!onDismiss && (hSpanInc == 0 && vSpanInc == 0)) return; in resizeWidgetIfNeeded()
289 cellYInc = Math.max(-cellY, vSpanInc); in resizeWidgetIfNeeded()
291 vSpanInc *= -1; in resizeWidgetIfNeeded()
292 vSpanInc = Math.min(cellY, vSpanInc); in resizeWidgetIfNeeded()
293 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
294 vSpanDelta = -vSpanInc; in resizeWidgetIfNeeded()
296 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()
297 vSpanInc = Math.max(-(lp.cellVSpan - mMinVSpan), vSpanInc); in resizeWidgetIfNeeded()
[all …]