Searched defs:Element (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/sax/java/android/sax/
H A DElement.java30 public class Element { class
35 final Element parent;
38 ArrayList<Element> requiredChilden;
46 Element(Element parent, String uri, String localName, int depth) { method in class:Element
57 public Element getChild(String localName) {
64 public Element getChild(String uri, String localName) {
83 public Element requireChild(String localName) {
92 public Element requireChild(String uri, String localName) {
93 Element chil
[all...]
/frameworks/rs/cpp/
H A DElement.cpp26 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) {
28 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
38 const char * Element::getSubElementName(uint32_t index) {
40 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
50 size_t Element::getSubElementArraySize(uint32_t index) {
52 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
62 uint32_t Element::getSubElementOffsetBytes(uint32_t index) {
64 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
75 #define CREATE_USER(N, T) android::RSC::sp<const Element> Elemen
170 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element
244 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element
366 add(android::RSC::sp< Element>e, std::string &name, uint32_t arraySize) argument
[all...]
H A DrsCppStructs.h42 class Element;
59 RS_ERROR_INVALID_ELEMENT = 3, ///< An invalid Element was passed to a function
174 sp<const Element> U8;
175 sp<const Element> U8_2;
176 sp<const Element> U8_3;
177 sp<const Element> U8_4;
178 sp<const Element> I8;
179 sp<const Element> I8_2;
180 sp<const Element> I8_3;
181 sp<const Element> I8_
592 class Element : public BaseObj { class in namespace:android::RSC
[all...]
/frameworks/rs/
H A DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { function in class:Element
33 Element::~Element() {
37 void Element::operator delete(void* ptr) {
39 Element *e = (Element*) ptr;
44 void Element::preDestroy() const {
53 void Element::clear() {
71 size_t Element
[all...]
H A DrsElement.h37 class Element : public ObjectBase { class in namespace:android::renderscript
49 const Element **fields;
87 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();}
101 static Element *createFromStream(Context *rsc, IStream *stream);
103 static ObjectBaseRef<const Element> createRef(Context *rsc,
108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
109 const Element **,
114 static const Element* create(Context *rsc,
119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
123 static const Element* creat
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h174 * internal members of the C++ class Element owned by librs. Unfortunately,
187 typedef struct Element { struct
/frameworks/base/rs/java/android/renderscript/
H A DElement.java20 * <p>An Element represents one item within an {@link
21 * android.renderscript.Allocation}. An Element is roughly equivalent to a C
35 * android.renderscript.Element.DataType} and a {@link
36 * android.renderscript.Element.DataKind}. The DataType encodes C type
37 * information of an Element, while the DataKind encodes how that Element should
40 * android.renderscript.Element.DataKind#USER} cannot be used as input for a
44 * as {@link android.renderscript.Element#RGBA_8888} or {@link
45 * android.renderscript#Element.A_8}.</p>
53 public class Element extend class in inherits:BaseObj
767 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element
784 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element
803 Element(long id, RenderScript rs) { method in class:Element
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
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...]

Completed in 168 milliseconds