Lines Matching refs:Element
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) { \
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()
178 Element::Element(void *id, android::RSC::sp<RS> rs, in Element() function in Element
179 android::RSC::sp<const Element> * elements, in Element()
190 …mElements = (android::RSC::sp<const Element> *)calloc(mElementsCount, sizeof(android::RSC::sp<Elem… in Element()
196 memcpy(mElements, elements, mElementsCount * sizeof(android::RSC::sp<Element>)); in Element()
217 Element::Element(void *id, android::RSC::sp<RS> rs) : in Element() function in Element
274 Element::Element(void *id, android::RSC::sp<RS> rs, in Element() function in Element
298 Element::~Element() { in ~Element()
314 void Element::updateFromNative() { in updateFromNative()
319 android::RSC::sp<const Element> Element::createUser(android::RSC::sp<RS> rs, RsDataType dt) { in createUser()
321 return new Element(id, rs, dt, RS_KIND_USER, false, 1); in createUser()
324 android::RSC::sp<const Element> Element::createVector(android::RSC::sp<RS> rs, RsDataType dt, uint3… in createVector()
330 return new Element(id, rs, dt, RS_KIND_USER, false, size); in createVector()
333 android::RSC::sp<const Element> Element::createPixel(android::RSC::sp<RS> rs, RsDataType dt, RsData… in createPixel()
388 return new Element(id, rs, dt, dk, true, size); in createPixel()
391 bool Element::isCompatible(android::RSC::sp<const Element>e) const { in isCompatible()
409 Element::Builder::Builder(android::RSC::sp<RS> rs) { in Builder()
415 …mElements = (android::RSC::sp<const Element> *)calloc(mElementsVecSize, sizeof(android::RSC::sp<El… in Builder()
421 Element::Builder::~Builder() { in ~Builder()
432 void Element::Builder::add(android::RSC::sp<const Element>e, const char * name, uint32_t arraySize)… in add()
456 …id::RSC::sp<const Element> * newElements = (android::RSC::sp<const Element> *)calloc(mElementsVecS… in add()
461 memcpy(newElements, mElements, mElementsCount * sizeof(android::RSC::sp<Element>)); in add()
489 android::RSC::sp<const Element> Element::Builder::create() { in create()
502 …return new Element(id, mRS, mElements, mElementsCount, (const char **)mElementNames, mElementNameL… in create()