Home
last modified time | relevance | path

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

12345678910>>...14

/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()
400 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
401 (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))) {
DScriptIntrinsicConvolve5x5.java55 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e) { in create()
56 if (!e.isCompatible(Element.U8(rs)) && in create()
57 !e.isCompatible(Element.U8_2(rs)) && in create()
58 !e.isCompatible(Element.U8_3(rs)) && in create()
59 !e.isCompatible(Element.U8_4(rs)) && in create()
60 !e.isCompatible(Element.F32(rs)) && in create()
61 !e.isCompatible(Element.F32_2(rs)) && in create()
62 !e.isCompatible(Element.F32_3(rs)) && in create()
63 !e.isCompatible(Element.F32_4(rs))) { in create()
/frameworks/rs/cpp/
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()
205 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) { in create()
206 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create()
207 (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) { \
103 #define CREATE_PIXEL(N, T, K) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) {…
118 #define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(android::RSC::sp<RS> rs)…
124 android::RSC::sp<const Element> Element::N##_3(android::RSC::sp<RS> rs) { \
130 android::RSC::sp<const Element> Element::N##_4(android::RSC::sp<RS> rs) { \
149 void Element::updateVisibleSubElements() { in updateVisibleSubElements()
[all …]
DrsCppStructs.h45 class Element; variable
449 sp<const Element> U8;
450 sp<const Element> U8_2;
451 sp<const Element> U8_3;
452 sp<const Element> U8_4;
453 sp<const Element> I8;
454 sp<const Element> I8_2;
455 sp<const Element> I8_3;
456 sp<const Element> I8_4;
457 sp<const Element> U16;
[all …]
/frameworks/base/rs/java/android/renderscript/
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 …]
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()
331 public static Element U8(RenderScript rs) { in U8()
349 public static Element I8(RenderScript rs) { in I8()
360 public static Element U16(RenderScript rs) { in U16()
371 public static Element I16(RenderScript rs) { in I16()
382 public static Element U32(RenderScript rs) { in U32()
393 public static Element I32(RenderScript rs) { in I32()
[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.java49 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { in create()
51 if (!e.isCompatible(Element.U8(rs)) && in create()
52 !e.isCompatible(Element.U8_2(rs)) && in create()
53 !e.isCompatible(Element.U8_3(rs)) && in create()
54 !e.isCompatible(Element.U8_4(rs)) && in create()
55 !e.isCompatible(Element.F32(rs)) && in create()
56 !e.isCompatible(Element.F32_2(rs)) && in create()
57 !e.isCompatible(Element.F32_3(rs)) && in create()
58 !e.isCompatible(Element.F32_4(rs))) { in create()
/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/
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;
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;
DStream.h32 class Element<audio_stream_type_t>
35 Element(const std::string &name) in Element() function
39 ~Element() {} in ~Element()
76 Element(const Element &object);
77 Element &operator=(const Element &object);
87 typedef Element<audio_stream_type_t> Stream;
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;
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);
/frameworks/rs/tests/cppf16/
Dcompute.cpp8 void testAllocationCreation(sp<RS> rs, sp<const Element> e, uint32_t nDims) { in testAllocationCreation()
28 sp<const Element> half = Element::F16(rs); in main()
29 sp<const Element> half2 = Element::F16_2(rs); in main()
30 sp<const Element> half3 = Element::F16_3(rs); in main()
31 sp<const Element> half4 = Element::F16_4(rs); in main()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSerializer.h50 typedef AudioGain Element; typedef
51 typedef sp<Element> PtrElement;
76 typedef AudioProfile Element; typedef
97 typedef IOProfile Element; typedef
98 typedef sp<Element> PtrElement;
121 typedef DeviceDescriptor Element; typedef
143 typedef AudioRoute Element; typedef
167 typedef HwModule Element; typedef
168 typedef sp<Element> PtrElement;
204 typedef VolumeCurve Element; typedef
[all …]

12345678910>>...14