Searched refs:Element (Results 126 - 150 of 365) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_apitest.java35 Element elem = Element.I8(pRS);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_array_alloc.java21 import android.renderscript.Element;
38 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS));
H A DUT_ctxt_default.java21 import android.renderscript.Element;
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_foreach.java21 import android.renderscript.Element;
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_kernel.java21 import android.renderscript.Element;
36 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_kernel2d.java21 import android.renderscript.Element;
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_kernel2d_oldstyle.java21 import android.renderscript.Element;
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_kernel3d.java21 import android.renderscript.Element;
35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_noroot.java21 import android.renderscript.Element;
33 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_refcount.java21 import android.renderscript.Element;
34 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS));
H A DUT_single_source_script.java21 import android.renderscript.Element;
33 Type.Builder i32TypeBuilder = new Type.Builder(RS, Element.I32(RS));
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/
H A DMainActivity.java45 Element e = Element.I32(mRS);
/frameworks/rs/
H A DrsProgramFragment.cpp106 ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, false, 4);
109 const Element *eins[] = {colorElem.get()};
110 ObjectBaseRef<const Element> constInput = Element::create(rsc, 1, eins, enames);
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java54 mYuv = ScriptIntrinsicYuvToRGB.create(rs, Element.RGBA_8888(mRS));
78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS));
86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));
/frameworks/rs/cpp/
H A DScriptIntrinsicBLAS.cpp24 using android::RSC::Element;
33 ScriptIntrinsicBLAS::ScriptIntrinsicBLAS(sp<RS> rs, sp<const Element> e)
39 return new ScriptIntrinsicBLAS(rs, Element::U32(rs));
183 static void validateGEMV(RS* mRS, const sp<const Element>& e, RsBlasTranspose TransA, const sp<Allocation>& A,
190 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
215 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
226 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
237 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
248 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
260 validateGEMV(mRS, Element
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessMethodAdapters.java38 import javax.lang.model.element.Element;
89 for (Element element : AnnotationUtil
185 private static void warnAttributeNamespace(Element element, String attribute) {
191 private static void warnAttributeNamespaces(Element element, String[] attributes) {
198 for (Element element : AnnotationUtil
218 for (Element element : AnnotationUtil
243 for (Element element : AnnotationUtil
281 for (Element element : AnnotationUtil
306 for (Element element : AnnotationUtil.
316 for (Element elemen
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBLAS.java193 long id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs));
275 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
282 throw new RSRuntimeException("Called BLAS with wrong Element type");
313 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
314 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
317 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
321 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY);
335 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}.
336 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}.
339 * @param Y The input allocation contains vector y, supported elements type {@link Element#F6
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBLAS.java198 id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs), mUseIncSupp);
282 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
289 throw new RSRuntimeException("Called BLAS with wrong Element type");
320 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
321 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
324 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
328 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY);
352 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}.
353 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}.
356 * @param Y The input allocation contains vector y, supported elements type {@link Element#F6
[all...]
H A DType.java26 * <p>A Type describes the {@link android.support.v8.renderscript.Element} and
31 * <p>A Type always includes an {@link android.support.v8.renderscript.Element}
62 Element mElement;
81 * @return Element
83 public Element getElement() {
205 * @param e The Element for the Type
210 static public Type createX(RenderScript rs, Element e, int dimX) {
228 * @param e The Element for the Type
234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) {
253 * @param e The Element fo
[all...]
/frameworks/compile/slang/tests/P_struct_field/
H A DScriptField_InnerOne.java.expect44 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
45 public static Element createElement(RenderScript rs) {
46 Element.Builder eb = new Element.Builder(rs);
47 eb.add(Element.I32(rs), "x");
48 eb.add(Element.I32(rs), "y");
49 eb.add(Element.F32(rs), "f");
98 Element e = createElement(rs);
H A DScriptField_InnerTwo.java.expect44 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
45 public static Element createElement(RenderScript rs) {
46 Element.Builder eb = new Element.Builder(rs);
47 eb.add(Element.I8(rs), "z");
48 eb.add(Element.U16(rs), "#rs_padding_1");
49 eb.add(Element.U8(rs), "#rs_padding_2");
99 Element e = createElement(rs);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h19 #include "Element.h"
40 * Policy Element supported are:
47 class Collection : public std::map<Key, Element<Key> *>
50 typedef std::map<Key, Element<Key> *> Base;
51 typedef Element<Key> T;
138 * @tparam T: type of the policyElement. Policy Element supported are:
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java22 import android.renderscript.Element;
71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
H A DBlur25G.java23 import android.renderscript.Element;
67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DGroupTest.java44 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
45 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));

Completed in 459 milliseconds

1234567891011>>