Lines Matching defs:Element

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> 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() {
170 Element::Element(void *id, android::RSC::sp<RS> rs,
171 std::vector<android::RSC::sp<Element> > &elements,
244 Element::Element(void *id, android::RSC::sp<RS> rs,
266 Element::~Element() {
269 void Element::updateFromNative() {
274 android::RSC::sp<const Element> Element::createUser(android::RSC::sp<RS> rs, RsDataType dt) {
276 return new Element(id, rs, dt, RS_KIND_USER, false, 1);
279 android::RSC::sp<const Element> Element::createVector(android::RSC::sp<RS> rs, RsDataType dt, uint32_t size) {
285 return new Element(id, rs, dt, RS_KIND_USER, false, size);
288 android::RSC::sp<const Element> Element::createPixel(android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk) {
342 return new Element(id, rs, dt, dk, true, size);
345 bool Element::isCompatible(android::RSC::sp<const Element>e) const {
361 Element::Builder::Builder(android::RSC::sp<RS> rs) {
366 void Element::Builder::add(android::RSC::sp</*const*/ Element>e, std::string &name, uint32_t arraySize) {
391 android::RSC::sp<const Element> Element::Builder::create() {
394 const Element ** elementArray = (const Element **)calloc(fieldCount, sizeof(Element *));
412 return new Element(id, mRS, mElements, mElementNames, mArraySizes);