Searched refs:inputArray (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ReduceTest.java | 193 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in testAddInt2D() local 197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testAddInt2D() 199 final int javaRslt = addint(inputArray); in testAddInt2D() 246 private Short2 findMinAndMaxHalf(final short[] inputArray) { in findMinAndMaxHalf() argument 247 … Allocation inputAllocation = Allocation.createSized(mRS, Element.F16(mRS), inputArray.length); in findMinAndMaxHalf() 248 inputAllocation.copyFrom(inputArray); in findMinAndMaxHalf() 259 private short[] findMinAndMaxHalfIntoArray(final short[] inputArray) { in findMinAndMaxHalfIntoArray() argument 260 final Short2 vectorResult = findMinAndMaxHalf(inputArray); in findMinAndMaxHalfIntoArray() 283 private Short2[] findMinAndMaxHalf2(final short[] inputArray) { in findMinAndMaxHalf2() argument 284 assertEquals(inputArray.length % 2, 0); in findMinAndMaxHalf2() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 672 static float[/*3*/] demosaic(int x, int y, int cfa, float[/*9*/] inputArray) { in demosaic() argument 685 pRGB[0] = inputArray[4]; in demosaic() 686 pRGB[1] = (inputArray[1] + inputArray[3] + inputArray[5] + inputArray[7]) / 4; in demosaic() 687 pRGB[2] = (inputArray[0] + inputArray[2] + inputArray[6] + inputArray[8]) / 4; in demosaic() 697 pRGB[0] = (inputArray[3] + inputArray[5]) / 2; in demosaic() 698 pRGB[1] = inputArray[4]; in demosaic() 699 pRGB[2] = (inputArray[1] + inputArray[7]) / 2; in demosaic() 709 pRGB[0] = (inputArray[1] + inputArray[7]) / 2; in demosaic() 710 pRGB[1] = inputArray[4]; in demosaic() 711 pRGB[2] = (inputArray[3] + inputArray[5]) / 2; in demosaic() [all …]
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | ParcelHelperTest.java | 76 String[] inputArray = mInitData; in testStringArrayAccess() local 80 p.writeStringArray(inputArray); in testStringArrayAccess() 87 assertThat(outputArray).isEqualTo(inputArray); in testStringArrayAccess()
|