Lines Matching refs:Element
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) { \
148 void Element::updateVisibleSubElements() { in updateVisibleSubElements()
177 Element::Element(void *id, android::RSC::sp<RS> rs, in Element() function in Element
178 android::RSC::sp<const Element> * elements, in Element()
189 …mElements = (android::RSC::sp<const Element> *)calloc(mElementsCount, sizeof(android::RSC::sp<cons… in Element()
195 memcpy(mElements, elements, mElementsCount * sizeof(android::RSC::sp<Element>)); in Element()
216 Element::Element(void *id, android::RSC::sp<RS> rs) : in Element() function in Element
273 Element::Element(void *id, android::RSC::sp<RS> rs, in Element() function in Element
297 Element::~Element() { in ~Element()
313 void Element::updateFromNative() { in updateFromNative()
318 android::RSC::sp<const Element> Element::createUser(const android::RSC::sp<RS>& rs, RsDataType dt) { in createUser()
320 return new Element(id, rs, dt, RS_KIND_USER, false, 1); in createUser()
323 android::RSC::sp<const Element> Element::createVector(const android::RSC::sp<RS>& rs, RsDataType dt… in createVector()
329 return new Element(id, rs, dt, RS_KIND_USER, false, size); in createVector()
332 android::RSC::sp<const Element> Element::createPixel(const android::RSC::sp<RS>& rs, RsDataType dt,… in createPixel()
387 return new Element(id, rs, dt, dk, true, size); in createPixel()
390 bool Element::isCompatible(const android::RSC::sp<const Element>&e) const { in isCompatible()
408 Element::Builder::Builder(android::RSC::sp<RS> rs) { in Builder()
414 …mElements = (android::RSC::sp<const Element> *)calloc(mElementsVecSize, sizeof(android::RSC::sp<co… in Builder()
420 Element::Builder::~Builder() { in ~Builder()
431 void Element::Builder::add(const android::RSC::sp<const Element>&e, const char * name, uint32_t arr… in add()
455 …:RSC::sp<const Element> * newElements = (android::RSC::sp<const Element> *)calloc(mElementsVecSize… in add()
460 memcpy(newElements, mElements, mElementsCount * sizeof(android::RSC::sp<Element>)); in add()
488 android::RSC::sp<const Element> Element::Builder::create() { in create()
501 …return new Element(id, mRS, mElements, mElementsCount, (const char **)mElementNames, mElementNameL… in create()