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

/frameworks/base/tests/RenderScriptTests/tests/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/base/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
/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/cpp/
H A DScript.cpp66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DAllocation.h122 static sp<Allocation> createSized(RenderScript *rs, sp<const Element> e, size_t count,
H A DAllocation.cpp405 android::sp<Allocation> Allocation::createSized(RenderScript *rs, sp<const Element> e, function in class:Allocation
470 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
/frameworks/rs/tests/
H A Dcompute.cpp31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicLUT.java37 mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
H A DScript.java295 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
H A DAllocation.java1066 static public Allocation createSized(RenderScript rs, Element e, method in class:Allocation
1090 static public Allocation createSized(RenderScript rs, Element e, int count) { method in class:Allocation
1091 return createSized(rs, e, count, USAGE_SCRIPT);
1446 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
H A DMesh.java366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
378 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) +
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java35 mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
H A DScript.java295 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
299 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
H A DAllocation.java958 static public Allocation createSized(RenderScript rs, Element e, method in class:Allocation
982 static public Allocation createSized(RenderScript rs, Element e, int count) { method in class:Allocation
983 return createSized(rs, e, count, USAGE_SCRIPT);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java103 Allocation alloc = Allocation.createSized(rs, Element.U8(rs),

Completed in 3159 milliseconds