Home
last modified time | relevance | path

Searched refs:RSUtils (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSBaseCompute.java121 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes); in createRandomAllocation()
128 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes); in createRandomAllocation()
134 RSUtils.genRandomFloat16s(seed, min, max, inArray, includeExtremes); in createRandomAllocation()
138 RSUtils.genRandomLongs(seed, inArray, true, 63); in createRandomAllocation()
142 RSUtils.genRandomLongs(seed, inArray, false, 64); in createRandomAllocation()
146 RSUtils.genRandomInts(seed, inArray, true, 31); in createRandomAllocation()
150 RSUtils.genRandomInts(seed, inArray, false, 32); in createRandomAllocation()
154 RSUtils.genRandomShorts(seed, inArray, true, 15); in createRandomAllocation()
158 RSUtils.genRandomShorts(seed, inArray, false, 16); in createRandomAllocation()
162 RSUtils.genRandomBytes(seed, inArray, true, 7); in createRandomAllocation()
[all …]
DAllocationByteBufferTest.java54 RSUtils.genRandomBytes(RAND_SEED, data, true, 8); in testByteBufferHelper()
96 RSUtils.genRandomBytes(RAND_SEED, dataIn, true, 8); in test1DWrite()
117 RSUtils.genRandomBytes(RAND_SEED, dataIn, true, 8); in test2DWrite()
DRsPackColorTo8888Test.java80 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float3input()
110 RSUtils.genRandomFloats(seed, 0.0f, 1.0f, inArray, false); in float4input()
DSingleSourceForEachTest.java58 RSUtils.genRandomInts(0x900d5eed, testInputArray, true, 32); in setUp()
DAtomicTest.java49 RSUtils.genRandomInts(0, mSrcData, true, 32); in initS()
60 RSUtils.genRandomInts(0, mSrcData, false, 32); in initU()
DReduceTest.java34 … mScript.invoke_setInfsHalf(RSUtils.FLOAT16_NEGATIVE_INFINITY, RSUtils.FLOAT16_POSITIVE_INFINITY); in setUp()
143 RSUtils.genRandomFloat16s(seed, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, array, in createInputArrayHalf()
DRSUtils.java28 public class RSUtils { class
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java37 RSUtils.genRandom(0x251107, 255, 1, -128, baseAlloc); in testRSColorMatrix0()
77 RSUtils.genRandom(0x251106, 255, 1, -128, baseAlloc); in testRSColorMatrix1()
108 RSUtils.genRandom(0x251105, 255, 1, -128, baseAlloc); in testRSColorMatrix2()
143 RSUtils.genRandom(0x251104, 255, 1, -128, baseAlloc); in testRSColorMatrix3()
174 RSUtils.genRandom(0x251103, 255, 1, -128, baseAlloc); in testRSColorMatrix4()
DRS3DLUTTest.java39 RSUtils.genRandom(0x419144, 255, 1, -128, baseAlloc); in testRSLUT()
41 RSUtils.genRandom(0x555007, 255, 1, -128, colorCube); in testRSLUT()
DRSBlendTest.java38 RSUtils.genRandom(0x789321, 255, 1, -128, baseAlloc); in testRSBlend()
45 RSUtils.genRandom(0x359201, 255, 1, -128, baseAlloc2); in testRSBlend()
DRSBlurTest.java37 RSUtils.genRandom(0x1DEFF, 255, 1, -128, baseAlloc); in testRSBlurOneChannel()
66 RSUtils.genRandom(0xFAFADE10, 255, 1, -128, baseAlloc); in testRSBlurFourChannels()
DRSConvolveTest.java48 RSUtils.genRandom(0x1DEFFD0, 255, 1, -128, baseAlloc); in testConvolve3x3()
104 RSUtils.genRandom(0x1DEFFD0, 255, 1, -128, baseAlloc); in testConvolve5x5()
DRSLUTTest.java37 RSUtils.genRandom(0x72727272, 255, 1, -128, baseAlloc); in testRSLUT()
DRSUtils.java27 public class RSUtils { class
DRSResizeTest.java52 RSUtils.genRandom(0x72727272, 255, 1, -128, baseAlloc); in testResize()
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java28 public class RSUtils { class