Searched refs:viewBottom (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupGetChildLocalHitRegionTest.java | 108 View viewBottom = activity.findViewById(R.id.view_overlap_bottom); in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView() 112 float x = viewBottom.getWidth() - 1; in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView() 113 float y = viewBottom.getHeight() - 1; in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView() 114 injectMotionEvent(viewBottom, x, y, isHover); in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView() 212 View viewBottom = activity.findViewById(viewIdBottom); in assertGetChildLocalHitRegion() 217 Region actualRegion = new Region(0, 0, viewBottom.getWidth(), viewBottom.getHeight()); in assertGetChildLocalHitRegion() 218 boolean actualNotEmpty = viewBottom.getParent() in assertGetChildLocalHitRegion() 219 .getChildLocalHitRegion(viewBottom, actualRegion, actualMatrix, isHover); in assertGetChildLocalHitRegion() 222 viewBottom.getLocationInWindow(windowLocation); in assertGetChildLocalHitRegion() 226 Region expectRegion = new Region(0, 0, viewBottom.getWidth(), viewBottom.getHeight()); in assertGetChildLocalHitRegion() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/ |
D | SwipeChipbarAwayGestureHandler.kt | 50 val viewBottom = view.boundsOnScreen.bottom in startOfGestureIsWithinBounds() constant 52 return ev.y <= 1.5 * viewBottom in startOfGestureIsWithinBounds()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 1181 int viewBottom = view.getBottom(); in findFocusableViewInBounds() local 1183 if (top < viewBottom && viewTop < bottom) { in findFocusableViewInBounds() 1190 (viewBottom < bottom); in findFocusableViewInBounds() 1199 (!topFocus && viewBottom > focusCandidate in findFocusableViewInBounds()
|