Home
last modified time | relevance | path

Searched refs:createSized (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
DUT_mesh.java35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10); in initializeGlobals()
36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10); in initializeGlobals()
38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10); in initializeGlobals()
39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10); in initializeGlobals()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
DBenchmark.java31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark()
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DScene.java271 Allocation drawableData = Allocation.createSized(rs, in addDrawables()
288 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs), in addShaders()
300 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs), in addShaders()
336 opaqueBuffer = Allocation.createSized(mRS, Element.U32(mRS), mRenderables.size()); in initRS()
340 transparentBuffer = Allocation.createSized(mRS, Element.U32(mRS), mRenderables.size()); in initRS()
348 cameraData = Allocation.createSized(mRS, Element.ALLOCATION(mRS), mCameras.size()); in initRS()
358 Allocation lightData = Allocation.createSized(mRS, in initRS()
DTransform.java55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs), in updateRSChildData()
DRenderPass.java101 Allocation drawableData = Allocation.createSized(rs, in getRsField()
DSceneManager.java214 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), in getStringAsAllocation()
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/
DMathErr.java40 mAllocationSrc = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr()
41 mAllocationRes = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr()
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
DLaunchTest.java35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim); in LaunchTest()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DAllocation.cpp332 android::sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e, in createSized() function in Allocation
DrsCppStructs.h263 static sp<Allocation> createSized(sp<RS> rs, sp<const Element> e, size_t count,
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java65 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, in ErrorCalculator()
68 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), in ErrorCalculator()
/frameworks/base/graphics/java/android/renderscript/
DScriptIntrinsicLUT.java35 mTables = Allocation.createSized(rs, Element.U8(rs), 1024); in ScriptIntrinsicLUT()
DScript.java359 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
363 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
DMesh.java367 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
379 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
DAllocation.java1301 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in Allocation
1325 static public Allocation createSized(RenderScript rs, Element e, int count) { in createSized() method in Allocation
1326 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
1707 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicLUT.java56 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024); in create()
DScript.java421 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
425 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
DAllocation.java1218 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in Allocation
1222 return AllocationThunker.createSized(rs, e, count, usage); in createSized()
1246 static public Allocation createSized(RenderScript rs, Element e, int count) { in createSized() method in Allocation
1247 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
1582 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString()
DAllocationThunker.java302 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in AllocationThunker
307 …android.renderscript.Allocation.createSized(rst.mN, (android.renderscript.Element)e.getNObj(), cou… in createSized()
/frameworks/rs/tests/cppbasic/
Dcompute.cpp28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in main()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java114 mGridCache = Allocation.createSized(mRS, Element.F32_2(mRS), PART_COUNT); in init()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), in createZeroTerminatedAlloc()

12