Searched refs:histogramBucketCount (Results 1 - 4 of 4) sorted by relevance

/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_reduce.java220 private static final int histogramBucketCount = 256; field in class:UT_reduce
226 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
232 int[] outputArrayMistyped = new int[histogramBucketCount];
235 long[] outputArray = new long[histogramBucketCount];
236 for (int i = 0; i < histogramBucketCount; ++i)
245 _RS_ASSERT("javaRslt unexpected length: " + javaRslt.length, javaRslt.length == histogramBucketCount);
247 _RS_ASSERT("rsRslt unexpected length: " + rsRslt.length, rsRslt.length == histogramBucketCount);
249 for (int i = 0; i < histogramBucketCount; ++i) {
H A DUT_reduce_backward.java220 private static final int histogramBucketCount = 256; field in class:UT_reduce_backward
226 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
232 int[] outputArrayMistyped = new int[histogramBucketCount];
235 long[] outputArray = new long[histogramBucketCount];
236 for (int i = 0; i < histogramBucketCount; ++i)
245 _RS_ASSERT("javaRslt unexpected length: " + javaRslt.length, javaRslt.length == histogramBucketCount);
247 _RS_ASSERT("rsRslt unexpected length: " + rsRslt.length, rsRslt.length == histogramBucketCount);
249 for (int i = 0; i < histogramBucketCount; ++i) {
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_reduce_backward.java242 private static final int histogramBucketCount = 256; field in class:UT_reduce_backward
248 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
254 int[] outputArrayMistyped = new int[histogramBucketCount];
257 long[] outputArray = new long[histogramBucketCount];
258 for (int i = 0; i < histogramBucketCount; ++i)
267 _RS_ASSERT("javaRslt unexpected length: " + javaRslt.length, javaRslt.length == histogramBucketCount);
269 _RS_ASSERT("rsRslt unexpected length: " + rsRslt.length, rsRslt.length == histogramBucketCount);
271 for (int i = 0; i < histogramBucketCount; ++i) {
H A DUT_reduce.java829 private static final int histogramBucketCount = 256; field in class:UT_reduce
835 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
841 int[] outputArrayMistyped = new int[histogramBucketCount];
844 long[] outputArray = new long[histogramBucketCount];
845 for (int i = 0; i < histogramBucketCount; ++i)
859 assertEquals("javaResult length", histogramBucketCount, javaResult.length);
861 assertEquals("rsResult length", histogramBucketCount, rsResult.length);
872 assertEquals("javaResult length", histogramBucketCount, javaResult.length);
885 assertEquals("rsResult length", histogramBucketCount, rsResult.length);
909 assertEquals("javaResult length", histogramBucketCount, javaResul
[all...]

Completed in 104 milliseconds