Searched refs:rays (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowVertexCalculator.java | 60 Rays rays = new Rays(mConfig.getRays()); in generateVertex() local 61 int raysLength = rays.dx.length; in generateVertex() 67 float dx = rays.dx[i]; in generateVertex() 68 float dy = rays.dy[i]; in generateVertex() 85 float dx = rays.dx[i]; in generateVertex() 86 float dy = rays.dy[i]; in generateVertex() 150 public Rays(int rays) { in Rays() argument 151 dx = new float[rays]; in Rays() 152 dy = new float[rays]; in Rays() 153 deltaAngle = 2 * Math.PI / rays; in Rays() [all …]
|
D | SpotShadowVertexCalculator.java | 56 public static int getStripSize(int rays, int layers){ in getStripSize() argument 57 return (2 + rays + ((layers) * 2 * (rays + 1))); in getStripSize() 83 int rays, in calculateShadow() argument 156 Math3DHelper.donutPie2(penumbra, penumbraLength, umbra, umbraLength, rays, in calculateShadow()
|
D | AmbientShadowConfig.java | 126 public Builder setRays(int rays) { in setRays() argument 127 mRays = rays; in setRays()
|
/frameworks/layoutlib/bridge/src/android/view/math/ |
D | Math3DHelper.java | 448 float[] umbra, int umbraLength, int rays, int layers, float strength, in donutPie2() argument 452 double step = Math.PI * 2 / rays; in donutPie2() 458 float[] t1 = new float[rays]; in donutPie2() 459 float[] t2 = new float[rays]; in donutPie2() 461 for (int i = 0; i < rays; i++) { in donutPie2() 472 for (int i = 0; i < rays; i++) { in donutPie2() 505 for (int k = 0; k < rays; k++) { in donutPie2() 509 i = rays - i - 1; in donutPie2()
|