Home
last modified time | relevance | path

Searched refs:ParseHex (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils.cpp421 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() function
447 value.data |= ParseHex(start[1], &error) << 20; in TryParseColor()
448 value.data |= ParseHex(start[1], &error) << 16; in TryParseColor()
449 value.data |= ParseHex(start[2], &error) << 12; in TryParseColor()
450 value.data |= ParseHex(start[2], &error) << 8; in TryParseColor()
451 value.data |= ParseHex(start[3], &error) << 4; in TryParseColor()
452 value.data |= ParseHex(start[3], &error); in TryParseColor()
455 value.data |= ParseHex(start[1], &error) << 28; in TryParseColor()
456 value.data |= ParseHex(start[1], &error) << 24; in TryParseColor()
457 value.data |= ParseHex(start[2], &error) << 20; in TryParseColor()
[all …]