/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ElementThunker.java | 23 class ElementThunker extends Element { 24 android.renderscript.Element mN; 26 android.renderscript.Element getNObj() { 46 static android.renderscript.Element.DataKind convertKind(DataKind cdk) { 49 return android.renderscript.Element.DataKind.USER; 51 return android.renderscript.Element.DataKind.PIXEL_L; 53 return android.renderscript.Element.DataKind.PIXEL_A; 55 return android.renderscript.Element.DataKind.PIXEL_LA; 57 return android.renderscript.Element.DataKind.PIXEL_RGB; 59 return android.renderscript.Element [all...] |
H A D | Element.java | 24 * <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...] |
H A D | ScriptIntrinsic3DLUT.java | 32 private Element mElement; 34 protected ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { 40 * Supported elements types are {@link Element#U8_4} 45 * @param e Element type for intputs and outputs 49 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { 56 if (!e.isCompatible(Element.U8_4(rs))) { 57 throw new RSIllegalArgumentException("Element must be compatible with uchar4."); 68 * {@link android.support.v8.renderscript.Element} as the intrinsic.
|
H A D | RenderScript.java | 592 Element mElement_U8; 593 Element mElement_I8; 594 Element mElement_U16; 595 Element mElement_I16; 596 Element mElement_U32; 597 Element mElement_I32; 598 Element mElement_U64; 599 Element mElement_I64; 600 Element mElement_F32; 601 Element mElement_F6 [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicConvolve3x3.java | 34 * Supported elements types are {@link Element#U8}, {@link 35 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}, 36 * {@link Element#F32}, {@link Element#F32_2}, {@link 37 * Element#F32_3}, and {@link Element#F32_4} 48 * @param e Element type for intputs and outputs 52 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element [all...] |
H A D | ScriptIntrinsicConvolve5x5.java | 34 * Supported elements types are {@link Element#U8}, {@link 35 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}, 36 * {@link Element#F32}, {@link Element#F32_2}, {@link 37 * Element#F32_3}, and {@link Element#F32_4} 49 * @param e Element type for intputs and outputs 53 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element [all...] |
H A D | ScriptIntrinsicHistogram.java | 40 * {@link Element#U8_4}, {@link Element#U8_3}, 41 * {@link Element#U8_2}, {@link Element#U8} 44 * @param e Element type for inputs 48 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) { 49 if ((!e.isCompatible(Element.U8_4(rs))) && 50 (!e.isCompatible(Element.U8_3(rs))) && 51 (!e.isCompatible(Element.U8_2(rs))) && 52 (!e.isCompatible(Element [all...] |
H A D | ScriptIntrinsic3DLUT.java | 31 private Element mElement; 33 private ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { 39 * Supported elements types are {@link Element#U8_4} 44 * @param e Element type for intputs and outputs 48 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { 51 if (!e.isCompatible(Element.U8_4(rs))) { 52 throw new RSIllegalArgumentException("Element must be compatible with uchar4."); 61 * The lookup table must use the same {@link android.renderscript.Element} as the intrinsic.
|
H A D | Element.java | 23 * <p>An Element represents one item within an {@link 24 * android.renderscript.Allocation}. An Element is roughly equivalent to a C 38 * android.renderscript.Element.DataType} and a {@link 39 * android.renderscript.Element.DataKind}. The DataType encodes C type 40 * information of an Element, while the DataKind encodes how that Element should 43 * android.renderscript.Element.DataKind#USER} cannot be used as input for a 47 * as {@link android.renderscript.Element#RGBA_8888} or {@link 48 * android.renderscript#Element.A_8}.</p> 56 public class Element extend class in inherits:BaseObj 762 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element 779 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element 798 Element(int id, RenderScript rs) { method in class:Element [all...] |
H A D | ScriptIntrinsicColorMatrix.java | 24 * If the element type is {@link Element.DataType#UNSIGNED_8}, 25 * it is converted to {@link Element.DataType#FLOAT_32} and 27 * is less than four, a {@link Element#F32_4} is created by 30 * rsMatrixMultiply(), adding a {@link Element#F32_4}, and then 37 * Supported elements types are {@link Element#U8}, {@link 38 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}, 39 * {@link Element#F32}, {@link Element#F32_ [all...] |
H A D | ProgramVertexFixedFunction.java | 61 public InternalBuilder addInput(Element e) throws IllegalStateException { 140 Element.Builder b = new Element.Builder(rs); 141 b.add(Element.MATRIX4X4(rs), "MV"); 142 b.add(Element.MATRIX4X4(rs), "P"); 143 b.add(Element.MATRIX4X4(rs), "TexMatrix"); 144 b.add(Element.MATRIX4X4(rs), "MVP"); 184 Element.Builder b = new Element.Builder(mRS); 185 b.add(Element [all...] |
/frameworks/base/sax/java/android/sax/ |
H A D | Element.java | 32 public class Element { class 37 final Element parent; 40 ArrayList<Element> requiredChilden; 48 Element(Element parent, String uri, String localName, int depth) { method in class:Element 59 public Element getChild(String localName) { 66 public Element getChild(String uri, String localName) { 85 public Element requireChild(String localName) { 94 public Element requireChild(String uri, String localName) { 95 Element chil [all...] |
H A D | RootElement.java | 47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry"); 66 public class RootElement extends Element { 101 Element current = null; 132 Element child = children.get(uri, localName); 142 Element root = RootElement.this; 147 + Element.toString(uri, localName), locator); 153 void start(Element e, Attributes attributes) { 180 Element current = this.current;
|
H A D | Children.java | 30 Element getOrCreate(Element parent, String uri, String localName) { 65 Element get(String uri, String localName) { 86 static class Child extends Element { 91 Child(Element parent, String uri, String localName, int depth,
|
/frameworks/rs/ |
H A D | rsElement.h | 37 class Element : public ObjectBase { class in namespace:android::renderscript 49 const Element **fields; 85 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} 99 static Element *createFromStream(Context *rsc, IStream *stream); 101 static ObjectBaseRef<const Element> createRef(Context *rsc, 106 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 107 const Element **, 112 static const Element* create(Context *rsc, 117 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); 121 static const Element* creat [all...] |
H A D | rsElement.cpp | 24 Element::Element(Context *rsc) : ObjectBase(rsc) { function in class:Element 33 Element::~Element() { 37 void Element::preDestroy() const { 46 void Element::clear() { 64 size_t Element::getSizeBits() const { 76 size_t Element::getSizeBitsUnpadded() const { 88 void Element::dumpLOGV(const char *prefix) const { 90 ALOGV("%s Element [all...] |
H A D | rsScriptIntrinsic.h | 31 ObjectBaseRef<const Element> mElement; 36 bool init(Context *rsc, RsScriptIntrinsicID iid, Element *e);
|
/frameworks/rs/cpp/ |
H A D | Element.cpp | 26 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 169 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element 243 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element 365 add(android::RSC::sp< Element>e, std::string &name, uint32_t arraySize) argument [all...] |
H A D | rsCppStructs.h | 41 class Element; 58 RS_ERROR_INVALID_ELEMENT = 3, ///< An invalid Element was passed to a function 169 sp<const Element> U8; 170 sp<const Element> U8_2; 171 sp<const Element> U8_3; 172 sp<const Element> U8_4; 173 sp<const Element> I8; 174 sp<const Element> I8_2; 175 sp<const Element> I8_3; 176 sp<const Element> I8_ 579 class Element : public BaseObj { class in namespace:android::RSC [all...] |
H A D | ScriptIntrinsics.cpp | 25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) 35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { 36 if (e->isCompatible(Element::U8_4(rs)) == false) { 37 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); 43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) 69 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { 70 if (e->isCompatible(Element::U8_4(rs)) == false) { 71 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); 77 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) 206 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element> [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaParser.java | 34 import org.w3c.dom.Element;
105 Element docEle = mDom.getDocumentElement();
109 Element l = (Element)nl.item(i);
117 Element c = (Element)nl.item(i);
125 Element img = (Element)nl.item(i);
133 Element e = (Element)n [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | WhiteBalance.java | 22 import android.renderscript.Element; 32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A 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; 72 super(rstc, "Element", ctx); 77 simpleElem = Element.F32_3(RS);
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 18 sp<const Element> e = Element::RGBA_8888(rs); 19 printf("Element %p\n", e.get()); 39 sp<const Element> failed_e = Element::BOOLEAN(rs); 69 sp<const Element> e = Element::I32(rs);
|
/frameworks/rs/driver/ |
H A D | rsdMeshObj.h | 26 class Element; 51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
|