Searched refs:isInsideCorner (Results 1 – 1 of 1) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RoundRectangle.java | 159 return isInsideCorner(x - insideTopX0, y - insideLeftY0, ulWidth / 2d, ulHeight / 2d); in contains() 166 return isInsideCorner(x - insideTopX1, y - insideRightY0, urWidth / 2d, urHeight / 2d); in contains() 173 return isInsideCorner(x - insideBottomX1, y - insideRightY1, lrWidth / 2d, in contains() 181 return isInsideCorner(x - insideBottomX0, y - insideLeftY1, llWidth / 2d, in contains() 189 private boolean isInsideCorner(double x, double y, double width, double height) { in isInsideCorner() method in RoundRectangle 251 return x > 0 || y > 0 || isInsideCorner(x, y, ulWidth / 2d, ulHeight / 2d); in intersects() 257 return x > 0 || y < 0 || isInsideCorner(x, y, llWidth / 2d, llHeight / 2d); in intersects() 263 return x < 0 || y > 0 || isInsideCorner(x, y, urWidth / 2d, urHeight / 2d); in intersects() 268 return x < 0 || y < 0 || isInsideCorner(x, y, lrWidth / 2d, lrHeight / 2d); in intersects()
|