Home
last modified time | relevance | path

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

/external/skia/include/gpu/
DGrRect.h29 fLeft = SkToS16(r.fLeft); in set()
30 fTop = SkToS16(r.fTop); in set()
31 fRight = SkToS16(r.fRight); in set()
32 fBottom = SkToS16(r.fBottom); in set()
/external/skia/src/core/
DSkAlphaRuns.cpp19 fRuns[0] = SkToS16(width); in reset()
42 runs[0] = SkToS16(x); in Break()
43 runs[x] = SkToS16(n - x); in Break()
61 runs[0] = SkToS16(x); in Break()
62 runs[x] = SkToS16(n - x); in Break()
DSkAntiRun.h77 runs[0] = SkToS16(x); in BreakAt()
78 runs[x] = SkToS16(n - x); in BreakAt()
DSkDebug.cpp26 int16_t SkToS16(long x) in SkToS16() function
DSkScan_Antihair.cpp81 runs[0] = SkToS16(n); in call_hline_blitter()
DSkBlitter.cpp426 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
/external/skia/include/core/
DSkFDot6.h22 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
DSkTypes.h166 SK_API int16_t SkToS16(long);
173 #define SkToS16(x) ((int16_t)(x)) macro
/external/skia/tests/
DMathTest.cpp361 SkToS16(32768); in TestMath()
362 SkToS16(-32769); in TestMath()
/external/skia/src/ports/
DSkFontHost_win.cpp610 glyph->fTop = SkToS16(gm.gmptGlyphOrigin.y - gm.gmBlackBoxY); in generateMetrics()
611 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x); in generateMetrics()
1134 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent); in GetAdvancedTypefaceMetrics()
1135 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent); in GetAdvancedTypefaceMetrics()
DSkFontHost_FreeType.cpp1079 glyph->fTop = -SkToS16(bbox.yMax >> 6); in generateMetrics()
1080 glyph->fLeft = SkToS16(bbox.xMin >> 6); in generateMetrics()
1109 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top); in generateMetrics()
1110 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left); in generateMetrics()
/external/skia/src/utils/
DSkInterpolator.cpp29 fFrameCount = SkToS16(frameCount); in reset()