Lines Matching defs:rect
545 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) {
547 int rectTopWithinChild = rect.top;
549 // offset so rect is in coordinates of the this view
550 rect.offset(child.getLeft(), child.getTop());
551 rect.offset(-child.getScrollX(), -child.getScrollY());
559 // leave room for top fading edge as long as rect isn't at very top
569 // leave room for bottom fading edge as long as rect isn't at very bottom
571 || (rect.bottom < (bottomOfBottomChild - fadingEdge))) {
578 if (rect.bottom > listUnfadedBottom && rect.top > listUnfadedTop) {
583 if (rect.height() > height) {
585 scrollYDelta += (rect.top - listUnfadedTop);
587 // get entire rect at bottom of screen
588 scrollYDelta += (rect.bottom - listUnfadedBottom);
594 } else if (rect.top < listUnfadedTop && rect.bottom < listUnfadedBottom) {
599 if (rect.height() > height) {
601 scrollYDelta -= (listUnfadedBottom - rect.bottom);
603 // entire rect at top
604 scrollYDelta -= (listUnfadedTop - rect.top);
2310 // do the math to get interesting rect in next focus' coordinates
3097 // fill a rect where the dividers would be for non-selectable items
3376 // focused rect