Searched refs:Element (Results 1 - 25 of 206) sorted by relevance

123456789

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElementThunker.java23 class ElementThunker extends Element {
24 android.renderscript.Element mN;
26 android.renderscript.Element getNObj() {
38 static android.renderscript.Element.DataKind convertKind(DataKind cdk) {
41 return android.renderscript.Element.DataKind.USER;
43 return android.renderscript.Element.DataKind.PIXEL_L;
45 return android.renderscript.Element.DataKind.PIXEL_A;
47 return android.renderscript.Element.DataKind.PIXEL_LA;
49 return android.renderscript.Element.DataKind.PIXEL_RGB;
51 return android.renderscript.Element
[all...]
H A DElement.java24 * <p>An Element represents one item within an {@link
25 * android.support.v8.renderscript.Allocation}. An Element is roughly
40 * android.support.v8.renderscript.Element.DataType} and a {@link
41 * android.support.v8.renderscript.Element.DataKind}. The DataType encodes C
42 * type information of an Element, while the DataKind encodes how that Element
45 * DataKind {@link android.support.v8.renderscript.Element.DataKind#USER} cannot
50 * {@link android.support.v8.renderscript.Element#RGBA_8888} or {@link
51 * android.support.v8.renderscript#Element.A_8}.</p>
61 public class Element extend class in inherits:BaseObj
709 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element
726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element
745 Element(int id, RenderScript rs) { method in class:Element
[all...]
H A DScriptIntrinsic3DLUT.java32 private Element mElement;
34 protected ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) {
40 * Supported elements types are {@link Element#U8_4}
45 * @param e Element type for intputs and outputs
49 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) {
56 if (!e.isCompatible(Element.U8_4(rs))) {
57 throw new RSIllegalArgumentException("Element must be compatible with uchar4.");
68 * {@link android.support.v8.renderscript.Element} as the intrinsic.
H A DRenderScript.java586 Element mElement_U8;
587 Element mElement_I8;
588 Element mElement_U16;
589 Element mElement_I16;
590 Element mElement_U32;
591 Element mElement_I32;
592 Element mElement_U64;
593 Element mElement_I64;
594 Element mElement_F32;
595 Element mElement_F6
[all...]
H A DScriptIntrinsicBlur.java41 * Supported elements types are {@link Element#U8_4}
44 * @param e Element type for inputs and outputs
48 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
53 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
/frameworks/rs/cpp/
H A DrsCppStructs.h39 class Element;
83 Element *U8;
84 Element *I8;
85 Element *U16;
86 Element *I16;
87 Element *U32;
88 Element *I32;
89 Element *U64;
90 Element *I64;
91 Element *F3
272 class Element : public BaseObj { class in namespace:android::RSC
[all...]
H A DElement.cpp26 sp<const Element> Element::getSubElement(uint32_t index) {
28 mRS->throwError("Element contains no sub-elements");
36 const char * Element::getSubElementName(uint32_t index) {
38 mRS->throwError("Element contains no sub-elements");
46 size_t Element::getSubElementArraySize(uint32_t index) {
48 mRS->throwError("Element contains no sub-elements");
56 uint32_t Element::getSubElementOffsetBytes(uint32_t index) {
58 mRS->throwError("Element contains no sub-elements");
67 #define CREATE_USER(N, T) sp<const Element> Elemen
148 Element::Element(void *id, sp<RS> rs, function in class:Element
222 Element::Element(void *id, sp<RS> rs, function in class:Element
316 isCompatible(sp<const Element>e) argument
337 add(sp< Element>e, android::String8 &name, uint32_t arraySize) argument
[all...]
/frameworks/base/sax/java/android/sax/
H A DElement.java32 public class Element { class
37 final Element parent;
40 ArrayList<Element> requiredChilden;
48 Element(Element parent, String uri, String localName, int depth) { method in class:Element
59 public Element getChild(String localName) {
66 public Element getChild(String uri, String localName) {
85 public Element requireChild(String localName) {
94 public Element requireChild(String uri, String localName) {
95 Element chil
[all...]
H A DRootElement.java47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry");
66 public class RootElement extends Element {
101 Element current = null;
132 Element child = children.get(uri, localName);
142 Element root = RootElement.this;
147 + Element.toString(uri, localName), locator);
153 void start(Element e, Attributes attributes) {
180 Element current = this.current;
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) {
65 Element get(String uri, String localName) {
86 static class Child extends Element {
91 Child(Element parent, String uri, String localName, int depth,
/frameworks/rs/
H A DrsElement.h37 class Element : public ObjectBase { class in namespace:android::renderscript
49 const Element **fields;
63 void add(const Element *e, const char *nameStr, uint32_t arraySize);
64 ObjectBaseRef<const Element> create(Context *rsc);
66 Vector<ObjectBaseRef<const Element> > mBuilderElementRefs;
67 Vector<const Element *> mBuilderElements;
97 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();}
111 static Element *createFromStream(Context *rsc, IStream *stream);
113 static ObjectBaseRef<const Element> createRef(Context *rsc,
118 static ObjectBaseRef<const Element> createRe
[all...]
H A DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { function in class:Element
33 Element::~Element() {
37 void Element::preDestroy() const {
46 void Element::clear() {
59 size_t Element::getSizeBits() const {
71 size_t Element::getSizeBitsUnpadded() const {
83 void Element::dumpLOGV(const char *prefix) const {
85 ALOGV("%s Element
[all...]
H A DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement;
36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java31 private Element mElement;
33 private ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) {
39 * Supported elements types are {@link Element#U8_4}
44 * @param e Element type for intputs and outputs
48 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) {
51 if (!e.isCompatible(Element.U8_4(rs))) {
52 throw new RSIllegalArgumentException("Element must be compatible with uchar4.");
61 * The lookup table must use the same {@link android.renderscript.Element} as the intrinsic.
H A DElement.java23 * <p>An Element represents one item within an {@link
24 * android.renderscript.Allocation}. An Element is roughly equivalent to a C
38 * android.renderscript.Element.DataType} and a {@link
39 * android.renderscript.Element.DataKind}. The DataType encodes C type
40 * information of an Element, while the DataKind encodes how that Element should
43 * android.renderscript.Element.DataKind#USER} cannot be used as input for a
47 * as {@link android.renderscript.Element#RGBA_8888} or {@link
48 * android.renderscript#Element.A_8}.</p>
56 public class Element extend class in inherits:BaseObj
755 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element
772 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element
791 Element(int id, RenderScript rs) { method in class:Element
[all...]
H A DProgramVertexFixedFunction.java61 public InternalBuilder addInput(Element e) throws IllegalStateException {
140 Element.Builder b = new Element.Builder(rs);
141 b.add(Element.MATRIX4X4(rs), "MV");
142 b.add(Element.MATRIX4X4(rs), "P");
143 b.add(Element.MATRIX4X4(rs), "TexMatrix");
144 b.add(Element.MATRIX4X4(rs), "MVP");
184 Element.Builder b = new Element.Builder(mRS);
185 b.add(Element
[all...]
H A DScriptIntrinsicBlur.java41 * Supported elements types are {@link Element#U8_4}
44 * @param e Element type for inputs and outputs
48 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
49 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
H A DRenderScript.java807 Element mElement_U8;
808 Element mElement_I8;
809 Element mElement_U16;
810 Element mElement_I16;
811 Element mElement_U32;
812 Element mElement_I32;
813 Element mElement_U64;
814 Element mElement_I64;
815 Element mElement_F32;
816 Element mElement_F6
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java34 import org.w3c.dom.Element;
105 Element docEle = mDom.getDocumentElement();
109 Element l = (Element)nl.item(i);
117 Element c = (Element)nl.item(i);
125 Element img = (Element)nl.item(i);
133 Element e = (Element)n
[all...]
H A DShaderParam.java26 import android.renderscript.Element;
61 static ScriptField_ShaderParam_s fillInParams(Element constantElem,
74 Element subElem = constantElem.getSubElement(i);
77 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
79 } else if (subElem.getDataType() == Element.DataType.MATRIX_4X4) {
90 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_element.java22 import android.renderscript.Element.*;
23 import android.renderscript.Element.DataKind.*;
24 import android.renderscript.Element.DataType.*;
29 Element simpleElem;
30 Element complexElem;
72 super(rstc, "Element", ctx);
77 simpleElem = Element.F32_3(RS);
H A DUT_mesh.java35 Allocation vAlloc0 = Allocation.createSized(RS, Element.F32(RS), 10);
36 Allocation vAlloc1 = Allocation.createSized(RS, Element.F32_2(RS), 10);
38 Allocation iAlloc0 = Allocation.createSized(RS, Element.I16(RS), 10);
39 Allocation iAlloc2 = Allocation.createSized(RS, Element.I16(RS), 10);
/frameworks/rs/driver/
H A DrsdMeshObj.h26 class Element;
51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h45 const Element *e, const size_t *dims, size_t dimLength);
50 RsdCpuScriptIntrinsic(RsdCpuReferenceImpl *ctx, const Script *s, const Element *,
56 ObjectBaseRef<const Element> mElement;
/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);

Completed in 411 milliseconds

123456789