Searched refs:positions (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 69 final float[] positions = new float[] { 0f, 1f }; in test2Colors() local 73 verifyColors(colors, positions, TOLERANCE); in test2Colors() 79 final float[] positions = new float[] { 0f, 0.3f, 1f }; in testColorArray() local 80 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); in testColorArray() 84 verifyColors(colors, positions, TOLERANCE); in testColorArray() 90 final float[] positions = new float[] { 0f, 0.25f, 0.5f, 1f }; in testMultiColor() local 92 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); in testMultiColor() 96 verifyColors(colors, positions, TOLERANCE); in testMultiColor() 99 private void verifyColors(int[] colors, float[] positions, int tolerance) { in verifyColors() argument 111 for (idx = 0; idx < positions.length; idx++) { in verifyColors() [all …]
|
D | CanvasDrawGlyphsTest.java | 59 private Bitmap drawGlyphsToBitmap(int[] glyphIds, int glyphIdOffset, float[] positions, in drawGlyphsToBitmap() argument 63 canvas.drawGlyphs(glyphIds, glyphIdOffset, positions, positionStart, glyphCount, in drawGlyphsToBitmap()
|
D | LinearGradientTest.java | 87 float[] positions = null; 89 LinearGradient lg = new LinearGradient(0, 0, 0, 40, colors, positions, TileMode.CLAMP);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 233 final float[] positions = new float[2 * numGlyphs]; in testMultiAtlasGlyphsWithColorSpace() local 237 positions[2 * i] = 0; in testMultiAtlasGlyphsWithColorSpace() 238 positions[2 * i + 1] = canvasSize; in testMultiAtlasGlyphsWithColorSpace() 270 canvas.drawGlyphs(glyphIds, 0, positions, 0, glyphIds.length, font, p); in testMultiAtlasGlyphsWithColorSpace()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 176 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable() argument 177 for (int pos : positions) { in setPositionsUnselectable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 299 float positions[] = new float[n * cn]; in asymmetricalCircleGrid() local 305 positions[(int) (i * size.width * cn + j + 0)] = in asymmetricalCircleGrid() 307 positions[(int) (i * size.width * cn + j + 1)] = in asymmetricalCircleGrid() 309 positions[(int) (i * size.width * cn + j + 2)] = 0; in asymmetricalCircleGrid() 313 grid.put(0, 0, positions); in asymmetricalCircleGrid()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyManagerTest.java | 2939 (carPropertyConfig, propertyId, areaId, timestampNanos, positions) -> { 2942 .that(positions.length)
|