Lines Matching full:piece
929 static uint32_t parseFormatType(const StringPiece16& piece) {
930 if (piece == u"reference") return android::ResTable_map::TYPE_REFERENCE;
931 else if (piece == u"string") return android::ResTable_map::TYPE_STRING;
932 else if (piece == u"integer") return android::ResTable_map::TYPE_INTEGER;
933 else if (piece == u"boolean") return android::ResTable_map::TYPE_BOOLEAN;
934 else if (piece == u"color") return android::ResTable_map::TYPE_COLOR;
935 else if (piece == u"float") return android::ResTable_map::TYPE_FLOAT;
936 else if (piece == u"dimension") return android::ResTable_map::TYPE_DIMENSION;
937 else if (piece == u"fraction") return android::ResTable_map::TYPE_FRACTION;
938 else if (piece == u"enum") return android::ResTable_map::TYPE_ENUM;
939 else if (piece == u"flags") return android::ResTable_map::TYPE_FLAGS;