Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/frameworks/rs/cpp/
DrsCppStructs.h45 class Element; variable
180 sp<const Element> U8;
181 sp<const Element> U8_2;
182 sp<const Element> U8_3;
183 sp<const Element> U8_4;
184 sp<const Element> I8;
185 sp<const Element> I8_2;
186 sp<const Element> I8_3;
187 sp<const Element> I8_4;
188 sp<const Element> U16;
[all …]
DScriptIntrinsics.cpp25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
36 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create()
37 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
44 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
70 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create()
71 if (e->isCompatible(Element::U8_4(rs)) == false) { in create()
78 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
207 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) { in create()
208 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create()
209 (e->isCompatible(Element::U8(rs)) == false)) { in create()
[all …]
DElement.cpp26 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) { in getSubElement()
38 const char * Element::getSubElementName(uint32_t index) { in getSubElementName()
50 size_t Element::getSubElementArraySize(uint32_t index) { in getSubElementArraySize()
62 uint32_t Element::getSubElementOffsetBytes(uint32_t index) { in getSubElementOffsetBytes()
75 #define CREATE_USER(N, T) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) { \
102 #define CREATE_PIXEL(N, T, K) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) {…
117 #define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(android::RSC::sp<RS> rs)…
123 android::RSC::sp<const Element> Element::N##_3(android::RSC::sp<RS> rs) { \
129 android::RSC::sp<const Element> Element::N##_4(android::RSC::sp<RS> rs) { \
147 void Element::updateVisibleSubElements() { in updateVisibleSubElements()
[all …]
/frameworks/base/rs/java/android/renderscript/
DElement.java53 public class Element extends BaseObj { class
55 Element[] mElements;
233 public Element getSubElement(int index) { in getSubElement()
313 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN()
327 public static Element U8(RenderScript rs) { in U8()
341 public static Element I8(RenderScript rs) { in I8()
348 public static Element U16(RenderScript rs) { in U16()
355 public static Element I16(RenderScript rs) { in I16()
362 public static Element U32(RenderScript rs) { in U32()
369 public static Element I32(RenderScript rs) { in I32()
[all …]
DScriptIntrinsicHistogram.java44 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { in create()
45 if ((!e.isCompatible(Element.U8_4(rs))) && in create()
46 (!e.isCompatible(Element.U8_3(rs))) && in create()
47 (!e.isCompatible(Element.U8_2(rs))) && in create()
48 (!e.isCompatible(Element.U8(rs)))) { in create()
94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach()
95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && in forEach()
97 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach()
141 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput()
[all …]
DScriptIntrinsicColorMatrix.java63 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { in create()
245 if (!ain.getElement().isCompatible(Element.U8(mRS)) && in forEach()
246 !ain.getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
247 !ain.getElement().isCompatible(Element.U8_3(mRS)) && in forEach()
248 !ain.getElement().isCompatible(Element.U8_4(mRS)) && in forEach()
249 !ain.getElement().isCompatible(Element.F32(mRS)) && in forEach()
250 !ain.getElement().isCompatible(Element.F32_2(mRS)) && in forEach()
251 !ain.getElement().isCompatible(Element.F32_3(mRS)) && in forEach()
252 !ain.getElement().isCompatible(Element.F32_4(mRS))) { in forEach()
257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && in forEach()
[all …]
DScriptIntrinsicResize.java53 Element e = ain.getElement(); in setInput()
54 if (!e.isCompatible(Element.U8(mRS)) && in setInput()
55 !e.isCompatible(Element.U8_2(mRS)) && in setInput()
56 !e.isCompatible(Element.U8_3(mRS)) && in setInput()
57 !e.isCompatible(Element.U8_4(mRS)) && in setInput()
58 !e.isCompatible(Element.F32(mRS)) && in setInput()
59 !e.isCompatible(Element.F32_2(mRS)) && in setInput()
60 !e.isCompatible(Element.F32_3(mRS)) && in setInput()
61 !e.isCompatible(Element.F32_4(mRS))) { in setInput()
DScriptIntrinsicConvolve5x5.java51 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e) { in create()
52 if (!e.isCompatible(Element.U8(rs)) && in create()
53 !e.isCompatible(Element.U8_2(rs)) && in create()
54 !e.isCompatible(Element.U8_3(rs)) && in create()
55 !e.isCompatible(Element.U8_4(rs)) && in create()
56 !e.isCompatible(Element.F32(rs)) && in create()
57 !e.isCompatible(Element.F32_2(rs)) && in create()
58 !e.isCompatible(Element.F32_3(rs)) && in create()
59 !e.isCompatible(Element.F32_4(rs))) { in create()
DScriptIntrinsicConvolve3x3.java50 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { in create()
52 if (!e.isCompatible(Element.U8(rs)) && in create()
53 !e.isCompatible(Element.U8_2(rs)) && in create()
54 !e.isCompatible(Element.U8_3(rs)) && in create()
55 !e.isCompatible(Element.U8_4(rs)) && in create()
56 !e.isCompatible(Element.F32(rs)) && in create()
57 !e.isCompatible(Element.F32_2(rs)) && in create()
58 !e.isCompatible(Element.F32_3(rs)) && in create()
59 !e.isCompatible(Element.F32_4(rs))) { in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DElement.java61 public class Element extends BaseObj { class
63 Element[] mElements;
237 public Element getSubElement(int index) { in getSubElement()
317 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN()
331 public static Element U8(RenderScript rs) { in U8()
345 public static Element I8(RenderScript rs) { in I8()
352 public static Element U16(RenderScript rs) { in U16()
359 public static Element I16(RenderScript rs) { in I16()
366 public static Element U32(RenderScript rs) { in U32()
373 public static Element I32(RenderScript rs) { in I32()
[all …]
DScriptIntrinsicHistogram.java48 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { in create()
49 if ((!e.isCompatible(Element.U8_4(rs))) && in create()
50 (!e.isCompatible(Element.U8_3(rs))) && in create()
51 (!e.isCompatible(Element.U8_2(rs))) && in create()
52 (!e.isCompatible(Element.U8(rs)))) { in create()
104 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
105 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
106 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
107 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) {
151 if (mOut.getType().getElement() != Element.U32(mRS) &&
[all …]
DScriptIntrinsicColorMatrix.java52 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { in create()
53 if (!e.isCompatible(Element.U8_4(rs))) { in create()
225 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
226 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
227 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
228 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
229 !ain.getElement().isCompatible(Element.F32(mRS)) &&
230 !ain.getElement().isCompatible(Element.F32_2(mRS)) &&
231 !ain.getElement().isCompatible(Element.F32_3(mRS)) &&
232 !ain.getElement().isCompatible(Element.F32_4(mRS))) {
[all …]
DAllocation.java84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray()
99 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray()
107 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray()
115 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray()
123 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray()
130 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray()
137 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray()
253 public Element getElement() { in getElement()
357 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
358 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64()
[all …]
DScriptIntrinsicResize.java63 Element e = ain.getElement();
64 if (!e.isCompatible(Element.U8(mRS)) &&
65 !e.isCompatible(Element.U8_2(mRS)) &&
66 !e.isCompatible(Element.U8_3(mRS)) &&
67 !e.isCompatible(Element.U8_4(mRS)) &&
68 !e.isCompatible(Element.F32(mRS)) &&
69 !e.isCompatible(Element.F32_2(mRS)) &&
70 !e.isCompatible(Element.F32_3(mRS)) &&
71 !e.isCompatible(Element.F32_4(mRS))) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaParser.java34 import org.w3c.dom.Element;
105 Element docEle = mDom.getDocumentElement(); in exportSceneData()
109 Element l = (Element)nl.item(i); in exportSceneData()
117 Element c = (Element)nl.item(i); in exportSceneData()
125 Element img = (Element)nl.item(i); in exportSceneData()
133 Element e = (Element)nl.item(i); in exportSceneData()
142 Element m = (Element)nl.item(i); in exportSceneData()
151 Element m = (Element)nl.item(i); in exportSceneData()
160 Element s = (Element)nl.item(i); in exportSceneData()
166 private void getRenderable(Element shape, Transform t) { in getRenderable()
[all …]
/frameworks/base/tools/aapt2/
DManifestMerger.h31 bool mergeNewOrEqual(xml::Element* parentA, xml::Element* elA, xml::Element* elB);
32 bool mergePreferRequired(xml::Element* parentA, xml::Element* elA, xml::Element* elB);
33 bool checkEqual(xml::Element* elA, xml::Element* elB);
34 bool mergeApplication(xml::Element* applicationA, xml::Element* applicationB);
35 bool mergeUsesSdk(xml::Element* elA, xml::Element* elB);
DManifestMerger.cpp17 static xml::Element* findManifest(xml::Node* root) { in findManifest()
30 xml::Element* el = static_cast<xml::Element*>(root); in findManifest()
38 static xml::Element* findChildWithSameName(xml::Element* parent, xml::Element* src) { in findChildWithSameName()
51 static int compare(xml::Element* lhs, xml::Element* rhs) { in compare()
85 bool ManifestMerger::checkEqual(xml::Element* elA, xml::Element* elB) { in checkEqual()
96 std::vector<xml::Element*> childrenA = elA->getChildElements(); in checkEqual()
97 std::vector<xml::Element*> childrenB = elB->getChildElements(); in checkEqual()
109 auto cmp = [](xml::Element* lhs, xml::Element* rhs) -> bool { in checkEqual()
124 bool ManifestMerger::mergeNewOrEqual(xml::Element* parentA, xml::Element* elA, xml::Element* elB) { in mergeNewOrEqual()
132 bool ManifestMerger::mergePreferRequired(xml::Element* parentA, xml::Element* elA, in mergePreferRequired()
[all …]
/frameworks/rs/
DrsElement.cpp24 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element() function in Element
33 Element::~Element() { in ~Element()
37 void Element::operator delete(void* ptr) { in operator delete()
39 Element *e = (Element*) ptr; in operator delete()
44 void Element::preDestroy() const { in preDestroy()
53 void Element::clear() { in clear()
71 size_t Element::getSizeBits() const { in getSizeBits()
83 size_t Element::getSizeBitsUnpadded() const { in getSizeBitsUnpadded()
95 void Element::dumpLOGV(const char *prefix) const { in dumpLOGV()
107 void Element::serialize(Context *rsc, OStream *stream) const { in serialize()
[all …]
DrsElement.h37 class Element : public ObjectBase {
49 const Element **fields;
87 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} in getField()
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, in create()
119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
123 static const Element* create(Context *rsc, size_t count,
[all …]
/frameworks/base/sax/java/android/sax/
DElement.java30 public class Element { class
35 final Element parent;
38 ArrayList<Element> requiredChilden;
46 Element(Element parent, String uri, String localName, int depth) { in Element() method in Element
57 public Element getChild(String localName) { in getChild()
64 public Element getChild(String uri, String localName) { in getChild()
83 public Element requireChild(String localName) { in requireChild()
92 public Element requireChild(String uri, String localName) { in requireChild()
93 Element child = getChild(uri, localName); in requireChild()
96 requiredChilden = new ArrayList<Element>(); in requireChild()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DUsage.h31 class Element<audio_usage_t>
34 Element(const std::string &name) in Element() function
38 ~Element() {} in ~Element()
75 Element(const Element &object);
76 Element &operator=(const Element &object);
83 typedef Element<audio_usage_t> Usage;
DInputSource.h31 class Element<audio_source_t>
34 Element(const std::string &name) in Element() function
38 ~Element() {} in ~Element()
75 Element(const Element &object);
76 Element &operator=(const Element &object);
84 typedef Element<audio_source_t> InputSource;
DStrategy.h31 class Element<routing_strategy>
34 Element(const std::string &name) in Element() function
38 ~Element() {} in ~Element()
75 Element(const Element &object);
76 Element &operator=(const Element &object);
84 typedef Element<routing_strategy> Strategy;
DStream.h33 class Element<audio_stream_type_t>
41 Element(const std::string &name) in Element() function
47 ~Element() {} in ~Element()
90 Element(const Element &object);
91 Element &operator=(const Element &object);
110 typedef Element<audio_stream_type_t> Stream;
DElement.h31 class Element
34 Element(const std::string &name) in Element() function
37 ~Element() {} in ~Element()
92 Element(const Element &object);
93 Element &operator=(const Element &object);

12345678910>>...13