Home
last modified time | relevance | path

Searched refs:secondRect (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java109 final Rect secondRect = mTemp2; in compare() local
112 mAdapter.obtainBounds(second, secondRect); in compare()
114 if (firstRect.top < secondRect.top) { in compare()
116 } else if (firstRect.top > secondRect.top) { in compare()
118 } else if (firstRect.left < secondRect.left) { in compare()
120 } else if (firstRect.left > secondRect.left) { in compare()
122 } else if (firstRect.bottom < secondRect.bottom) { in compare()
124 } else if (firstRect.bottom > secondRect.bottom) { in compare()
126 } else if (firstRect.right < secondRect.right) { in compare()
128 } else if (firstRect.right > secondRect.right) { in compare()
/frameworks/base/core/java/android/view/
DFocusFinder.java785 Rect secondRect = mRectByView.get(second);
787 int result = firstRect.top - secondRect.top;
789 return firstRect.bottom - secondRect.bottom;
800 Rect secondRect = mRectByView.get(second);
802 int result = firstRect.left - secondRect.left;
804 return firstRect.right - secondRect.right;
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java1663 final Rect secondRect = acquireTempRect(); in doViewsOverlap() local
1664 getChildRect(second, second.getParent() != this, secondRect); in doViewsOverlap()
1666 return !(firstRect.left > secondRect.right || firstRect.top > secondRect.bottom in doViewsOverlap()
1667 || firstRect.right < secondRect.left || firstRect.bottom < secondRect.top); in doViewsOverlap()
1670 releaseTempRect(secondRect); in doViewsOverlap()