Searched refs:styleBits (Results 1 – 6 of 6) sorted by relevance
60 size_t styleBits; in Deserialize() local61 if (!stream->readPackedUInt(&styleBits)) { return false; } in Deserialize()62 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize()63 (styleBits >> 8 ) & 0xFF, in Deserialize()64 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()120 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize() local121 stream->writePackedUInt(styleBits); in serialize()
58 size_t styleBits; in Deserialize() local59 if (!stream->readPackedUInt(&styleBits)) { return false; } in Deserialize()60 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize()61 (styleBits >> 8 ) & 0xFF, in Deserialize()62 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()117 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize() local118 stream->writePackedUInt(styleBits); in serialize()
319 uint32_t styleBits = args.fShape->style().isSimpleHairline() ? in onDrawPath() local321 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in onDrawPath()
362 uint32_t styleBits = shape->style().isSimpleHairline() in draw_shape_with_mask_filter() local365 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in draw_shape_with_mask_filter()
315 uint32_t styleBits = args.fShape->style().isSimpleHairline() ? in onDrawPath() local317 builder[6] = fracX | (fracY >> 8) | (styleBits << 16); in onDrawPath()
353 uint32_t styleBits = shape.style().isSimpleHairline() in compute_key_and_clip_bounds() local356 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in compute_key_and_clip_bounds()