reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2313 assert(type >= Element::RS_TYPE_NONE && type <= Element::RS_TYPE_FONT && 2313 assert(type >= Element::RS_TYPE_NONE && type <= Element::RS_TYPE_FONT && 2321 if ((type == Element::RS_TYPE_NONE) && (elem.children.size() > 0)) { 2330 else if (type == Element::RS_TYPE_UNSIGNED_5_6_5 || 2331 type == Element::RS_TYPE_UNSIGNED_5_5_5_1 || 2332 type == Element::RS_TYPE_UNSIGNED_4_4_4_4) { 2333 data_size = AllocationDetails::RSTypeToFormat[type][eElementSize]; 2334 } else if (type < Element::RS_TYPE_ELEMENT) { 2336 vec_size * AllocationDetails::RSTypeToFormat[type][eElementSize]; 2338 padding = AllocationDetails::RSTypeToFormat[type][eElementSize];