Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorMatrixTest.java87 float[] fArray = new float[] { in testSet1() local
94 mColorMatrix.set(fArray); in testSet1()
96 assertArrayEquals(fArray, ret, 0.0f); in testSet1()
104 float[] fArray = new float[] { in testSet2() local
111 mColorMatrix.set(new ColorMatrix(fArray)); in testSet2()
113 assertArrayEquals(fArray, ret, 0.0f); in testSet2()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java479 private static Allocation createFloat4Allocation(RenderScript rs, float[] fArray, in createFloat4Allocation() argument
481 if (fArray.length != width * height * 4) { in createFloat4Allocation()
482 throw new IllegalArgumentException("Invalid float array of length " + fArray.length + in createFloat4Allocation()
489 fAlloc.copyFrom(fArray); in createFloat4Allocation()