Searched refs:hSpanInc (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppWidgetResizeFrame.java | 236 int hSpanInc = 0; in resizeWidgetIfNeeded() local 245 hSpanInc = Math.round(hSpanIncF); in resizeWidgetIfNeeded() 251 if (!onDismiss && (hSpanInc == 0 && vSpanInc == 0)) return; in resizeWidgetIfNeeded() 267 cellXInc = Math.max(-cellX, hSpanInc); in resizeWidgetIfNeeded() 269 hSpanInc *= -1; in resizeWidgetIfNeeded() 270 hSpanInc = Math.min(cellX, hSpanInc); in resizeWidgetIfNeeded() 271 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded() 272 hSpanDelta = -hSpanInc; in resizeWidgetIfNeeded() 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); in resizeWidgetIfNeeded() 276 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 244 int hSpanInc = 0; in resizeWidgetIfNeeded() local 253 hSpanInc = Math.round(hSpanIncF); in resizeWidgetIfNeeded() 259 if (!onDismiss && (hSpanInc == 0 && vSpanInc == 0)) return; in resizeWidgetIfNeeded() 275 cellXInc = Math.max(-cellX, hSpanInc); in resizeWidgetIfNeeded() 277 hSpanInc *= -1; in resizeWidgetIfNeeded() 278 hSpanInc = Math.min(cellX, hSpanInc); in resizeWidgetIfNeeded() 279 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded() 280 hSpanDelta = -hSpanInc; in resizeWidgetIfNeeded() 283 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); in resizeWidgetIfNeeded() 284 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc); in resizeWidgetIfNeeded() [all …]
|