Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rscript196 static void load3x3(uint x, uint y, rs_allocation buf, /*out*/float* outputArray) {
197 outputArray[0] = *((ushort *) rsGetElementAt(buf, x - 1, y - 1));
198 outputArray[1] = *((ushort *) rsGetElementAt(buf, x, y - 1));
199 outputArray[2] = *((ushort *) rsGetElementAt(buf, x + 1, y - 1));
200 outputArray[3] = *((ushort *) rsGetElementAt(buf, x - 1, y));
201 outputArray[4] = *((ushort *) rsGetElementAt(buf, x, y));
202 outputArray[5] = *((ushort *) rsGetElementAt(buf, x + 1, y));
203 outputArray[6] = *((ushort *) rsGetElementAt(buf, x - 1, y + 1));
204 outputArray[7] = *((ushort *) rsGetElementAt(buf, x, y + 1));
205 outputArray[8] = *((ushort *) rsGetElementAt(buf, x + 1, y + 1));
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java254 short[] outputArray = new short[2]; in findMinAndMaxHalf() local
255 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf()
256 return new Short2(outputArray[0], outputArray[1]); in findMinAndMaxHalf()
293 short[] outputArray = new short[4]; in findMinAndMaxHalf2() local
294 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf2()
298 return new Short2[] { new Short2(outputArray[0], outputArray[1]), in findMinAndMaxHalf2()
299 new Short2(outputArray[2], outputArray[3]) }; in findMinAndMaxHalf2()
448 long[] outputArray = new long[histogramBucketCount]; in histogram() local
450 outputArray[i] = outputArrayMistyped[i] & (long)0xffffffff; in histogram()
455 return outputArray; in histogram()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java304 JSONArray outputArray = testcaseEntry.getJSONArray("output"); in getHidVibratorTestData() local
306 for (int i = 0; i < outputArray.length(); i++) { in getHidVibratorTestData()
307 JSONObject item = outputArray.getJSONObject(i); in getHidVibratorTestData()
375 JSONArray outputArray = testcaseEntry.getJSONArray("ledsHidOutput"); in getHidLightTestData() local
377 for (int i = 0; i < outputArray.length(); i++) { in getHidLightTestData()
378 JSONObject item = outputArray.getJSONObject(i); in getHidLightTestData()