Home
last modified time | relevance | path

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

12

/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/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()
/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()
/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/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/ImageProcessing/src/com/android/rs/image/
DWhiteBalance.java33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256); in createTest()
DHistogram.java48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256); in createTest()
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
DLaunchTest.java33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim); in LaunchTest()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, in ErrorCalculator()
65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), in ErrorCalculator()
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicLUT.java33 mTables = Allocation.createSized(rs, Element.U8(rs), 1024); in ScriptIntrinsicLUT()
DScript.java381 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
385 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
DMesh.java365 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
377 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
DAllocation.java1438 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in Allocation
1463 static public Allocation createSized(RenderScript rs, Element e, int count) { in createSized() method in Allocation
1464 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
1843 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicLUT.java56 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024); in create()
DScript.java439 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
443 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
DAllocation.java1264 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in Allocation
1268 return AllocationThunker.createSized(rs, e, count, usage); in createSized()
1291 static public Allocation createSized(RenderScript rs, Element e, int count) { in createSized() method in Allocation
1292 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
1633 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString()
DAllocationThunker.java497 static public Allocation createSized(RenderScript rs, Element e, in createSized() method in AllocationThunker
503 android.renderscript.Allocation.createSized in createSized()
/frameworks/rs/tests/cppbasic-getpointer/
Dcompute.cpp35 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute()
/frameworks/rs/tests/cppbasic-shared/
Dcompute.cpp31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute()
/frameworks/rs/tests/cppbasic/
Dcompute.cpp31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); in test_compute()
/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