/frameworks/rs/cpp/ |
H A D | RenderScript.h | 30 class Element; 37 friend class Element; 75 Element *U8; 76 Element *I8; 77 Element *U16; 78 Element *I16; 79 Element *U32; 80 Element *I32; 81 Element *U64; 82 Element *I6 [all...] |
H A D | Element.h | 27 class Element : public BaseObj { class in namespace:android::renderscriptCpp 50 sp<const Element> getSubElement(uint32_t index); 94 static sp<const Element> BOOLEAN(RenderScript *rs); 95 static sp<const Element> U8(RenderScript *rs); 96 static sp<const Element> I8(RenderScript *rs); 97 static sp<const Element> U16(RenderScript *rs); 98 static sp<const Element> I16(RenderScript *rs); 99 static sp<const Element> U32(RenderScript *rs); 100 static sp<const Element> I32(RenderScript *rs); 101 static sp<const Element> U6 [all...] |
H A D | Element.cpp | 24 #include "Element.h" 29 sp<const Element> Element::getSubElement(uint32_t index) { 31 mRS->throwError("Element contains no sub-elements"); 39 const char * Element::getSubElementName(uint32_t index) { 41 mRS->throwError("Element contains no sub-elements"); 49 size_t Element::getSubElementArraySize(uint32_t index) { 51 mRS->throwError("Element contains no sub-elements"); 59 uint32_t Element::getSubElementOffsetBytes(uint32_t index) { 61 mRS->throwError("Element contain 151 Element::Element(void *id, RenderScript *rs, function in class:Element 225 Element::Element(void *id, RenderScript *rs, function in class:Element 362 isCompatible(sp<const Element>e) argument 383 add(sp< Element>e, android::String8 &name, uint32_t arraySize) argument [all...] |
H A D | Type.h | 22 #include "Element.h" 37 sp<const Element> mElement; 44 sp<const Element> getElement() const { 88 sp<const Element> mElement; 91 Builder(RenderScript *rs, sp<const Element> e);
|
/frameworks/base/sax/java/android/sax/ |
H A D | Element.java | 32 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 D | RootElement.java | 47 * 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 D | Children.java | 30 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 D | rsElement.h | 37 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();} 110 static Element *createFromStream(Context *rsc, IStream *stream); 112 static ObjectBaseRef<const Element> createRef(Context *rsc, 117 static ObjectBaseRef<const Element> createRe [all...] |
H A D | rsElement.cpp | 24 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 D | rsScriptIntrinsic.h | 31 ObjectBaseRef<const Element> mElement; 36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsElement.h | 37 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();} 110 static Element *createFromStream(Context *rsc, IStream *stream); 112 static ObjectBaseRef<const Element> createRef(Context *rsc, 117 static ObjectBaseRef<const Element> createRe [all...] |
H A D | rsElement.cpp | 24 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 D | rsScriptIntrinsic.h | 31 ObjectBaseRef<const Element> mElement; 36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaParser.java | 34 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 D | ShaderParam.java | 26 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/base/graphics/java/android/renderscript/ |
H A D | Element.java | 24 * Element is the basic data type of Renderscript. An element can be of two forms: Basic elements or Complex forms. 50 public class Element extends BaseObj { class in inherits:BaseObj 52 Element[] mElements; 220 public Element getSubElement(int index) { 222 throw new RSIllegalArgumentException("Element contains no sub-elements"); 238 throw new RSIllegalArgumentException("Element contains no sub-elements"); 255 throw new RSIllegalArgumentException("Element contains no sub-elements"); 271 throw new RSIllegalArgumentException("Element contains no sub-elements"); 294 * Utility function for returning an Element containing a single Boolean. 298 * @return Element 748 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element 765 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element 784 Element(int id, RenderScript rs) { method in class:Element [all...] |
H A D | ProgramVertexFixedFunction.java | 60 public InternalBuilder addInput(Element e) throws IllegalStateException { 139 Element.Builder b = new Element.Builder(rs); 140 b.add(Element.MATRIX4X4(rs), "MV"); 141 b.add(Element.MATRIX4X4(rs), "P"); 142 b.add(Element.MATRIX4X4(rs), "TexMatrix"); 143 b.add(Element.MATRIX4X4(rs), "MVP"); 183 Element.Builder b = new Element.Builder(mRS); 184 b.add(Element [all...] |
H A D | ScriptIntrinsicBlur.java | 41 * 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 != Element.U8_4(rs)) {
|
H A D | RenderScript.java | 694 Element mElement_U8; 695 Element mElement_I8; 696 Element mElement_U16; 697 Element mElement_I16; 698 Element mElement_U32; 699 Element mElement_I32; 700 Element mElement_U64; 701 Element mElement_I64; 702 Element mElement_F32; 703 Element mElement_F6 [all...] |
H A D | Type.java | 24 * <p>Type is an allocation template. It consists of an Element and one or more 51 Element mElement; 76 * @return Element 78 public Element getElement() { 193 mElement = new Element(elementID, mRS); 211 Element mElement; 219 public Builder(RenderScript rs, Element e) {
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 25 * Element is the basic data type of Renderscript. An element can be of two forms: Basic elements or Complex forms. 51 public class Element extends BaseObj { class in inherits:BaseObj 53 android.renderscript.Element mE; 55 NElement(android.renderscript.Element e) { 68 Element[] mElements; 229 public Element getSubElement(int index) { 231 throw new RSIllegalArgumentException("Element contains no sub-elements"); 247 throw new RSIllegalArgumentException("Element contains no sub-elements"); 264 throw new RSIllegalArgumentException("Element contains no sub-elements"); 280 throw new RSIllegalArgumentException("Element contain 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 D | RenderScript.java | 479 Element mElement_U8; 480 Element mElement_I8; 481 Element mElement_U16; 482 Element mElement_I16; 483 Element mElement_U32; 484 Element mElement_I32; 485 Element mElement_U64; 486 Element mElement_I64; 487 Element mElement_F32; 488 Element mElement_F6 [all...] |
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
H A D | UT_element.java | 22 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 D | UT_mesh.java | 35 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 D | rsdMeshObj.h | 26 class Element; 51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
|