/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Element.java | 66 public class Element extends BaseObj { class 68 Element[] mElements; 242 public Element getSubElement(int index) { in getSubElement() 322 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN() 336 public static Element U8(RenderScript rs) { in U8() 350 public static Element I8(RenderScript rs) { in I8() 357 public static Element U16(RenderScript rs) { in U16() 364 public static Element I16(RenderScript rs) { in I16() 371 public static Element U32(RenderScript rs) { in U32() 378 public static Element I32(RenderScript rs) { in I32() [all …]
|
D | ScriptIntrinsicHistogram.java | 51 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { in create() 52 if ((!e.isCompatible(Element.U8_4(rs))) && in create() 53 (!e.isCompatible(Element.U8_3(rs))) && in create() 54 (!e.isCompatible(Element.U8_2(rs))) && in create() 55 (!e.isCompatible(Element.U8(rs)))) { in create() 107 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && 108 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && 109 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && 110 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { 154 if (mOut.getType().getElement() != Element.U32(mRS) && [all …]
|
D | ScriptIntrinsicColorMatrix.java | 57 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { in create() 58 if (!e.isCompatible(Element.U8_4(rs))) { in create() 230 if (!ain.getElement().isCompatible(Element.U8(mRS)) && 231 !ain.getElement().isCompatible(Element.U8_2(mRS)) && 232 !ain.getElement().isCompatible(Element.U8_3(mRS)) && 233 !ain.getElement().isCompatible(Element.U8_4(mRS)) && 234 !ain.getElement().isCompatible(Element.F32(mRS)) && 235 !ain.getElement().isCompatible(Element.F32_2(mRS)) && 236 !ain.getElement().isCompatible(Element.F32_3(mRS)) && 237 !ain.getElement().isCompatible(Element.F32_4(mRS))) { [all …]
|
D | Allocation.java | 89 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() 104 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray() 112 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray() 120 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray() 128 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray() 135 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray() 142 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray() 258 public Element getElement() { in getElement() 405 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 406 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicHistogram.java | 47 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { in create() 48 if ((!e.isCompatible(Element.U8_4(rs))) && in create() 49 (!e.isCompatible(Element.U8_3(rs))) && in create() 50 (!e.isCompatible(Element.U8_2(rs))) && in create() 51 (!e.isCompatible(Element.U8(rs)))) { in create() 97 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach() 98 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 99 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 100 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach() 144 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput() [all …]
|
D | Element.java | 60 public class Element extends BaseObj { class 62 Element[] mElements; 240 public Element getSubElement(int index) { in getSubElement() 320 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN() 338 public static Element U8(RenderScript rs) { in U8() 356 public static Element I8(RenderScript rs) { in I8() 367 public static Element U16(RenderScript rs) { in U16() 378 public static Element I16(RenderScript rs) { in I16() 389 public static Element U32(RenderScript rs) { in U32() 400 public static Element I32(RenderScript rs) { in I32() [all …]
|
D | ScriptIntrinsicColorMatrix.java | 68 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { in create() 250 if (!ain.getElement().isCompatible(Element.U8(mRS)) && in forEach() 251 !ain.getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 252 !ain.getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 253 !ain.getElement().isCompatible(Element.U8_4(mRS)) && in forEach() 254 !ain.getElement().isCompatible(Element.F32(mRS)) && in forEach() 255 !ain.getElement().isCompatible(Element.F32_2(mRS)) && in forEach() 256 !ain.getElement().isCompatible(Element.F32_3(mRS)) && in forEach() 257 !ain.getElement().isCompatible(Element.F32_4(mRS))) { in forEach() 262 if (!aout.getElement().isCompatible(Element.U8(mRS)) && in forEach() [all …]
|
D | ScriptIntrinsicResize.java | 58 Element e = ain.getElement(); in setInput() 59 if (!e.isCompatible(Element.U8(mRS)) && in setInput() 60 !e.isCompatible(Element.U8_2(mRS)) && in setInput() 61 !e.isCompatible(Element.U8_3(mRS)) && in setInput() 62 !e.isCompatible(Element.U8_4(mRS)) && in setInput() 63 !e.isCompatible(Element.F32(mRS)) && in setInput() 64 !e.isCompatible(Element.F32_2(mRS)) && in setInput() 65 !e.isCompatible(Element.F32_3(mRS)) && in setInput() 66 !e.isCompatible(Element.F32_4(mRS))) { in setInput()
|
D | ScriptIntrinsicConvolve3x3.java | 53 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { in create() 55 if (!e.isCompatible(Element.U8(rs)) && in create() 56 !e.isCompatible(Element.U8_2(rs)) && in create() 57 !e.isCompatible(Element.U8_3(rs)) && in create() 58 !e.isCompatible(Element.U8_4(rs)) && in create() 59 !e.isCompatible(Element.F32(rs)) && in create() 60 !e.isCompatible(Element.F32_2(rs)) && in create() 61 !e.isCompatible(Element.F32_3(rs)) && in create() 62 !e.isCompatible(Element.F32_4(rs))) { in create()
|
/frameworks/rs/cpp/ |
D | ScriptIntrinsics.cpp | 35 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic() 46 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(const sp<RS>& rs, const sp<const Element>& e)… in create() 47 if (e->isCompatible(Element::U8_4(rs)) == false) { in create() 54 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT() 80 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(const sp<RS>& rs, const sp<const Element>& e)… in create() 81 if (e->isCompatible(Element::U8_4(rs)) == false) { in create() 88 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend() 215 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(const sp<RS>& rs, const sp<const Element>& e) { in create() 216 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create() 217 (e->isCompatible(Element::U8(rs)) == false)) { in create() [all …]
|
D | Element.cpp | 23 using android::RSC::Element; 25 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) { in getSubElement() 37 const char * Element::getSubElementName(uint32_t index) { in getSubElementName() 49 size_t Element::getSubElementArraySize(uint32_t index) { in getSubElementArraySize() 61 uint32_t Element::getSubElementOffsetBytes(uint32_t index) { in getSubElementOffsetBytes() 74 #define CREATE_USER(N, T) android::RSC::sp<const Element> Element::N(const android::RSC::sp<RS>& rs… 102 #define CREATE_PIXEL(N, T, K) android::RSC::sp<const Element> Element::N(const android::RSC::sp<RS>… 117 #define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(const android::RSC::sp<R… 123 android::RSC::sp<const Element> Element::N##_3(const android::RSC::sp<RS> &rs) { \ 129 android::RSC::sp<const Element> Element::N##_4(const android::RSC::sp<RS> &rs) { \ [all …]
|
D | rsCppStructs.h | 45 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/rs/ |
D | rsElement.cpp | 23 Element::Element(Context *rsc) : ObjectBase(rsc) { in Element() function in android::renderscript::Element 32 Element::~Element() { in ~Element() 36 void Element::operator delete(void* ptr) { in operator delete() 38 Element *e = (Element*) ptr; in operator delete() 43 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 …]
|
D | rsElement.h | 39 class Element : public ObjectBase { 51 const Element **fields; 89 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} in getField() 103 static Element *createFromStream(Context *rsc, IStream *stream); 105 static ObjectBaseRef<const Element> createRef(Context *rsc, 110 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 111 const Element **, 116 static const Element* create(Context *rsc, in create() 121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create() 125 static const Element* create(Context *rsc, size_t count, [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 36 class Element; variable 45 Element* parent = nullptr; 53 using ElementCloneFunc = std::function<void(const Element&, Element*)>; 87 class Element : public Node { 108 Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name); 109 const Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name) const; 111 Element* FindChildWithAttribute(const android::StringPiece& ns, const android::StringPiece& name, 116 const Element* FindChildWithAttribute(const android::StringPiece& ns, 122 std::vector<Element*> GetChildElements(); 126 std::unique_ptr<Element> CloneElement(const ElementCloneFunc& el_cloner) const; [all …]
|
D | XmlDom.cpp | 43 std::unique_ptr<xml::Element> root; 44 std::stack<xml::Element*> node_stack; 45 std::unique_ptr<xml::Element> pending_element; 90 stack->pending_element = util::make_unique<Element>(); in StartNamespaceHandler() 111 std::unique_ptr<Element> el; in StartElementHandler() 115 el = util::make_unique<Element>(); in StartElementHandler() 135 Element* this_el = el.get(); in StartElementHandler() 223 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { in CopyAttributes() 275 std::stack<Element*> node_stack; in Inflate() 276 std::unique_ptr<Element> pending_element; in Inflate() [all …]
|
/frameworks/rs/tests/lldb/cpp/Allocations/ |
D | Allocations.cpp | 83 Type::Builder typeI8Builder(mRS, Element::I8(mRS)); in createSignedAllocations() 89 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations() 90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations() 91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations() 93 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS)); in createSignedAllocations() 98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations() 100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations() 101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations() 103 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS)); in createSignedAllocations() 107 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations() [all …]
|
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/ |
D | jniallocations.cpp | 87 Type::Builder typeI8Builder(mRS, Element::I8(mRS)); in createSignedAllocations() 93 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations() 94 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations() 95 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations() 97 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS)); in createSignedAllocations() 102 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations() 104 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations() 105 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations() 107 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS)); in createSignedAllocations() 111 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations() [all …]
|
/frameworks/base/sax/java/android/sax/ |
D | Element.java | 30 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/rs/tests/cpp_api/cppf16/ |
D | compute.cpp | 4 using android::RSC::Element; 11 void testAllocationCreation(const sp<RS>& rs, const sp<const Element>& e, uint32_t nDims) { in testAllocationCreation() 34 sp<const Element> half = Element::F16(rs); in main() 35 sp<const Element> half2 = Element::F16_2(rs); in main() 36 sp<const Element> half3 = Element::F16_3(rs); in main() 37 sp<const Element> half4 = Element::F16_4(rs); in main()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Stream.h | 30 class Element<audio_stream_type_t> 33 Element(const std::string &name) in Element() function 36 ~Element() {} in ~Element() 73 Element(const Element &object); 74 Element &operator=(const Element &object); 82 typedef Element<audio_stream_type_t> Stream;
|
D | InputSource.h | 29 class Element<audio_source_t> 32 Element(const std::string &name) in Element() function 36 ~Element() {} in ~Element() 73 Element(const Element &object); 74 Element &operator=(const Element &object); 83 typedef Element<audio_source_t> InputSource;
|
D | Element.h | 29 class Element 32 Element(const std::string &name) in Element() function 35 ~Element() {} in ~Element() 90 Element(const Element &object); 91 Element &operator=(const Element &object);
|
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
D | MainActivity.java | 120 Type.Builder typeI8Builder = new Type.Builder(mRS, Element.I8(mRS)); in createSignedAllocations() 127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2); in createSignedAllocations() 129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4); in createSignedAllocations() 131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4); in createSignedAllocations() 134 Type.Builder typeI16_2Builder = new Type.Builder(mRS, Element.I16_2(mRS)); in createSignedAllocations() 139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize); in createSignedAllocations() 143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4); in createSignedAllocations() 145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4); in createSignedAllocations() 148 Type.Builder typeI32_3Builder = new Type.Builder(mRS, Element.I32_3(mRS)); in createSignedAllocations() 152 mIntAllocation = Allocation.createSized(mRS, Element.I32(mRS), mAllocSize); in createSignedAllocations() [all …]
|
/frameworks/base/tools/bit/ |
D | aapt.cpp | 50 struct Element { struct 51 Element* parent; argument 56 vector<Element*> children; argument 64 Element(); argument 65 ~Element(); 68 void FindElements(const string& ns, const string& name, vector<Element*>* result, bool recurse); 72 Element::Element() in Element() function in Element 76 Element::~Element() in ~Element() 85 Element::GetAttr(const string& ns, const string& name) const in GetAttr() 98 Element::FindElements(const string& ns, const string& name, vector<Element*>* result, bool recurse) in FindElements() [all …]
|