Lines Matching refs:mTempRect
77 private final Rect mTempRect = new Rect();
365 mTempRect.setEmpty();
938 mTempRect.top = getScrollY() + height;
942 if (mTempRect.top + height > view.getBottom()) {
943 mTempRect.top = view.getBottom() - height;
947 mTempRect.top = getScrollY() - height;
948 if (mTempRect.top < 0) {
949 mTempRect.top = 0;
952 mTempRect.bottom = mTempRect.top + height;
954 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
973 mTempRect.top = 0;
974 mTempRect.bottom = height;
980 mTempRect.bottom = view.getBottom() + mPaddingBottom;
981 mTempRect.top = mTempRect.bottom - height;
985 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1042 nextFocused.getDrawingRect(mTempRect);
1043 offsetDescendantRectToMyCoords(nextFocused, mTempRect);
1044 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect);
1096 descendant.getDrawingRect(mTempRect);
1097 offsetDescendantRectToMyCoords(descendant, mTempRect);
1099 return (mTempRect.bottom + delta) >= getScrollY()
1100 && (mTempRect.top - delta) <= (getScrollY() + height);
1281 child.getDrawingRect(mTempRect);
1284 offsetDescendantRectToMyCoords(child, mTempRect);
1286 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect);
1483 currentFocused.getDrawingRect(mTempRect);
1484 offsetDescendantRectToMyCoords(currentFocused, mTempRect);
1485 int scrollDelta = computeScrollDeltaToGetChildRectOnScreen(mTempRect);