/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 53 testTypeBuilderHelper(Element.F32(mRS)); in testTypeBuilder() 85 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetCount() 127 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetElement() 129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement() 133 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetX() 139 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetY() 147 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetYuv() 155 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetZ() 161 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testHasFaces() 169 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetMipmaps() [all …]
|
D | InitTest.java | 38 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest() 39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest()
|
D | AllocationTest.java | 122 createTypedHelper(Element.F32(mRS)); in testCreateTyped() 165 createSizedHelper(Element.F32(mRS)); in testCreateSized() 297 Allocation A = Allocation.createSized(mRS, Element.F32(mRS), nElems); in helperFloatCopy() 434 Allocation srcA = Allocation.createSized(mRS, Element.F32(mRS), nElems); in helperFloatAllocationCopy() 435 Allocation dstA = Allocation.createSized(mRS, Element.F32(mRS), nElems); in helperFloatAllocationCopy() 483 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in helperFloatCopy2D() 592 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in helperFloatAllocationCopy2D() 797 a = Allocation.createSized(mRS, Element.F32(mRS), 100); in testDimReturnsZero() 804 b = new Type.Builder(mRS, Element.F32(mRS)); in testDimReturnsZero() 813 b = new Type.Builder(mRS, Element.F32(mRS)).setX(102); in testDimReturnsZero() [all …]
|
D | DoubleTest.java | 31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); in testDoubleGlobal()
|
D | ElementTest.java | 71 assertTrue(Element.F32(mRS) != null); in testPrebuiltElements() 193 Element[] F32 = { Element.F32(mRS) }; in testIsCompatible() local 248 F32, F32_2, F32_3, F32_4, in testIsCompatible() 288 eb.add(Element.F32(mRS), "F32", arraySize); in testElementBuilder() 358 assertFalse(Element.F32(mRS).isComplex()); in testIsComplex() 415 eb.add(Element.F32(mRS), "FLOAT"); in testIsComplex()
|
D | IntrinsicBase.java | 57 e = Element.F32(mRS); in makeElement()
|
D | VLoadTest.java | 323 testSetup(Type.createX(mRS, Element.F32(mRS), w)); in testVload_float() 335 testSetup(Type.createX(mRS, Element.F32(mRS), w)); in testVload_float_relaxed()
|
D | AllocationCopyToTest.java | 158 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy1DRangeTo_Float() 347 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy2DRangeTo_Float() 542 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy3DRangeTo_Float() 768 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_Allocationcopy1DRangeToUnchecked_Float()
|
D | rsAllocationCopyTest.java | 179 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_rsAllocationCopy1D_Float() 444 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in test_rsAllocationCopy2D_Float()
|
D | KernelInputTest.java | 173 Allocation ain = Allocation.createSized(mRS, Element.F32(mRS), 1); in testInputNotModified_float() 174 Allocation tmp = Allocation.createSized(mRS, Element.F32(mRS), 1); in testInputNotModified_float()
|
D | RSBaseCompute.java | 82 element = Element.F32(rs); in getElement()
|
D | ForEachTest.java | 288 t = new Type.Builder(mRS, Element.F32(mRS)).setX(x).create(); in testForEach()
|
D | KernelTest.java | 288 t = new Type.Builder(mRS, Element.F32(mRS)).setX(x).create(); in testForEach()
|
D | ReduceTest.java | 601 Allocation[] allocs2 = createInputAllocations(Element.F32(mRS), 3); in testBadSillySumInputDimensionMismatch()
|
D | GetSetTest.java | 922 testSetup(Element.F32(mRS)); in testGetSet_float()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_type.cpp | 76 passed &= testTypeBuilderHelper(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 113 Type::Builder b(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 180 sp<const Type> t = Type::create(mRS, Element::F32(mRS), 3, 4, 0); in Java_android_cts_rscpp_RSTypeTest_testGet() 181 passed &= (t->getElement() == Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testGet() 186 Type::Builder b(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testGet()
|
D | rs_jni_element.cpp | 106 passed &= (Element::F32(mRS) != nullptr); in Java_android_cts_rscpp_RSElementTest_testPrebuiltElements() 173 sp<const Element> F32 = Element::F32(mRS); in Java_android_cts_rscpp_RSElementTest_testIsCompatible() local 203 sp<const Element> ElementArrs[] = { ALLOCATION, BOOLEAN, ELEMENT, F32, F32_2, in Java_android_cts_rscpp_RSElementTest_testIsCompatible() 242 eb->add(Element::F32(mRS), "F32", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
|
D | rs_jni_allocation.cpp | 71 createTypedHelper(rs, Element::F32(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 194 sp<Allocation> srcA = Allocation::createSized(rs, Element::F32(rs), cellCount); in helperFloatAllocationCopy1D() 195 sp<Allocation> dstA = Allocation::createSized(rs, Element::F32(rs), cellCount); in helperFloatAllocationCopy1D() 282 sp<Allocation> srcA = Allocation::createSized2D(rs, Element::F32(rs), xElems, yElems); in helperFloatAllocationCopy2D() 283 sp<Allocation> dstA = Allocation::createSized2D(rs, Element::F32(rs), xElems, yElems); in helperFloatAllocationCopy2D() 386 Type::Builder typeBuilder(rs, Element::F32(rs)); in helperFloatAllocationCopy3D()
|
D | rs_jni_foreach.cpp | 179 t = Type::create(mRS, Element::F32(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
|
D | rs_jni.cpp | 60 return Element::F32(rs); in makeElement()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 80 … mMatrixS.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), x, y))); in setUp() 132 if (e.isCompatible(Element.F32(mRS)) || e.isCompatible(Element.F32_2(mRS))) { in verifyMatrix() 251 if (elemA.isCompatible(Element.F32(mRS))) { in xGEMV_API_test() 320 …Allocation matrixAS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), mBLASData.d… in test_L2_SGEMV_Correctness() 321 …Allocation vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), mBLASData.d… in test_L2_SGEMV_Correctness() 322 …Allocation vectorYS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), mBLASData.d… in test_L2_SGEMV_Correctness() 329 …Allocation vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), mBLASData… in test_L2_SGEMV_Correctness() 339 … vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), mBLASData.dN, 1)); in test_L2_SGEMV_Correctness() 355 vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimX, 1)); in test_L2_SGEMV_Correctness() 356 vectorYS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimY, 1)); in test_L2_SGEMV_Correctness() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | BaseRenderScriptComparer.java | 75 return Allocation.createSized(renderScript, Element.F32(renderScript), mHeight, in createOutputRowAllocation()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
D | KernelDataForRenderScriptd1new.java | 73 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptd1new()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
D | KernelDataForRenderScriptF32.java | 72 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptF32()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSCppTest.java | 85 e = Element.F32(mRS); in makeElement()
|