Home
last modified time | relevance | path

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

/external/skqp/tests/
DFontMgrFontConfigTest.cpp73 SkFont fontStream( in DEF_TEST() local
77 fontStream.setEdging(SkFont::Edging::kSubpixelAntiAlias); in DEF_TEST()
86 canvasStream.drawString(text, point.fX, point.fY, fontStream, paint); in DEF_TEST()
DFontMgrAndroidParserTest.cpp328 SkFont fontStream( in DEF_TEST() local
332 fontStream.setEdging(SkFont::Edging::kSubpixelAntiAlias); in DEF_TEST()
342 canvasStream.drawString(text, point.fX, point.fY, fontStream, paint); in DEF_TEST()
/external/skia/tests/
DFontMgrFontConfigTest.cpp73 SkFont fontStream( in DEF_TEST() local
77 fontStream.setEdging(SkFont::Edging::kSubpixelAntiAlias); in DEF_TEST()
86 canvasStream.drawString(text, point.fX, point.fY, fontStream, paint); in DEF_TEST()
DFontMgrAndroidParserTest.cpp328 SkFont fontStream( in DEF_TEST() local
332 fontStream.setEdging(SkFont::Edging::kSubpixelAntiAlias); in DEF_TEST()
342 canvasStream.drawString(text, point.fX, point.fY, fontStream, paint); in DEF_TEST()
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp70 SkStreamAsset* fontStream = fontData->getStream(); in compute_checksum() local
71 if (!fontStream) { in compute_checksum()
75 size_t length = fontStream->getLength(); in compute_checksum()
80 if (!fontStream->peek(data.begin(), length)) { in compute_checksum()
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp70 SkStreamAsset* fontStream = fontData->getStream(); in compute_checksum() local
71 if (!fontStream) { in compute_checksum()
75 size_t length = fontStream->getLength(); in compute_checksum()
80 if (!fontStream->peek(data.begin(), length)) { in compute_checksum()
/external/skqp/src/core/
DSkFontDescriptor.cpp141 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); in serialize() local
142 size_t length = fontStream->getLength(); in serialize()
144 stream->writeStream(fontStream.get(), length); in serialize()
/external/skia/src/core/
DSkFontDescriptor.cpp141 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); in serialize() local
142 size_t length = fontStream->getLength(); in serialize()
144 stream->writeStream(fontStream.get(), length); in serialize()
/external/skqp/src/pdf/
DSkPDFFont.cpp439 auto fontStream = SkMemoryStream::Make(std::move(fontData)); in make_type1_font_descriptor() local
441 std::move(fontStream), doc, true)); in make_type1_font_descriptor()
/external/skia/src/pdf/
DSkPDFFont.cpp435 auto fontStream = SkMemoryStream::Make(std::move(fontData)); in make_type1_font_descriptor() local
437 std::move(fontStream), doc, true)); in make_type1_font_descriptor()
/external/skia/src/xps/
DSkXPSDevice.cpp1762 SkTScopedComPtr<IStream> fontStream;
1766 HRM(SkIStream::CreateFromSkStream(fontData.release(), true, &fontStream),
1781 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),
/external/skqp/src/xps/
DSkXPSDevice.cpp1836 SkTScopedComPtr<IStream> fontStream;
1840 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream),
1855 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),