Searched refs:ylen (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ReduceTest.java | 94 private Allocation createInputAllocation(Element elt, int xlen, int ylen, int zlen) { in createInputAllocation() argument 96 assertTrue((zlen==0) || (ylen >= 1)); in createInputAllocation() 101 alloc = Allocation.createTyped(mRS, Type.createXYZ(mRS, elt, xlen, ylen, zlen)); in createInputAllocation() 102 else if (ylen != 0) in createInputAllocation() 103 alloc = Allocation.createTyped(mRS, Type.createXY(mRS, elt, xlen, ylen)); in createInputAllocation() 125 for (int ylen = 0; ylen <= max; ++ylen) { in createInputAllocations() 126 final int zlim = ((ylen!=0) ? max : 0); in createInputAllocations() 128 alloc[count++] = createInputAllocation(elt, xlen, ylen, zlen); in createInputAllocations()
|