Home
last modified time | relevance | path

Searched refs:typeBuilder (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCopyPaddedTest.java34 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_1D() local
35 typeBuilder.setX(width); in test_AllocationPadded_Byte3_1D()
36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_1D()
63 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_2D() local
64 typeBuilder.setX(width).setY(height); in test_AllocationPadded_Byte3_2D()
65 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_2D()
93 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in test_AllocationPadded_Byte3_3D() local
94 typeBuilder.setX(w).setY(h).setZ(d); in test_AllocationPadded_Byte3_3D()
95 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_3D()
124 Type.Builder typeBuilder = new Type.Builder(mRS, element); in test_AllocationPadded_Short3_1D_Helper() local
[all …]
DTestCtxDim.java26 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test() local
29 typeBuilder.setX(X); in test()
32 typeBuilder.setY(Y); in test()
35 typeBuilder.setZ(Z); in test()
37 Allocation A = Allocation.createTyped(mRS, typeBuilder.create()); in test()
DRsAllocationCopyTest.java38 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_RsAllocationCopy1D_Byte() local
39 typeBuilder.setX(width); in test_RsAllocationCopy1D_Byte()
40 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte()
41 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Byte()
85 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in test_RsAllocationCopy1D_Short() local
86 typeBuilder.setX(width); in test_RsAllocationCopy1D_Short()
87 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short()
88 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_RsAllocationCopy1D_Short()
132 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_RsAllocationCopy1D_Int() local
133 typeBuilder.setX(width); in test_RsAllocationCopy1D_Int()
[all …]
DAllocationCopyToTest.java44 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in test_Allocationcopy1DRangeTo_Byte() local
45 typeBuilder.setX(width); in test_Allocationcopy1DRangeTo_Byte()
46 alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_Allocationcopy1DRangeTo_Byte()
81 Type.Builder typeBuilder = new Type.Builder(mRS, element); in test_Allocationcopy1DRangeTo_Short_Helper() local
82 typeBuilder.setX(width); in test_Allocationcopy1DRangeTo_Short_Helper()
83 alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_Allocationcopy1DRangeTo_Short_Helper()
129 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in test_Allocationcopy1DRangeTo_Int() local
130 typeBuilder.setX(width); in test_Allocationcopy1DRangeTo_Int()
131 alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_Allocationcopy1DRangeTo_Int()
166 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy1DRangeTo_Float() local
[all …]
DVoidPtr.java31 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupVoidPtr() local
32 Type t = typeBuilder.setX(1).create(); in setupVoidPtr()
66 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidOutInt() local
67 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutInt()
94 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidOutChar() local
95 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutChar()
123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidInInt() local
124 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInInt()
154 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidInChar() local
155 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInChar()
DAllocationCopy2DRangeTest.java43 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testAllocationCopy2DRange() local
44 typeBuilder.setX(width).setY(height); in testAllocationCopy2DRange()
45 mInAllocation = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocationCopy2DRange()
DAllocationTest.java36 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedHelper() local
45 typeBuilder.setMipmaps(useMips); in createTypedHelper()
46 typeBuilder.setFaces(useFaces); in createTypedHelper()
47 typeBuilder.setX(x).setY(y); in createTypedHelper()
48 Allocation.createTyped(mRS, typeBuilder.create()).destroy(); in createTypedHelper()
58 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedTextureHelper() local
59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper()
62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper()
66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
[all …]
DDebugContext.java50 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupDebugContext() local
51 Type t = typeBuilder.setX(1).create(); in setupDebugContext()
129 Type.Builder typeBuilder = TB.apply(mRS); in SetupAllocationCopyTests() local
132 typeBuilder.setX(Width); in SetupAllocationCopyTests()
134 typeBuilder.setX(Width).setY(Height); in SetupAllocationCopyTests()
136 aIn = Allocation.createTyped(mRS, typeBuilder.create()); in SetupAllocationCopyTests()
137 aOut = Allocation.createTyped(mRS, typeBuilder.create()); in SetupAllocationCopyTests()
DGlobalSync.java30 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupGlobalSync() local
31 Type t = typeBuilder.setX(1).create(); in setupGlobalSync()
DReduceTest.java194 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testAddInt2D() local
195 typeBuilder.setX(dimX).setY(dimY); in testAddInt2D()
196 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create()); in testAddInt2D()
395 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testFz2() local
396 typeBuilder.setX(dimX).setY(dimY); in testFz2()
397 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create()); in testFz2()
418 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testFz3() local
419 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in testFz3()
420 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create()); in testFz3()
DKernelTest.java524 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testMultipleForEach() local
530 typeBuilder.setX(X).setY(Y); in testMultipleForEach()
531 Allocation A = Allocation.createTyped(mRS, typeBuilder.create()); in testMultipleForEach()
548 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testNoRoot() local
554 typeBuilder.setX(X).setY(Y); in testNoRoot()
555 Allocation A = Allocation.createTyped(mRS, typeBuilder.create()); in testNoRoot()
DForEachTest.java524 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testMultipleForEach() local
530 typeBuilder.setX(X).setY(Y); in testMultipleForEach()
531 Allocation A = Allocation.createTyped(mRS, typeBuilder.create()); in testMultipleForEach()
548 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testNoRoot() local
554 typeBuilder.setX(X).setY(Y); in testNoRoot()
555 Allocation A = Allocation.createTyped(mRS, typeBuilder.create()); in testNoRoot()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp35 Type::Builder typeBuilder(rs, e); in createTypedHelper() local
44 typeBuilder.setMipmaps(useMips); in createTypedHelper()
45 typeBuilder.setFaces(useFaces); in createTypedHelper()
46 typeBuilder.setX(x); in createTypedHelper()
47 typeBuilder.setY(y); in createTypedHelper()
48 Allocation::createTyped(rs, typeBuilder.create()); in createTypedHelper()
341 Type::Builder typeBuilder(rs, makeElement(rs, dt, 3)); in helperCopy3D() local
342 typeBuilder.setX(xElems); in helperCopy3D()
343 typeBuilder.setY(yElems); in helperCopy3D()
344 typeBuilder.setZ(zElems); in helperCopy3D()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java234 Type.Builder typeBuilder = typeBuilder(element, size); in AllocationInfo() local
237 typeBuilder.setYuvFormat(ImageFormat.YUV_420_888); in AllocationInfo()
240 mType = typeBuilder.create(); in AllocationInfo()
434 private static Type.Builder typeBuilder(Element element, Size size) { in typeBuilder() method in AllocationInfo