Searched refs:isInsideCorner (Results 1 – 1 of 1) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | RoundRectangle.java | 146 return isInsideCorner(x - insideTopX0, y - insideLeftY0, ulWidth / 2d, ulHeight / 2d); in contains() 153 return isInsideCorner(x - insideTopX1, y - insideRightY0, urWidth / 2d, urHeight / 2d); in contains() 160 return isInsideCorner(x - insideBottomX1, y - insideRightY1, lrWidth / 2d, lrHeight / 2d); in contains() 167 return isInsideCorner(x - insideBottomX0, y - insideLeftY1, llWidth / 2d, llHeight / 2d); in contains() 174 private boolean isInsideCorner(double x, double y, double width, double height) { in isInsideCorner() method in RoundRectangle 240 return x > 0 || y > 0 || isInsideCorner(x, y, ulWidth / 2d, ulHeight / 2d); in intersects() 246 return x > 0 || y < 0 || isInsideCorner(x, y, llWidth / 2d, llHeight / 2d); in intersects() 252 return x < 0 || y > 0 || isInsideCorner(x, y, urWidth / 2d, urHeight / 2d); in intersects() 257 return x < 0 || y < 0 || isInsideCorner(x, y, lrWidth / 2d, lrHeight / 2d); in intersects()
|