Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 217) sorted by relevance

123456789

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DElementTest.java19 import android.renderscript.Element;
20 import android.renderscript.Element.DataType;
21 import android.renderscript.Element.DataKind;
27 assertTrue(Element.createPixel(mRS, in testCreatePixel()
30 assertTrue(Element.createPixel(mRS, in testCreatePixel()
33 assertTrue(Element.createPixel(mRS, in testCreatePixel()
36 assertTrue(Element.createPixel(mRS, in testCreatePixel()
39 assertTrue(Element.createPixel(mRS, in testCreatePixel()
42 assertTrue(Element.createPixel(mRS, in testCreatePixel()
49 Element e = null; in testCreateVector()
[all …]
DIntrinsicColorMatrix.java36 Element.DataType dtIn, int vsIn, in subtest()
37 Element.DataType dtOut, int vsOut, in subtest()
46 mSi = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in subtest()
50 Element ein = makeElement(dtIn, vsIn); in subtest()
51 Element eout = makeElement(dtOut, vsOut); in subtest()
81 private void test(Element.DataType dtin, Element.DataType dtout, int subtest, in test()
141 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false); in test_U8_U8_Ident()
145 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 0, false); in test_F32_F32_Ident()
149 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 0, false); in test_U8_F32_Ident()
153 test(Element.DataType.FLOAT_32, Element.DataType.UNSIGNED_8, 0, false); in test_F32_U8_Ident()
[all …]
DIntrinsicResize.java27 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize()
29 Element e = makeElement(dt, vecSize); in testResize()
55 if (dt == Element.DataType.UNSIGNED_8) { in testResize()
104 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inSquare()
108 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inSquare()
112 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inSquare()
116 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inSquare()
121 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inSquare()
125 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inSquare()
129 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inSquare()
[all …]
DTypeTest.java19 import android.renderscript.Element;
33 void testTypeBuilderHelper(Element e) { in testTypeBuilderHelper()
49 testTypeBuilderHelper(Element.A_8(mRS)); in testTypeBuilder()
50 testTypeBuilderHelper(Element.RGB_565(mRS)); in testTypeBuilder()
51 testTypeBuilderHelper(Element.RGB_888(mRS)); in testTypeBuilder()
52 testTypeBuilderHelper(Element.RGBA_8888(mRS)); in testTypeBuilder()
53 testTypeBuilderHelper(Element.F32(mRS)); in testTypeBuilder()
54 testTypeBuilderHelper(Element.F32_2(mRS)); in testTypeBuilder()
55 testTypeBuilderHelper(Element.F32_3(mRS)); in testTypeBuilder()
56 testTypeBuilderHelper(Element.F32_4(mRS)); in testTypeBuilder()
[all …]
DRSBaseCompute.java21 import android.renderscript.Element;
76 protected Element getElement(RenderScript rs, Element.DataType dataType, int size) { in getElement()
77 Element element = null; in getElement()
79 if (dataType == Element.DataType.FLOAT_64) { in getElement()
80 element = Element.F64(rs); in getElement()
81 } else if (dataType == Element.DataType.FLOAT_32) { in getElement()
82 element = Element.F32(rs); in getElement()
83 } else if (dataType == Element.DataType.FLOAT_16) { in getElement()
84 element = Element.F16(rs); in getElement()
85 } else if (dataType == Element.DataType.SIGNED_64) { in getElement()
[all …]
DAllocationTest.java23 import android.renderscript.Element;
34 void createTypedHelper(Element e) { in createTypedHelper()
56 void createTypedTextureHelper(Element e) { in createTypedTextureHelper()
105 void createSizedHelper(Element e) { in createSizedHelper()
115 createTypedHelper(Element.A_8(mRS)); in testCreateTyped()
116 createTypedHelper(Element.RGB_565(mRS)); in testCreateTyped()
117 createTypedHelper(Element.RGB_888(mRS)); in testCreateTyped()
118 createTypedHelper(Element.RGBA_8888(mRS)); in testCreateTyped()
119 createTypedHelper(Element.F16(mRS)); in testCreateTyped()
120 createTypedHelper(Element.F16_2(mRS)); in testCreateTyped()
[all …]
DIntrinsicConvolve3x3.java23 …private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve3()
31 Element e = makeElement(dt, vecSize); in testConvolve3()
54 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
92 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
129 if (dt == Element.DataType.UNSIGNED_8) { in testConvolve3()
171 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 4, null); in test_U8_4()
175 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 3, null); in test_U8_3()
179 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 2, null); in test_U8_2()
183 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 1, null); in test_U8_1()
188 testConvolve3(100, 100, Element.DataType.FLOAT_32, 4, null); in test_F32_4()
[all …]
DKernelInputTest.java29 import android.renderscript.Element;
47 import android.renderscript.Element;
69 Allocation ain = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char()
70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char()
86 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2()
87 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2()
103 Allocation ain = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3()
104 Allocation tmp = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3()
120 Allocation ain = Allocation.createSized(mRS, Element.I8_4(mRS), 1); in testInputNotModified_char4()
121 Allocation tmp = Allocation.createSized(mRS, Element.I8_4(mRS), 1); in testInputNotModified_char4()
[all …]
DIntrinsicConvolve5x5.java24 Element e, float cf[], String name, int num, int w, int h, in test5()
39 if (e.getDataType() == Element.DataType.UNSIGNED_8) { in test5()
76 …private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve5()
96 Element e = makeElement(dt, vecSize); in testConvolve5()
112 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 4, null); in test_U8_4()
116 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 3, null); in test_U8_3()
120 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 2, null); in test_U8_2()
124 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 1, null); in test_U8_1()
129 testConvolve5(100, 100, Element.DataType.FLOAT_32, 4, null); in test_F32_4()
133 testConvolve5(100, 100, Element.DataType.FLOAT_32, 3, null); in test_F32_3()
[all …]
DIntrinsicBase.java22 import android.renderscript.Element;
61 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement()
62 Element e; in makeElement()
64 e = Element.createVector(mRS, dt, vecSize); in makeElement()
66 if (dt == Element.DataType.UNSIGNED_8) { in makeElement()
67 e = Element.U8(mRS); in makeElement()
69 e = Element.F32(mRS); in makeElement()
75 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { in makeAllocation()
91 protected Allocation makeAllocation(int w, int h, Element e) { in makeAllocation()
95 protected void makeSource(int w, int h, Element e) { in makeSource()
[all …]
DIntrinsicBlur.java48 private void initTest(int w, int h, Element e, Script.LaunchOptions lo) { in initTest()
51 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); in initTest()
77 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyInput()
81 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyInput()
89 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyOutput()
93 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyOutput()
103 Element e = Element.U8(mRS); in testU8_1()
117 Element e = Element.U8_4(mRS); in testU8_4()
132 Element e = Element.U8(mRS); in testU8_1C()
147 Element e = Element.U8_4(mRS); in testU8_4C()
[all …]
DClearObjectTest.java20 import android.renderscript.Element;
63 Element element = Element.BOOLEAN(mRS); in testClearObjectElement()
64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement()
65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement()
82 Type type= new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); in testclearObjectType()
83 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectType()
84 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectType()
102 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectAllocation()
103 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectAllocation()
123 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectSampler()
[all …]
DKernelTest.java29 import android.renderscript.Element;
59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
[all …]
DForEachTest.java29 import android.renderscript.Element;
59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_element.cpp42 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
45 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
48 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
51 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
54 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
57 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
75 passed &= (Element::createVector(mRS, RS_TYPE_FLOAT_32, len) != nullptr); in Java_android_cts_rscpp_RSElementTest_testCreateVector()
76 passed &= (Element::createVector(mRS, RS_TYPE_FLOAT_64, len) != nullptr); in Java_android_cts_rscpp_RSElementTest_testCreateVector()
77 passed &= (Element::createVector(mRS, RS_TYPE_SIGNED_8, len) != nullptr); in Java_android_cts_rscpp_RSElementTest_testCreateVector()
78 passed &= (Element::createVector(mRS, RS_TYPE_SIGNED_16, len) != nullptr); in Java_android_cts_rscpp_RSElementTest_testCreateVector()
[all …]
Drs_jni_type.cpp35 static bool testTypeBuilderHelper(const sp<RS> &mRS, sp<const Element> e) { in testTypeBuilderHelper()
72 passed &= testTypeBuilderHelper(mRS, Element::A_8(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
74 passed &= testTypeBuilderHelper(mRS, Element::RGB_888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
75 passed &= testTypeBuilderHelper(mRS, Element::RGBA_8888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
76 passed &= testTypeBuilderHelper(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
77 passed &= testTypeBuilderHelper(mRS, Element::F32_2(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
78 passed &= testTypeBuilderHelper(mRS, Element::F32_3(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
79 passed &= testTypeBuilderHelper(mRS, Element::F32_4(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
80 passed &= testTypeBuilderHelper(mRS, Element::BOOLEAN(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
[all …]
Drs_jni_foreach.cpp49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
[all …]
Drs_jni_allocation.cpp34 static void createTypedHelper (const sp<RS> &rs, sp<const Element> e) { in createTypedHelper()
65 createTypedHelper(rs, Element::A_8(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
66 createTypedHelper(rs, Element::RGBA_4444(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
67 createTypedHelper(rs, Element::RGBA_5551(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
68 createTypedHelper(rs, Element::RGB_565(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
69 createTypedHelper(rs, Element::RGB_888(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
70 createTypedHelper(rs, Element::RGBA_8888(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
71 createTypedHelper(rs, Element::F32(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
72 createTypedHelper(rs, Element::F32_2(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
73 createTypedHelper(rs, Element::F32_3(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSResizeTest.java37 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize()
40 if (dt == Element.DataType.UNSIGNED_8) { in testResize()
44 Element e = makeElement(dt, vecSize); in testResize()
95 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inSqure()
98 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inSqure()
101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inSqure()
104 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inSqure()
108 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inSqure()
111 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inSqure()
114 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inSqure()
[all …]
DRSCppTest.java27 import android.renderscript.Element;
77 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement()
78 Element e; in makeElement()
80 e = Element.createVector(mRS, dt, vecSize); in makeElement()
82 if (dt == Element.DataType.UNSIGNED_8) { in makeElement()
83 e = Element.U8(mRS); in makeElement()
85 e = Element.F32(mRS); in makeElement()
91 protected Allocation makeAllocation(int w, int h, Element e) { in makeAllocation()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java25 import android.renderscript.Element;
45 private final Element mElement;
92 Element element; in newInstance()
95 element = Element.YUV(rs); in newInstance()
98 element = Element.RGBA_8888(rs); in newInstance()
145 public static AllocationInfo newInstance(Element element, Size size) { in newInstance()
164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance()
207 public AllocationInfo changeElementWithDefaultUsage(Element element) { in changeElementWithDefaultUsage()
226 private AllocationInfo(Element element, Size size, int usage) { in AllocationInfo()
236 if (element.equals(Element.YUV(mRS))) { in AllocationInfo()
[all …]
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBLAS.java80 … mMatrixS.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), x, y))); in setUp()
81 … mMatrixD.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), x, y))); in setUp()
82 … mMatrixC.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), x, y))); in setUp()
83 … mMatrixZ.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64_2(mRS), x, y))); in setUp()
87 … Allocation misAlloc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), 1, 1)); in setUp()
131 Element e = ref.getType().getElement(); in verifyMatrix()
132 if (e.isCompatible(Element.F32(mRS)) || e.isCompatible(Element.F32_2(mRS))) { in verifyMatrix()
205 …private boolean validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocati… in validateGEMV()
248 Element elemA = matA.getType().getElement(); in xGEMV_API_test()
251 if (elemA.isCompatible(Element.F32(mRS))) { in xGEMV_API_test()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DNdkApiXmlReport.java23 import org.w3c.dom.Element;
142 Element apiEle = dom.createElement(API_TAG); in main()
143 Element pkgEle = dom.createElement(PACKAGE_TAG); in main()
153 Element classEle = addToDom(dom, pkgEle, symArr, ndkSo.getName().toLowerCase()); in main()
177 public static Element addToDom( in addToDom()
178 Document dom, Element pkgEle, ReadElf.Symbol[] symArr, String libName) { in addToDom()
179 Element classEle = createClassEle(dom, libName); in addToDom()
182 Element methodEle; in addToDom()
200 public static void addToDom(Document dom, Element pkgEle, ReadElf.Symbol[] symArr) { in addToDom()
201 HashMap<String, Element> classEleMap = new HashMap<String, Element>(); in addToDom()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelper.java25 import org.w3c.dom.Element;
80 Element rootElement = apiDocument.getDocumentElement(); in getPublicApis()
81 Element packageElement = getChildElementByName(rootElement, TAG_PACKAGE, packageName); in getPublicApis()
82 Element classElement = getChildElementByName(packageElement, TAG_CLASS, className); in getPublicApis()
91 Element element = (Element) nodes.item(i); in getPublicApis()
134 private static Element getChildElementByName(Element parent, in getChildElementByName()
139 Element el = (Element) nodeList.item(i); in getChildElementByName()
148 private static Class[] getParamTypes(Element methodElement) throws Exception { in getParamTypes()
154 String typeName = ((Element) nodes.item(i)).getAttribute(ATTRIBUTE_TYPE); in getParamTypes()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DImageBuffersForRenderScriptd1new.java21 import android.renderscript.Element;
75 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
78 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
81 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
84 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
87 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
90 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
93 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()

123456789