Home
last modified time | relevance | path

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

/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java108 final Rect firstRect = mTemp1; in compare() local
111 mAdapter.obtainBounds(first, firstRect); 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.java784 Rect firstRect = mRectByView.get(first);
787 int result = firstRect.top - secondRect.top;
789 return firstRect.bottom - secondRect.bottom;
799 Rect firstRect = mRectByView.get(first);
802 int result = firstRect.left - secondRect.left;
804 return firstRect.right - secondRect.right;
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java1661 final Rect firstRect = acquireTempRect(); in doViewsOverlap() local
1662 getChildRect(first, first.getParent() != this, firstRect); 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()
1669 releaseTempRect(firstRect); in doViewsOverlap()