Home
last modified time | relevance | path

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

123

/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_alloc_copyPadded.java94 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() local
95 typeBuilder.setX(width); in testAllocation_Byte3_1D()
96 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D()
126 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() local
127 typeBuilder.setX(width).setY(height); in testAllocation_Byte3_2D()
128 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D()
159 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() local
160 typeBuilder.setX(w).setY(h).setZ(d); in testAllocation_Byte3_3D()
161 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D()
193 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() local
[all …]
DUT_alloc.java41 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
48 typeBuilder.setX(X); // Only build a 1-D version of this in initializeGlobals()
49 T = typeBuilder.create(); in initializeGlobals()
54 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
55 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
56 mTFaces = typeBuilder.create(); in initializeGlobals()
59 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
60 mTLOD = typeBuilder.create(); in initializeGlobals()
63 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
64 mTFacesLOD = typeBuilder.create(); in initializeGlobals()
DUT_alloc_supportlib.java41 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
48 typeBuilder.setX(X).setY(Y); in initializeGlobals()
49 T = typeBuilder.create(); in initializeGlobals()
54 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
55 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
56 mTFaces = typeBuilder.create(); in initializeGlobals()
59 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
60 mTLOD = typeBuilder.create(); in initializeGlobals()
63 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
64 mTFacesLOD = typeBuilder.create(); in initializeGlobals()
DUT_alloc_copy.java70 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in allocation_copy1DRangeTo_Byte() local
71 typeBuilder.setX(width); in allocation_copy1DRangeTo_Byte()
72 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte()
112 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in allocation_copy1DRangeTo_Short() local
113 typeBuilder.setX(width); in allocation_copy1DRangeTo_Short()
114 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short()
154 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in allocation_copy1DRangeTo_Int() local
155 typeBuilder.setX(width); in allocation_copy1DRangeTo_Int()
156 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int()
196 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in allocation_copy1DRangeTo_Float() local
[all …]
DUT_check_dims.java39 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS)); in initializeGlobals() local
40 typeBuilder.setX(1); in initializeGlobals()
41 mAFailed = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
51 typeBuilder.setX(X).setY(Y); in initializeGlobals()
52 mA = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel3d.java37 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
40 typeBuilder.setX(X); in initializeGlobals()
43 typeBuilder.setY(Y); in initializeGlobals()
46 typeBuilder.setZ(Z); in initializeGlobals()
48 T = typeBuilder.create(); in initializeGlobals()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() local
92 typeBuilder.setX(width); in testAllocation_Byte3_1D()
93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D()
123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() local
124 typeBuilder.setX(width).setY(height); in testAllocation_Byte3_2D()
125 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D()
156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() local
157 typeBuilder.setX(w).setY(h).setZ(d); in testAllocation_Byte3_3D()
158 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D()
190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() local
[all …]
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_alloc_copy.java66 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in allocation_copy1DRangeTo_Byte() local
67 typeBuilder.setX(width); in allocation_copy1DRangeTo_Byte()
68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte()
108 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in allocation_copy1DRangeTo_Short() local
109 typeBuilder.setX(width); in allocation_copy1DRangeTo_Short()
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short()
150 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in allocation_copy1DRangeTo_Int() local
151 typeBuilder.setX(width); in allocation_copy1DRangeTo_Int()
152 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int()
192 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in allocation_copy1DRangeTo_Float() local
[all …]
DUT_kernel.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
41 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_alloc_copyPadded.java92 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() local
93 typeBuilder.setX(width); in testAllocation_Byte3_1D()
94 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D()
124 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() local
125 typeBuilder.setX(width).setY(height); in testAllocation_Byte3_2D()
126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D()
157 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() local
158 typeBuilder.setX(w).setY(h).setZ(d); in testAllocation_Byte3_3D()
159 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D()
191 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() local
[all …]
DUT_alloc.java39 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
46 typeBuilder.setX(X); // Only build a 1-D version of this in initializeGlobals()
47 T = typeBuilder.create(); in initializeGlobals()
52 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
53 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
54 mTFaces = typeBuilder.create(); in initializeGlobals()
57 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
58 mTLOD = typeBuilder.create(); in initializeGlobals()
61 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
62 mTFacesLOD = typeBuilder.create(); in initializeGlobals()
DUT_alloc_copy.java68 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in allocation_copy1DRangeTo_Byte() local
69 typeBuilder.setX(width); in allocation_copy1DRangeTo_Byte()
70 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte()
110 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in allocation_copy1DRangeTo_Short() local
111 typeBuilder.setX(width); in allocation_copy1DRangeTo_Short()
112 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short()
152 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in allocation_copy1DRangeTo_Int() local
153 typeBuilder.setX(width); in allocation_copy1DRangeTo_Int()
154 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int()
194 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in allocation_copy1DRangeTo_Float() local
[all …]
DUT_check_dims.java37 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS)); in initializeGlobals() local
38 typeBuilder.setX(1); in initializeGlobals()
39 mAFailed = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
46 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
49 typeBuilder.setX(X).setY(Y); in initializeGlobals()
50 mA = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel3d.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
44 typeBuilder.setZ(Z); in initializeGlobals()
46 T = typeBuilder.create(); in initializeGlobals()
DUT_kernel.java36 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X); in initializeGlobals()
40 TA = typeBuilder.create(); in initializeGlobals()
43 TB = typeBuilder.create(); in initializeGlobals()
DUT_kernel2d_oldstyle.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
43 T = typeBuilder.create(); in initializeGlobals()
DUT_kernel2d.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
43 T = typeBuilder.create(); in initializeGlobals()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
DUT_alloc_supportlib.java39 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
46 typeBuilder.setX(X).setY(Y); in initializeGlobals()
47 T = typeBuilder.create(); in initializeGlobals()
52 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
53 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
54 mTFaces = typeBuilder.create(); in initializeGlobals()
57 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
58 mTLOD = typeBuilder.create(); in initializeGlobals()
61 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
62 mTFacesLOD = typeBuilder.create(); in initializeGlobals()
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
DUT_global_query.java35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in Test() local
36 typeBuilder.setX(width); in Test()
38 typeBuilder.setY(height); in Test()
40 typeBuilder.setZ(depth); in Test()
52 Allocation G = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
53 Allocation dummy = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
54 Allocation R = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
DUT_invert.java35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.F32_4(pRS)); in Test() local
36 typeBuilder.setX(width); in Test()
38 typeBuilder.setY(height); in Test()
40 typeBuilder.setZ(depth); in Test()
52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
DUT_multi_kernel.java35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.F32_4(pRS)); in Test() local
36 typeBuilder.setX(width); in Test()
38 typeBuilder.setY(height); in Test()
40 typeBuilder.setZ(depth); in Test()
52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create()); in Test()
DUT_modulo.java37 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
39 typeBuilder.setY(Y); in initializeGlobals()
41 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
42 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()

123