Home
last modified time | relevance | path

Searched refs:ylen (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java88 private Allocation createInputAllocation(Element elt, int xlen, int ylen, int zlen) { in createInputAllocation() argument
90 assertTrue((zlen==0) || (ylen >= 1)); in createInputAllocation()
95 alloc = Allocation.createTyped(mRS, Type.createXYZ(mRS, elt, xlen, ylen, zlen)); in createInputAllocation()
96 else if (ylen != 0) in createInputAllocation()
97 alloc = Allocation.createTyped(mRS, Type.createXY(mRS, elt, xlen, ylen)); in createInputAllocation()
119 for (int ylen = 0; ylen <= max; ++ylen) { in createInputAllocations()
120 final int zlim = ((ylen!=0) ? max : 0); in createInputAllocations()
122 alloc[count++] = createInputAllocation(elt, xlen, ylen, zlen); in createInputAllocations()