Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java36 private static final Rect sTmpRect = new Rect(); field in AppWidgetResizeFrame
257 getSnappedRectRelativeToDragLayer(sTmpRect); in visualizeResizeForDelta()
259 lp.width = sTmpRect.width() + sTmpRect.left - lp.x; in visualizeResizeForDelta()
262 lp.height = sTmpRect.height() + sTmpRect.top - lp.y; in visualizeResizeForDelta()
265 lp.x = sTmpRect.left; in visualizeResizeForDelta()
268 lp.y = sTmpRect.top; in visualizeResizeForDelta()
355 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect); in updateWidgetSizeRanges()
356 widgetView.updateAppWidgetSize(null, sTmpRect.left, sTmpRect.top, in updateWidgetSizeRanges()
357 sTmpRect.right, sTmpRect.bottom); in updateWidgetSizeRanges()
422 getSnappedRectRelativeToDragLayer(sTmpRect); in snapToWidget()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java62 private static final Rect sTmpRect = new Rect(); field in ClipIconView
197 sTmpRect.set(mFinalDrawableBounds); in update()
198 sTmpRect.offset(diffX, diffY); in update()
199 mForeground.setBounds(sTmpRect); in update()
214 sTmpRect.set(mFinalDrawableBounds); in setBackgroundDrawableBounds()
215 Utilities.scaleRectAboutCenter(sTmpRect, scale); in setBackgroundDrawableBounds()
218 sTmpRect.offsetTo((int) (mFinalDrawableBounds.left * scale), sTmpRect.top); in setBackgroundDrawableBounds()
220 sTmpRect.offsetTo(sTmpRect.left, (int) (mFinalDrawableBounds.top * scale)); in setBackgroundDrawableBounds()
222 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java52 private static final Rect sTmpRect = new Rect(); field in FolderAdaptiveIcon
94 icon.getPreviewBounds(sTmpRect); in createDrawableOnUiThread()
100 final int previewSize = sTmpRect.width(); in createDrawableOnUiThread()
103 final float previewShiftX = -sTmpRect.left + margin; in createDrawableOnUiThread()
104 final float previewShiftY = -sTmpRect.top + margin; in createDrawableOnUiThread()