Home
last modified time | relevance | path

Searched refs:sTempRect (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DShadowOverlayContainer.java78 private static final Rect sTempRect = new Rect(); field in ShadowOverlayContainer
316 sTempRect.left = (int) mWrappedView.getPivotX(); in onLayout()
317 sTempRect.top = (int) mWrappedView.getPivotY(); in onLayout()
318 offsetDescendantRectToMyCoords(mWrappedView, sTempRect); in onLayout()
319 setPivotX(sTempRect.left); in onLayout()
320 setPivotY(sTempRect.top); in onLayout()
DAbstractMediaItemPresenter.java87 final static Rect sTempRect = new Rect(); field in AbstractMediaItemPresenter
614 sTempRect.set(0, 0, focusChangedView.getWidth(), focusChangedView.getHeight()); in updateSelector()
615 rootView.offsetDescendantRectToMyCoords(focusChangedView, sTempRect); in updateSelector()
618 sTempRect.right += rootView.getHeight(); in updateSelector()
619 sTempRect.left -= rootView.getHeight() / 2; in updateSelector()
621 sTempRect.left -= rootView.getHeight(); in updateSelector()
622 sTempRect.right += rootView.getHeight() / 2; in updateSelector()
625 final int targetLeft = sTempRect.left; in updateSelector()
626 final int targetWidth = sTempRect.width(); in updateSelector()
DGridLayoutManager.java445 private static final Rect sTempRect = new Rect(); field in GridLayoutManager
1105 getDecoratedBoundsWithMargins(view, sTempRect); in getViewPrimarySize()
1106 return mOrientation == HORIZONTAL ? sTempRect.width() : sTempRect.height(); in getViewPrimarySize()
1251 calculateItemDecorationsForChild(view, sTempRect); in measureScrapChild()
1252 int widthUsed = p.leftMargin + p.rightMargin + sTempRect.left + sTempRect.right; in measureScrapChild()
1253 int heightUsed = p.topMargin + p.bottomMargin + sTempRect.top + sTempRect.bottom; in measureScrapChild()
1508 calculateItemDecorationsForChild(child, sTempRect); in measureChild()
1509 int widthUsed = lp.leftMargin + lp.rightMargin + sTempRect.left + sTempRect.right; in measureChild()
1510 int heightUsed = lp.topMargin + lp.bottomMargin + sTempRect.top + sTempRect.bottom; in measureChild()
1739 super.getDecoratedBoundsWithMargins(v, sTempRect); in layoutChild()
[all …]
/frameworks/base/core/java/android/text/
DLayout.java633 synchronized (sTempRect) { in getLineRangeForDraw()
634 if (!canvas.getClipBounds(sTempRect)) { in getLineRangeForDraw()
639 dtop = sTempRect.top; in getLineRangeForDraw()
640 dbottom = sTempRect.bottom; in getLineRangeForDraw()
2373 private static final Rect sTempRect = new Rect();