Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java35 private static final Rect sTmpRect = new Rect(); field in AppWidgetResizeFrame
251 getSnappedRectRelativeToDragLayer(sTmpRect); in visualizeResizeForDelta()
253 lp.width = sTmpRect.width() + sTmpRect.left - lp.x; in visualizeResizeForDelta()
256 lp.height = sTmpRect.height() + sTmpRect.top - lp.y; in visualizeResizeForDelta()
259 lp.x = sTmpRect.left; in visualizeResizeForDelta()
262 lp.y = sTmpRect.top; in visualizeResizeForDelta()
349 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect); in updateWidgetSizeRanges()
350 widgetView.updateAppWidgetSize(null, sTmpRect.left, sTmpRect.top, in updateWidgetSizeRanges()
351 sTmpRect.right, sTmpRect.bottom); in updateWidgetSizeRanges()
424 getSnappedRectRelativeToDragLayer(sTmpRect); in snapToWidget()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java90 private static final Rect sTmpRect = new Rect(); field in FloatingIconView
273 sTmpRect.set(mFinalDrawableBounds); in update()
274 sTmpRect.offset(diffX, diffY); in update()
275 mForeground.setBounds(sTmpRect); in update()
494 ((FolderIcon) originalView).getPreviewBounds(sTmpRect); in setIcon()
498 sbd.setShiftX(sbd.getShiftX() - sTmpRect.left - bgStroke); in setIcon()
499 sbd.setShiftY(sbd.getShiftY() - sTmpRect.top - bgStroke); in setIcon()
503 sbd.setShiftX(sbd.getShiftX() - sTmpRect.left - bgStroke); in setIcon()
504 sbd.setShiftY(sbd.getShiftY() - sTmpRect.top - bgStroke); in setIcon()
591 sTmpRect.set(mFinalDrawableBounds); in setBackgroundDrawableBounds()
[all …]