Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkAlphaRuns.cpp24 fRuns[0] = SkToS16(width); in reset()
50 runs[0] = SkToS16(x); in Break()
51 runs[x] = SkToS16(n - x); in Break()
71 runs[0] = SkToS16(x); in Break()
72 runs[x] = SkToS16(n - x); in Break()
DSkAntiRun.h169 runs[0] = SkToS16(x); in BreakAt()
170 runs[x] = SkToS16(n - x); in BreakAt()
DSkDebug.cpp34 int16_t SkToS16(long x) in SkToS16() function
DSkEdge.cpp290 fCurveCount = SkToS16(count); in updateQuadratic()
468 fCurveCount = SkToS16(count); in updateCubic()
DSkCanvas.cpp85 fX = SkToS16(x); in DeviceCM()
86 fY = SkToS16(y); in DeviceCM()
DSkScan_Antihair.cpp91 runs[0] = SkToS16(n); in call_hline_blitter()
DSkBlitter.cpp427 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
/external/skia/include/core/
DSkFDot6.h30 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
DSkTypes.h125 int16_t SkToS16(long);
132 #define SkToS16(x) ((int16_t)(x)) macro
/external/skia/src/ports/
DSkFontHost_FreeType.cpp568 glyph->fTop = -SkToS16(bbox.yMax >> 6); in generateMetrics()
569 glyph->fLeft = SkToS16(bbox.xMin >> 6); in generateMetrics()
575 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top); in generateMetrics()
576 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left); in generateMetrics()
/external/skia/tests/
DMathTest.cpp185 SkToS16(32768); in TestMath()
186 SkToS16(-32769); in TestMath()
/external/skia/src/utils/
DSkInterpolator.cpp36 fFrameCount = SkToS16(frameCount); in reset()