Searched defs:sTempRect (Results 1 - 4 of 4) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DShadowOverlayContainer.java79 private static final Rect sTempRect = new Rect(); field in class:ShadowOverlayContainer
317 sTempRect.left = (int) mWrappedView.getPivotX();
318 sTempRect.top = (int) mWrappedView.getPivotY();
319 offsetDescendantRectToMyCoords(mWrappedView, sTempRect);
320 setPivotX(sTempRect.left);
321 setPivotY(sTempRect.top);
H A DAbstractMediaItemPresenter.java88 final static Rect sTempRect = new Rect(); field in class:AbstractMediaItemPresenter
615 sTempRect.set(0, 0, focusChangedView.getWidth(), focusChangedView.getHeight());
616 rootView.offsetDescendantRectToMyCoords(focusChangedView, sTempRect);
619 sTempRect.right += rootView.getHeight();
620 sTempRect.left -= rootView.getHeight() / 2;
622 sTempRect.left -= rootView.getHeight();
623 sTempRect.right += rootView.getHeight() / 2;
626 final int targetLeft = sTempRect.left;
627 final int targetWidth = sTempRect.width();
H A DGridLayoutManager.java456 private static final Rect sTempRect = new Rect(); field in class:GridLayoutManager
1144 getDecoratedBoundsWithMargins(view, sTempRect);
1145 return mOrientation == HORIZONTAL ? sTempRect.width() : sTempRect.height();
1290 calculateItemDecorationsForChild(view, sTempRect);
1291 int widthUsed = p.leftMargin + p.rightMargin + sTempRect.left + sTempRect.right;
1292 int heightUsed = p.topMargin + p.bottomMargin + sTempRect.top + sTempRect.bottom;
1548 calculateItemDecorationsForChild(child, sTempRect);
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java662 synchronized (sTempRect) {
663 if (!canvas.getClipBounds(sTempRect)) {
668 dtop = sTempRect.top;
669 dbottom = sTempRect.bottom;
2430 private static final Rect sTempRect = new Rect(); field in class:Layout

Completed in 123 milliseconds