Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRectShadowPainter.java92 final double RADIANS_STEP = 2 * Math.PI / 4 / QUADRANT_DIVIDED_COUNT; in generateRectangleCoordinates() local
99 ret[points][0] = (float) (left - radius + radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
100 ret[points][1] = (float) (bottom + radius - radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
106 ret[points][0] = (float) (left + radius - radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
107 ret[points][1] = (float) (top + radius - radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
113 ret[points][0] = (float) (right + radius - radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
114 ret[points][1] = (float) (top + radius + radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
120 ret[points][0] = (float) (right - radius + radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()
121 ret[points][1] = (float) (bottom - radius + radius * Math.cos(RADIANS_STEP * i)); in generateRectangleCoordinates()