Searched defs:RS (Results 1 - 25 of 62) sorted by last modified time

123

/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_blur_validation.java31 private RenderScript RS; field in class:UT_blur_validation
41 RS.finish();
47 RS.destroy();
51 RS = RenderScript.create(mCtx);
56 input1D = Allocation.createSized(RS,
57 Element.U8(RS),
61 output1D = Allocation.createTyped(RS, input1D.getType());
63 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS));
68 input2D = Allocation.createTyped(RS, t
[all...]
H A DUT_element.java73 private void initializeGlobals(RenderScript RS, ScriptC_element s) { argument
74 simpleElem = Element.F32_3(RS);
75 complexElem = ScriptField_ComplexStruct.createElement(RS);
79 ScriptField_ComplexStruct data = new ScriptField_ComplexStruct(RS, 1);
92 private void testJavaSide(RenderScript RS) { argument
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach_bounds.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach_bounds s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel s) { argument
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
41 B = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel_struct.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel_struct s) { argument
38 t = new ScriptField_simpleStruct(RS, X);
41 t = new ScriptField_simpleStruct(RS, X);
H A DUT_noroot.java32 private void initializeGlobals(RenderScript RS, ScriptC_noroot s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_reduce.java96 private boolean addint1D(RenderScript RS, ScriptC_reduce s) { argument
105 private boolean addint2D(RenderScript RS, ScriptC_reduce s) { argument
109 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
142 private boolean findMinAndMax(RenderScript RS, ScriptC_reduce s) { argument
153 private boolean fz(RenderScript RS, ScriptC_reduce s) { argument
170 private boolean fz2(RenderScript RS, ScriptC_reduce s) { argument
178 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
195 fz3(RenderScript RS, ScriptC_reduce s) argument
222 histogram(RenderScript RS, final byte[] inputArray) argument
241 histogram(RenderScript RS, ScriptC_reduce s) argument
263 mode(RenderScript RS, final byte[] inputArray) argument
272 mode(RenderScript RS, ScriptC_reduce s) argument
[all...]
H A DUT_reduce_backward.java96 private boolean addint1D(RenderScript RS, ScriptC_reduce_backward s) { argument
105 private boolean addint2D(RenderScript RS, ScriptC_reduce_backward s) { argument
109 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create());
142 private boolean findMinAndMax(RenderScript RS, ScriptC_reduce_backward s) { argument
153 private boolean fz(RenderScript RS, ScriptC_reduce_backward s) { argument
170 private boolean fz2(RenderScript RS, ScriptC_reduce_backward s) { argument
178 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
195 fz3(RenderScript RS, ScriptC_reduce_backward s) argument
222 histogram(RenderScript RS, final byte[] inputArray) argument
241 histogram(RenderScript RS, ScriptC_reduce_backward s) argument
263 mode(RenderScript RS, final byte[] inputArray) argument
272 mode(RenderScript RS, ScriptC_reduce_backward s) argument
[all...]
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_sampler.java37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { argument
38 Sampler.Builder b = new Sampler.Builder(RS);
47 private void initializeGlobals(RenderScript RS, ScriptC_sampler s) { argument
48 Sampler.Builder b = getDefaultBuilder(RS);
52 b = getDefaultBuilder(RS);
56 b = getDefaultBuilder(RS);
60 b = getDefaultBuilder(RS);
64 b = getDefaultBuilder(RS);
84 private void testJavaSide(RenderScript RS) { argument
H A DUT_script_group2_gatherscatter.java40 public void initializeGlobals(RenderScript RS, ScriptC_addup s) { argument
H A DUT_single_source_alloc.java56 private void initializeGlobals(RenderScript RS, ScriptC_single_source_alloc s, int nDims) { argument
H A DUT_single_source_script.java32 private void initializeGlobals(RenderScript RS, ScriptC_single_source_script s) { argument
33 Type.Builder i32TypeBuilder = new Type.Builder(RS, Element.I32(RS));
39 testAllocation1 = Allocation.createTyped(RS, i32TypeBuilder.create());
40 testAllocation2 = Allocation.createTyped(RS, i32TypeBuilder.create());
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_alloc.java31 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
44 typeBuilder = new Type.Builder(RS, Element.I32(RS));
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_element.java73 private void initializeGlobals(RenderScript RS, ScriptC_element s) { argument
74 simpleElem = Element.F32_3(RS);
75 complexElem = ScriptField_ComplexStruct.createElement(RS);
79 ScriptField_ComplexStruct data = new ScriptField_ComplexStruct(RS, 1);
92 private void testJavaSide(RenderScript RS) { argument
H A DUT_foreach.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_foreach_bounds.java32 private void initializeGlobals(RenderScript RS, ScriptC_foreach_bounds s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel s) { argument
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
41 B = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_kernel_struct.java34 private void initializeGlobals(RenderScript RS, ScriptC_kernel_struct s) { argument
38 t = new ScriptField_simpleStruct(RS, X);
41 t = new ScriptField_simpleStruct(RS, X);
H A DUT_noroot.java32 private void initializeGlobals(RenderScript RS, ScriptC_noroot s) { argument
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
39 A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_refcount.java31 private void initializeGlobals(RenderScript RS, ScriptC_refcount s) { argument
32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
H A DUT_sampler.java37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { argument
38 Sampler.Builder b = new Sampler.Builder(RS);
47 private void initializeGlobals(RenderScript RS, ScriptC_sampler s) { argument
48 Sampler.Builder b = getDefaultBuilder(RS);
52 b = getDefaultBuilder(RS);
56 b = getDefaultBuilder(RS);
60 b = getDefaultBuilder(RS);
64 b = getDefaultBuilder(RS);
84 private void testJavaSide(RenderScript RS) { argument
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_alloc.java38 private void initializeGlobals(RenderScript RS, ScriptC_alloc s) { argument
39 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
48 Allocation A = Allocation.createTyped(RS, T);
52 typeBuilder = new Type.Builder(RS, Element.I32(RS));
55 mAFaces = Allocation.createTyped(RS, mTFaces);
59 mALOD = Allocation.createTyped(RS, mTLOD);
63 mAFacesLOD = Allocation.createTyped(RS, mTFacesLOD);

Completed in 3079 milliseconds

123