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

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_mesh.java35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10);
36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10);
38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10);
39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000);
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/
H A DMathErr.java40 mAllocationSrc = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE);
41 mAllocationRes = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE);
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicLUT.java35 mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
H A DScript.java317 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
321 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
H A DMesh.java367 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
379 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
H A DAllocation.java1324 static public Allocation createSized(RenderScript rs, Element e, method in class:Allocation
1347 static public Allocation createSized(RenderScript rs, Element e, int count) { method in class:Allocation
1348 return createSized(rs, e, count, USAGE_SCRIPT);
1732 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTransform.java55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
H A DScene.java271 Allocation drawableData = Allocation.createSized(rs,
288 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs),
300 Allocation shaderData = Allocation.createSized(rs, Element.ALLOCATION(rs),
336 opaqueBuffer = Allocation.createSized(mRS, Element.U32(mRS), mRenderables.size());
340 transparentBuffer = Allocation.createSized(mRS, Element.U32(mRS), mRenderables.size());
348 cameraData = Allocation.createSized(mRS, Element.ALLOCATION(mRS), mCameras.size());
358 Allocation lightData = Allocation.createSized(mRS,
H A DRenderPass.java101 Allocation drawableData = Allocation.createSized(rs,
H A DSceneManager.java214 Allocation alloc = Allocation.createSized(rs, Element.U8(rs),
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
/frameworks/rs/cpp/
H A DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DAllocation.cpp332 android::sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e, function in class:Allocation
H A DrsCppStructs.h263 static sp<Allocation> createSized(sp<RS> rs, sp<const Element> e, size_t count,
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java56 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
H A DScript.java439 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
443 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
H A DAllocation.java1241 static public Allocation createSized(RenderScript rs, Element e, method in class:Allocation
1245 return AllocationThunker.createSized(rs, e, count, usage);
1268 static public Allocation createSized(RenderScript rs, Element e, int count) { method in class:Allocation
1269 return createSized(rs, e, count, USAGE_SCRIPT);
1610 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
H A DAllocationThunker.java302 static public Allocation createSized(RenderScript rs, Element e, method in class:AllocationThunker
307 android.renderscript.Allocation.createSized(rst.mN, (android.renderscript.Element)e.getNObj(), count, usage);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java65 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length,
68 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS),
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java114 mGridCache = Allocation.createSized(mRS, Element.F32_2(mRS), PART_COUNT);
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs),

Completed in 542 milliseconds