Searched refs:Element (Results 51 - 75 of 314) sorted by relevance

1234567891011>>

/frameworks/rs/driver/
H A DrsdMeshObj.h26 class Element;
51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
H A DImageBuffersForRenderScriptF32.java5 import android.support.v8.renderscript.Element;
46 renderScript, Element.F32_4(renderScript),
50 renderScript, Element.F32_4(renderScript),
54 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded);
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBlur.java37 * Supported elements types are {@link Element#U8},
38 * {@link Element#U8_4}.
41 * @param e Element type for inputs and outputs
45 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
46 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
H A DRenderScript.java537 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt,
573 int w, int h, Object d, int sizeBytes, Element.DataType dt,
607 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
615 synchronized void nAllocationRead(long id, Object d, Element.DataType dt, int mSize, boolean usePadding) {
623 int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) {
640 int w, int h, Object d, int sizeBytes, Element.DataType dt,
650 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
1032 volatile Element mElement_U8;
1033 volatile Element mElement_I8;
1034 volatile Element mElement_U1
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.h51 using ActionFuncWithDiag = std::function<bool(Element*, SourcePathDiagnostics*)>;
52 using ActionFunc = std::function<bool(Element*)>;
71 bool execute(XmlActionExecutorPolicy policy, SourcePathDiagnostics* diag, Element* el) const;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlur.java43 * Supported elements types are {@link Element#U8},
44 * {@link Element#U8_4}.
47 * @param e Element type for inputs and outputs
51 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
52 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java24 import javax.lang.model.element.Element;
32 public void printMessage(Kind kind, String message, Element element) {
57 public static void d(Element element, String msg, Object... args) {
74 public static void w(Element element, String msg, Object... args) {
102 public static void e(Element element, String msg, Object... args) {
115 private static void printMessage(Element element, Diagnostic.Kind kind, String message) {
127 void printMessage(Diagnostic.Kind kind, String message, Element element);
/frameworks/rs/
H A DrsType.h42 const Element * element;
64 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
69 const Element * getElement() const {return mElement.get();}
111 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
114 static Type* getType(Context *rsc, const Element *e,
121 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
143 ObjectBaseRef<const Element> mElement;
H A DrsProgramVertex.cpp168 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4,
170 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
172 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
174 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
178 const Element *ebe1[] = {matrixElem.get(), matrixElem.get(),
180 ObjectBaseRef<const Element> constInpu
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptField_MyStruct.java.expect43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptField_MyStruct.java.expect43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null);
44 public static Element createElement(RenderScript rs) {
45 Element.Builder eb = new Element.Builder(rs);
46 eb.add(Element.F32(rs), "f");
47 eb.add(Element.U32(rs), "#rs_padding_1");
48 eb.add(Element.F64(rs), "d");
97 Element e = createElement(rs);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp21 sp<const Element> e = Element::RGBA_8888(rs);
22 printf("Element %p\n", e.get());
50 sp<const Element> failed_e = Element::BOOLEAN(rs);
80 sp<const Element> e = Element::I32(rs);
/frameworks/rs/tests/cppbasic-shared/
H A Dcompute.cpp21 sp<const Element> e = Element::RGBA_8888(rs);
22 printf("Element %p\n", e.get());
50 sp<const Element> failed_e = Element::BOOLEAN(rs);
80 sp<const Element> e = Element::I32(rs);
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp28 static bool nameIsJavaClassName(xml::Element* el, xml::Attribute* attr,
54 static bool optionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) {
61 static bool requiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) {
70 static bool verifyManifest(xml::Element* el, SourcePathDiagnostics* diag) {
118 manifestAction.action([&](xml::Element* el) -> bool {
143 manifestAction[u"uses-sdk"].action([&](xml::Element* el) -> bool {
163 manifestAction[u"instrumentation"].action([&](xml::Element* el) -> bool {
226 void visit(xml::Element* el) override {
242 static bool renameManifestPackage(const StringPiece16& packageOverride, xml::Element* manifestEl) {
257 xml::Element* roo
[all...]
/frameworks/rs/api/
H A Drs_object_info.spec20 The functions below can be used to query the characteristics of an Allocation, Element,
46 An Element can specify a simple data types as found in C, e.g. an integer, float, or
58 Elements like <a href='http://developer.android.com/reference/android/renderscript/Element.html#F32_2(android.renderscript.RenderScript)'>F32_2</a>.
60 To create complex Elements, use the <a href='http://developer.android.com/reference/android/renderscript/Element.Builder.html'>Element.Builder</a> Java class.
128 ret: rs_element, "Element describing Allocation layout."
132 Get the Element object describing the type, kind, and other characteristics of a cell
161 This function can be used to check the Element returned by @rsElementGetSubElement()
170 summary: Size of an Element
172 Returns the size in bytes that an instantiation of this Element wil
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h56 size_t dataLength, const Element * e,
64 const Element * e, RsScriptIntrinsicID iid);
69 ObjectBaseRef<const Element> mElement;
H A DrsCpuIntrinsicLUT.cpp36 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
83 const Script *s, const Element *e)
102 const Script *s, const Element *e) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DColorCube.java22 import android.renderscript.Element;
47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
H A DHistogram.java32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS));
44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS));
48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
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));
H A DColorCube.java22 import android.renderscript.Element;
47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));

Completed in 2730 milliseconds

1234567891011>>