Lines Matching refs:Res_value
88 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten()
89 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
128 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten()
130 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
134 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten()
136 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()
254 bool String::Flatten(android::Res_value* out_value) const { in Flatten()
260 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
302 bool StyledString::Flatten(android::Res_value* out_value) const { in Flatten()
307 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
330 bool FileReference::Flatten(android::Res_value* out_value) const { in Flatten()
335 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
357 BinaryPrimitive::BinaryPrimitive(const android::Res_value& val) : value(val) { in BinaryPrimitive()
374 bool BinaryPrimitive::Flatten(::android::Res_value* out_value) const { in Flatten()
385 using ::android::Res_value; in ComplexToString()
391 (complex_value >> Res_value::COMPLEX_RADIX_SHIFT) & Res_value::COMPLEX_RADIX_MASK; in ComplexToString()
392 const uint64_t mantissa = uint64_t{(complex_value >> Res_value::COMPLEX_MANTISSA_SHIFT) & in ComplexToString()
393 Res_value::COMPLEX_MANTISSA_MASK} in ComplexToString()
400 (complex_value >> Res_value::COMPLEX_UNIT_SHIFT) & Res_value::COMPLEX_UNIT_MASK; in ComplexToString()
403 case Res_value::COMPLEX_UNIT_FRACTION: in ComplexToString()
406 case Res_value::COMPLEX_UNIT_FRACTION_PARENT: in ComplexToString()
415 case Res_value::COMPLEX_UNIT_PX: in ComplexToString()
418 case Res_value::COMPLEX_UNIT_DIP: in ComplexToString()
421 case Res_value::COMPLEX_UNIT_SP: in ComplexToString()
424 case Res_value::COMPLEX_UNIT_PT: in ComplexToString()
427 case Res_value::COMPLEX_UNIT_IN: in ComplexToString()
430 case Res_value::COMPLEX_UNIT_MM: in ComplexToString()
442 using ::android::Res_value; in PrettyPrint()
444 case Res_value::TYPE_NULL: in PrettyPrint()
445 if (value.data == Res_value::DATA_NULL_EMPTY) { in PrettyPrint()
452 case Res_value::TYPE_INT_DEC: in PrettyPrint()
456 case Res_value::TYPE_INT_HEX: in PrettyPrint()
460 case Res_value::TYPE_INT_BOOLEAN: in PrettyPrint()
464 case Res_value::TYPE_INT_COLOR_ARGB8: in PrettyPrint()
465 case Res_value::TYPE_INT_COLOR_RGB8: in PrettyPrint()
466 case Res_value::TYPE_INT_COLOR_ARGB4: in PrettyPrint()
467 case Res_value::TYPE_INT_COLOR_RGB4: in PrettyPrint()
471 case Res_value::TYPE_FLOAT: in PrettyPrint()
475 case Res_value::TYPE_DIMENSION: in PrettyPrint()
479 case Res_value::TYPE_FRACTION: in PrettyPrint()
732 android::Res_value val = {}; in Matches()