Home
last modified time | relevance | path

Searched refs:xCount (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Drsallocationcopy.rscript10 int xCount = 0;
14 rsAllocationCopy1DRange(aOut1D, xOff, 0, xCount, aIn1D, xOff, 0);
18 rsAllocationCopy2DRange(aOut2D, xOff, yOff, 0, 0, xCount, yCount, aIn2D, xOff, yOff, 0, 0);
DRsAllocationCopyTest.java268 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Byte() local
288 s.set_xCount(xCount); in test_RsAllocationCopy2D_Byte()
299 xOff <= j && j < xOff + xCount) { in test_RsAllocationCopy2D_Byte()
322 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Short() local
344 s.set_xCount(xCount); in test_RsAllocationCopy2D_Short()
355 xOff <= j && j < xOff + xCount) { in test_RsAllocationCopy2D_Short()
378 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Int() local
400 s.set_xCount(xCount); in test_RsAllocationCopy2D_Int()
411 xOff <= j && j < xOff + xCount) { in test_RsAllocationCopy2D_Int()
434 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Float() local
[all …]
Doob.rscript22 int xCount = 0;
28 rsAllocationCopy1DRange(aOut1D, dstXOff, dstMip, xCount,
33 rsAllocationCopy2DRange(aOut2D, dstXOff, yOff, 0, 0, xCount, yCount,
DDebugContext.java232 int xCount = AC.RN.nextInt(AC.Width - xOff); in testDebugContextRsAllocationCopy2D_Short_Normal() local
238 Soob.set_xCount(xCount); in testDebugContextRsAllocationCopy2D_Short_Normal()
256 xOff <= j && j < xOff + xCount) { in testDebugContextRsAllocationCopy2D_Short_Normal()
406 int xCount = AC.RN.nextInt(AC.Width - xOff); in testDebugContextRsAllocationCopy2D_Short_BadYCount() local
411 Soob.set_xCount(xCount); // Legitimate X count in testDebugContextRsAllocationCopy2D_Short_BadYCount()
436 int xCount = random.nextInt(width - xOff); in testDebugContextRsAllocationCopy2D_Short_WrongD() local
454 Soob.set_xCount(xCount); // Legitimate X count in testDebugContextRsAllocationCopy2D_Short_WrongD()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp238 int xOffset, int yOffset, int xCount, int yCount, in helperCopy2D() argument
242 int copyCount = xCount * yCount; in helperCopy2D()
262 alloc->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, src); in helperCopy2D()
263 alloc->copy2DRangeTo(xOffset, yOffset, xCount, yCount, dst); in helperCopy2D()
279 int xOffset, int yOffset, int xCount, int yCount) { in helperFloatAllocationCopy2D() argument
288 for (int i = 0; i < xCount * yCount; i++) { in helperFloatAllocationCopy2D()
294 srcA->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, src); in helperFloatAllocationCopy2D()
296 dstA->copy2DRangeFrom(xOffset, yOffset, xCount, yCount, srcA, xOffset, yOffset); in helperFloatAllocationCopy2D()
297 dstA->copy2DRangeTo(xOffset, yOffset, xCount, yCount, dst); in helperFloatAllocationCopy2D()
299 for (int i = 0; i < xCount * yCount; i++) { in helperFloatAllocationCopy2D()
[all …]