/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ElementThunker.java | 23 class ElementThunker extends Element { 24 android.renderscript.Element mN; 26 android.renderscript.Element getNObj() { in getNObj() 46 static android.renderscript.Element.DataKind convertKind(DataKind cdk) { in convertKind() 49 return android.renderscript.Element.DataKind.USER; in convertKind() 51 return android.renderscript.Element.DataKind.PIXEL_L; in convertKind() 53 return android.renderscript.Element.DataKind.PIXEL_A; in convertKind() 55 return android.renderscript.Element.DataKind.PIXEL_LA; in convertKind() 57 return android.renderscript.Element.DataKind.PIXEL_RGB; in convertKind() 59 return android.renderscript.Element.DataKind.PIXEL_RGBA; in convertKind() [all …]
|
D | Element.java | 61 public class Element extends BaseObj { class 63 Element[] mElements; 229 public Element getSubElement(int index) { in getSubElement() 309 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN() 323 public static Element U8(RenderScript rs) { in U8() 337 public static Element I8(RenderScript rs) { in I8() 344 public static Element U16(RenderScript rs) { in U16() 351 public static Element I16(RenderScript rs) { in I16() 358 public static Element U32(RenderScript rs) { in U32() 365 public static Element I32(RenderScript rs) { in I32() [all …]
|
D | RenderScript.java | 675 Element mElement_U8; 676 Element mElement_I8; 677 Element mElement_U16; 678 Element mElement_I16; 679 Element mElement_U32; 680 Element mElement_I32; 681 Element mElement_U64; 682 Element mElement_I64; 683 Element mElement_F32; 684 Element mElement_F64; [all …]
|
D | ScriptIntrinsic3DLUT.java | 32 private Element mElement; 34 protected ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { in ScriptIntrinsic3DLUT() 49 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { in create() 56 if (!e.isCompatible(Element.U8_4(rs))) { in create()
|
/frameworks/rs/cpp/ |
D | rsCppStructs.h | 42 class Element; variable 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_4; 182 sp<const Element> U16; [all …]
|
D | Element.cpp | 26 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 …]
|
D | ScriptIntrinsics.cpp | 25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic() 35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create() 36 if (e->isCompatible(Element::U8_4(rs)) == false) { in create() 43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT() 69 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create() 70 if (e->isCompatible(Element::U8_4(rs)) == false) { in create() 77 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend() 206 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> e) { in create() 207 if ((e->isCompatible(Element::U8_4(rs)) == false) && in create() 208 (e->isCompatible(Element::U8(rs)) == false)) { in create() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 53 public class Element extends BaseObj { class 55 Element[] mElements; 232 public Element getSubElement(int index) { in getSubElement() 312 public static Element BOOLEAN(RenderScript rs) { in BOOLEAN() 326 public static Element U8(RenderScript rs) { in U8() 340 public static Element I8(RenderScript rs) { in I8() 347 public static Element U16(RenderScript rs) { in U16() 354 public static Element I16(RenderScript rs) { in I16() 361 public static Element U32(RenderScript rs) { in U32() 368 public static Element I32(RenderScript rs) { in I32() [all …]
|
D | ScriptIntrinsicHistogram.java | 44 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_4(mRS))) { in forEach() 139 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput() 140 mOut.getType().getElement() != Element.U32_2(mRS) && in setOutput() 141 mOut.getType().getElement() != Element.U32_3(mRS) && in setOutput() [all …]
|
D | ScriptIntrinsicColorMatrix.java | 63 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 …]
|
D | ScriptIntrinsicConvolve5x5.java | 51 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()
|
D | ScriptIntrinsicConvolve3x3.java | 50 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()
|
D | Allocation.java | 80 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() 95 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray() 103 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray() 111 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray() 119 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray() 126 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray() 133 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray() 260 public Element getElement() { in getElement() 351 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 352 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() [all …]
|
D | RenderScript.java | 440 …ocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt) { in nAllocationData1D() 474 … int w, int h, Object d, int sizeBytes, Element.DataType dt) { in nAllocationData2D() 506 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt) { in nAllocationData3D() 512 synchronized void nAllocationRead(long id, Object d, Element.DataType dt) { in nAllocationRead() 520 int sizeBytes, Element.DataType dt) { in nAllocationRead1D() 528 … int w, int h, Object d, int sizeBytes, Element.DataType dt) { in nAllocationRead2D() 864 Element mElement_U8; 865 Element mElement_I8; 866 Element mElement_U16; 867 Element mElement_I16; [all …]
|
D | ProgramVertexFixedFunction.java | 57 public InternalBuilder addInput(Element e) throws IllegalStateException { in addInput() 136 Element.Builder b = new Element.Builder(rs); in getConstantInputType() 137 b.add(Element.MATRIX4X4(rs), "MV"); in getConstantInputType() 138 b.add(Element.MATRIX4X4(rs), "P"); in getConstantInputType() 139 b.add(Element.MATRIX4X4(rs), "TexMatrix"); in getConstantInputType() 140 b.add(Element.MATRIX4X4(rs), "MVP"); in getConstantInputType() 180 Element.Builder b = new Element.Builder(mRS); in create() 181 b.add(Element.F32_4(mRS), "position"); in create() 182 b.add(Element.F32_4(mRS), "color"); in create() 183 b.add(Element.F32_3(mRS), "normal"); in create() [all …]
|
D | ScriptIntrinsicResize.java | 51 Element e = ain.getElement(); in setInput() 52 if (!e.isCompatible(Element.U8(mRS)) && in setInput() 53 !e.isCompatible(Element.U8_2(mRS)) && in setInput() 54 !e.isCompatible(Element.U8_3(mRS)) && in setInput() 55 !e.isCompatible(Element.U8_4(mRS))) { in setInput()
|
D | ScriptIntrinsic3DLUT.java | 29 private Element mElement; 31 private ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) { in ScriptIntrinsic3DLUT() 46 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { in create() 49 if (!e.isCompatible(Element.U8_4(rs))) { in create()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ColladaParser.java | 34 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/rs/ |
D | rsElement.cpp | 24 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 …]
|
D | rsElement.h | 37 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 …]
|
D | rsProgramVertex.cpp | 168 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4, in init() 170 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init() 172 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init() 174 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32, in init() 178 const Element *ebe1[] = {matrixElem.get(), matrixElem.get(), in init() 180 ObjectBaseRef<const Element> constInput = Element::create(rsc, 4, ebe1, ebn1); in init() 183 const Element *ebe2[] = {f4Elem.get(), f4Elem.get(), f3Elem.get(), f2Elem.get()}; in init() 184 ObjectBaseRef<const Element> attrElem = Element::create(rsc, 4, ebe2, ebn2); in init()
|
/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 …]
|
D | RootElement.java | 66 public class RootElement extends Element { 101 Element current = null; 132 Element child = children.get(uri, localName); in startElement() 142 Element root = RootElement.this; in startRoot() 147 + Element.toString(uri, localName), locator); in startRoot() 153 void start(Element e, Attributes attributes) { in start() 180 Element current = this.current; in endElement()
|
D | Children.java | 30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate() 65 Element get(String uri, String localName) { in get() 86 static class Child extends Element { 91 Child(Element parent, String uri, String localName, int depth, in Child()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
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; 77 simpleElem = Element.F32_3(RS); in initializeGlobals()
|