Searched refs:Element (Results 101 - 125 of 365) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DBlur25.java22 import android.renderscript.Element;
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
83 tb = new Type.Builder(mRS, Element.F16_4(mRS));
85 tb = new Type.Builder(mRS, Element.F32_4(mRS));
H A DCopy.java22 import android.renderscript.Element;
H A DGreyscale.java22 import android.renderscript.Element;
H A DGroupTest.java22 import android.renderscript.Element;
51 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
H A DColorMatrix.java22 import android.renderscript.Element;
49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
H A DCrossProcess.java22 import android.renderscript.Element;
31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_blur_validation.java20 import android.support.v8.renderscript.Element;
57 Element.U8(RS),
63 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS));
71 scriptBlur = ScriptIntrinsicBlur.create(RS, Element.U8(RS));
H A DUT_script_group2_nochain.java51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
60 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
66 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
74 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
H A DUT_apitest.java35 Element elem = Element.I8(pRS);
/frameworks/rs/tests/lldb/java/KernelVariables/src/com/android/rs/kernelvariables/
H A DMainActivity.java67 Allocation int_allocation = Allocation.createSized(mRS, Element.I32(mRS), 4);
73 Type.Builder typeI32Builder2D = new Type.Builder(mRS, Element.I32(mRS));
89 Type.Builder typeI32Builder3D = new Type.Builder(mRS, Element.I32(mRS));
98 Type.Builder yuvTypeBuilder = new Type.Builder(mRS, Element.YUV(mRS));
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DRenderScript.java463 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt,
506 int w, int h, Object d, int sizeBytes, Element.DataType dt,
541 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
549 synchronized void nAllocationRead(long id, Object d, Element.DataType dt, int mSize, boolean usePadding) {
557 int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) {
576 int w, int h, Object d, int sizeBytes, Element.DataType dt,
587 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
1043 Element mElement_U8;
1044 Element mElement_I8;
1045 Element mElement_U1
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DProgram.java69 Element mInputs[];
70 Element mOutputs[];
203 Element mInputs[];
204 Element mOutputs[];
218 mInputs = new Element[MAX_INPUT];
219 mOutputs = new Element[MAX_OUTPUT];
355 p.mInputs = new Element[mInputCount];
357 p.mOutputs = new Element[mOutputCount];
H A DType.java20 * <p>A Type describes the {@link android.renderscript.Element} and dimensions used for an {@link
24 * <p>A Type always includes an {@link android.renderscript.Element} and an X
54 Element mElement;
82 * @return Element
84 public Element getElement() {
247 mElement = new Element(elementID, mRS);
258 * @param e The Element for the Type
263 static public Type createX(RenderScript rs, Element e, int dimX) {
281 * @param e The Element for the Type
287 static public Type createXY(RenderScript rs, Element
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
H A DScriptC_reduce_general_examples_halter.java.expect39 __I32 = Element.I32(rs);
40 __I32_2 = Element.I32_2(rs);
43 private Element __I32;
44 private Element __I32_2;
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DBuildInfoUtil.java27 import javax.lang.model.element.Element;
45 for (Element element : roundEnv.getElementsAnnotatedWith(annotationClass)) {
/frameworks/rs/
H A DrsProgram.h54 Element **inputElements;
78 ObjectBaseRef<Element> *mInputElements;
H A DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement;
36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
/frameworks/rs/tests/cpp_api/cpp-globalguard/
H A Dcompute.cpp24 sp<const Element> e;
50 e = Element::U32(rs);
/frameworks/rs/tests/cpp_api/cppallocation/
H A Dcompute.cpp27 sp<const Element> e = Element::U32(rs);
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
34 Type.Builder tb = new Type.Builder(rs, Element.U8(rs));
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DColorMatrix.java22 import android.renderscript.Element;
49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
H A DConvolve3x3.java22 import android.renderscript.Element;
53 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
H A DCrossProcess.java22 import android.renderscript.Element;
31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
H A DUsageIO.java23 import android.renderscript.Element;
41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
/frameworks/rs/tests/java_api/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);

Completed in 9869 milliseconds

1234567891011>>