Searched refs:sTmpRect (Results 1 – 3 of 3) sorted by relevance
64 private static final Rect sTmpRect = new Rect(); field in ClipIconView232 sTmpRect.set(mFinalDrawableBounds); in update()233 sTmpRect.offset(diffX, diffY); in update()234 mForeground.setBounds(sTmpRect); in update()251 sTmpRect.set(mFinalDrawableBounds); in setBackgroundDrawableBounds()252 Utilities.scaleRectAboutCenter(sTmpRect, scale); in setBackgroundDrawableBounds()255 sTmpRect.offsetTo((int) (mFinalDrawableBounds.left * scale), sTmpRect.top); in setBackgroundDrawableBounds()257 sTmpRect.offsetTo(sTmpRect.left, (int) (mFinalDrawableBounds.top * scale)); in setBackgroundDrawableBounds()259 mBackground.setBounds(sTmpRect); in setBackgroundDrawableBounds()
51 private static final Rect sTmpRect = new Rect(); field in AppWidgetResizeFrame348 getSnappedRectRelativeToDragLayer(sTmpRect); in visualizeResizeForDelta()350 lp.width = sTmpRect.width() + sTmpRect.left - lp.x; in visualizeResizeForDelta()353 lp.height = sTmpRect.height() + sTmpRect.top - lp.y; in visualizeResizeForDelta()356 lp.x = sTmpRect.left; in visualizeResizeForDelta()359 lp.y = sTmpRect.top; in visualizeResizeForDelta()495 getSnappedRectRelativeToDragLayer(sTmpRect); in snapToWidget()496 int newWidth = sTmpRect.width(); in snapToWidget()497 int newHeight = sTmpRect.height(); in snapToWidget()498 int newX = sTmpRect.left; in snapToWidget()[all …]
52 private static final Rect sTmpRect = new Rect(); field in FolderAdaptiveIcon94 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()