Lines Matching refs:Res_value

87 bool RawString::Flatten(android::Res_value* out_value) const {  in Flatten()
88 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
124 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten()
126 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
130 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten()
132 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten()
217 bool Id::Flatten(android::Res_value* out) const { in Flatten()
218 out->dataType = android::Res_value::TYPE_INT_BOOLEAN; in Flatten()
258 bool String::Flatten(android::Res_value* out_value) const { in Flatten()
264 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
314 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten()
319 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
350 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten()
355 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
386 BinaryPrimitive::BinaryPrimitive(const android::Res_value& val) : value(val) { in BinaryPrimitive()
403 bool BinaryPrimitive::Flatten(::android::Res_value* out_value) const { in Flatten()
418 using ::android::Res_value; in ComplexToString()
424 (complex_value >> Res_value::COMPLEX_RADIX_SHIFT) & Res_value::COMPLEX_RADIX_MASK; in ComplexToString()
425 const uint64_t mantissa = uint64_t{(complex_value >> Res_value::COMPLEX_MANTISSA_SHIFT) & in ComplexToString()
426 Res_value::COMPLEX_MANTISSA_MASK} in ComplexToString()
433 (complex_value >> Res_value::COMPLEX_UNIT_SHIFT) & Res_value::COMPLEX_UNIT_MASK; in ComplexToString()
436 case Res_value::COMPLEX_UNIT_FRACTION: in ComplexToString()
439 case Res_value::COMPLEX_UNIT_FRACTION_PARENT: in ComplexToString()
448 case Res_value::COMPLEX_UNIT_PX: in ComplexToString()
451 case Res_value::COMPLEX_UNIT_DIP: in ComplexToString()
454 case Res_value::COMPLEX_UNIT_SP: in ComplexToString()
457 case Res_value::COMPLEX_UNIT_PT: in ComplexToString()
460 case Res_value::COMPLEX_UNIT_IN: in ComplexToString()
463 case Res_value::COMPLEX_UNIT_MM: in ComplexToString()
475 using ::android::Res_value; in PrettyPrint()
477 case Res_value::TYPE_NULL: in PrettyPrint()
478 if (value.data == Res_value::DATA_NULL_EMPTY) { in PrettyPrint()
485 case Res_value::TYPE_INT_DEC: in PrettyPrint()
489 case Res_value::TYPE_INT_HEX: in PrettyPrint()
493 case Res_value::TYPE_INT_BOOLEAN: in PrettyPrint()
497 case Res_value::TYPE_INT_COLOR_ARGB8: in PrettyPrint()
498 case Res_value::TYPE_INT_COLOR_RGB8: in PrettyPrint()
499 case Res_value::TYPE_INT_COLOR_ARGB4: in PrettyPrint()
500 case Res_value::TYPE_INT_COLOR_RGB4: in PrettyPrint()
504 case Res_value::TYPE_FLOAT: in PrettyPrint()
508 case Res_value::TYPE_DIMENSION: in PrettyPrint()
512 case Res_value::TYPE_FRACTION: in PrettyPrint()
769 android::Res_value val = {}; in Matches()