/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_check_dims.java | 20 import android.renderscript.Allocation; 28 Allocation mAFailed; 29 Allocation mA; 39 mAFailed = Allocation.createTyped(RS, typeBuilder.create()); 50 mA = Allocation.createTyped(RS, typeBuilder.create());
|
UT_ctxt_default.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 41 A = Allocation.createTyped(RS, T); 43 B = Allocation.createTyped(RS, T);
|
UT_kernel.java | 20 import android.renderscript.Allocation; 28 private Allocation A; 29 private Allocation B; 41 A = Allocation.createTyped(RS, TA); 44 B = Allocation.createTyped(RS, TB);
|
UT_kernel2d.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 44 A = Allocation.createTyped(RS, T); 46 B = Allocation.createTyped(RS, T);
|
UT_kernel2d_oldstyle.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 44 A = Allocation.createTyped(RS, T); 46 B = Allocation.createTyped(RS, T);
|
UT_kernel3d.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 47 A = Allocation.createTyped(RS, T); 49 B = Allocation.createTyped(RS, T);
|
UT_small_struct.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 44 A = Allocation.createTyped(RS, builderA.create()); 51 B = Allocation.createTyped(RS, builderB.create());
|
UT_small_struct_2.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 44 A = Allocation.createTyped(RS, builderA.create()); 51 B = Allocation.createTyped(RS, builderB.create());
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
UT_apitest.java | 21 import android.renderscript.Allocation; 47 Allocation alloc = Allocation.createTyped(pRS, type); 48 Allocation allocDst = Allocation.createTyped(pRS, type);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_apitest.java | 23 import android.support.v8.renderscript.Allocation; 49 Allocation alloc = Allocation.createTyped(pRS, type); 50 Allocation allocDst = Allocation.createTyped(pRS, type);
|
UT_array_alloc.java | 22 import android.support.v8.renderscript.Allocation; 30 super("Array Allocation", ctx); 38 Allocation[] Arr = new Allocation[dimX]; 42 Allocation A = Allocation.createTyped(pRS, T);
|
UT_ctxt_default.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 43 A = Allocation.createTyped(RS, T); 45 B = Allocation.createTyped(RS, T);
|
UT_kernel.java | 22 import android.support.v8.renderscript.Allocation; 30 private Allocation A; 31 private Allocation B; 43 A = Allocation.createTyped(RS, TA); 46 B = Allocation.createTyped(RS, TB);
|
UT_kernel2d.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 46 A = Allocation.createTyped(RS, T); 48 B = Allocation.createTyped(RS, T);
|
UT_kernel2d_oldstyle.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 46 A = Allocation.createTyped(RS, T); 48 B = Allocation.createTyped(RS, T);
|
UT_kernel3d.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 49 A = Allocation.createTyped(RS, T); 51 B = Allocation.createTyped(RS, T);
|
UT_small_struct.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 46 A = Allocation.createTyped(RS, builderA.create()); 53 B = Allocation.createTyped(RS, builderB.create());
|
UT_small_struct_2.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation A; 30 private Allocation B; 46 A = Allocation.createTyped(RS, builderA.create()); 53 B = Allocation.createTyped(RS, builderB.create());
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestMax.java | 21 import android.renderscript.Allocation; 54 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2952d868c2162460l, false); 55 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2952d868c2162461l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsMaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestMin.java | 21 import android.renderscript.Allocation; 54 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdad0b097121573el, false); 55 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdad0b097121573fl, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 78 private void verifyResultsMinFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestLgamma.java | 21 import android.renderscript.Allocation; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd9395583050bc4bel, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 73 private void verifyResultsLgammaFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xeef55496367a4132l, false); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestFrexp.java | 21 import android.renderscript.Allocation; 54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x57ae9fe07384e56dl, false); 56 Allocation outExponent = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 Allocation outExponent = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestModf.java | 21 import android.renderscript.Allocation; 54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd655dc05ccaef45l, false); 56 Allocation outIntegralPart = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 Allocation outIntegralPart = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
YuvTest.java | 28 Allocation ay; 29 Allocation au; 30 Allocation av; 76 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h)); 78 au = Allocation.createTyped(mRS, tuv); 79 av = Allocation.createTyped(mRS, tuv); 86 public Allocation makeOutput() { 87 return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height)); 90 public Allocation makeOutput_f4() { 91 return Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_4(mRS), width, height)) [all...] |
/hardware/interfaces/renderscript/1.0/ |
IContext.hal | 37 * "adapted allocation" that's returned. 39 * Creates an arbitrary window into the base allocation. The type describes 41 * equal to or smaller than the dimensions in the source allocation. A 42 * dimension present in the allocation that is not present in the type must 44 * both the type and allocation, one of two things must happen. If the type 45 * is smaller than the allocation, a window must be created, the selected 48 * If the type and allocation dimension are of the same size, then setting 52 * @param baseAlloc Allocation 56 allocationAdapterCreate(Type type, Allocation baseAlloc) 67 * Sets the offsets for an Allocation Adapter [all...] |