Searched refs:createSized (Results 1 - 25 of 58) sorted by last modified time

123

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java2613 static public Allocation createSized(RenderScript rs, Element e, method in class:Allocation
2636 static public Allocation createSized(RenderScript rs, Element e, int count) { method in class:Allocation
2637 return createSized(rs, e, count, USAGE_SCRIPT);
2989 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
H A DScript.java539 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
543 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
H A DScriptIntrinsicLUT.java58 si.mTables = Allocation.createSized(rs, Element.U8(rs), 1024);
/frameworks/rs/cpp/
H A DAllocation.cpp457 sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e, function in class:Allocation
H A DScript.cpp57 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DScriptIntrinsics.cpp516 LUT = Allocation::createSized(rs, Element::U8(rs), 1024);
H A DrsCppStructs.h879 static sp<Allocation> createSized(sp<RS> rs, sp<const Element> e, size_t count,
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java120 mGridCache = Allocation.createSized(mRS, Element.F32_2(mRS), PART_COUNT);
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java94 border_coords_float = Allocation.createSized(mRs, Element.F32_2(mRs), mPointsXY.length / 2);
126 Allocation fit_max = Allocation.createSized(mRs, Element.I32_2(mRs), 1);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DHistogram.java48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
H A DWhiteBalance.java33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DWhiteBalance.java32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DHistogram.java54 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
H A DWhiteBalance.java33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
/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/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);
H A DUT_reduce.java223 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length);
226 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
H A DUT_reduce_backward.java223 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length);
226 Allocation outputAllocation = Allocation.createSized(RS, Element.U32(RS), histogramBucketCount);
H A DUT_script_group2_float.java48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
H A DUT_script_group2_gatherscatter.java72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
H A DUT_script_group2_nochain.java51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
H A DUT_script_group2_pointwise.java50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/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);

Completed in 1023 milliseconds

123