Searched refs:SkToS16 (Results 1 - 18 of 18) sorted by relevance

/external/skia/include/gpu/
H A DGrRect.h50 fLeft = SkToS16(r.fLeft);
51 fTop = SkToS16(r.fTop);
52 fRight = SkToS16(r.fRight);
53 fBottom = SkToS16(r.fBottom);
/external/skia/src/core/
H A DSkAntiRun.h132 runs[0] = SkToS16(x);
133 runs[x] = SkToS16(n - x);
151 runs[0] = SkToS16(x);
152 runs[x] = SkToS16(n - x);
177 runs[0] = SkToS16(x);
178 runs[x] = SkToS16(n - x);
H A DSkAlphaRuns.cpp19 fRuns[0] = SkToS16(width);
H A DSkDebug.cpp24 int16_t SkToS16(intmax_t x) { function
H A DSkFDot6.h45 SkASSERT(SkToS16(x) == x);
H A DSkBlitter.cpp442 ((int16_t*)runs)[index] = SkToS16(left - prevRite);
H A DSkScan_Antihair.cpp81 runs[0] = SkToS16(n);
/external/skia/src/ports/
H A DSkTime_Unix.cpp27 dt->fTimeZoneMinutes = SkToS16(offset - timezone / 60);
H A DSkTime_win.cpp32 dt->fTimeZoneMinutes = SkToS16(tz_bias);
H A DSkTypeface_win_dw.cpp415 info->fAscent = SkToS16(dwfm.ascent);
416 info->fDescent = SkToS16(dwfm.descent);
417 info->fCapHeight = SkToS16(dwfm.capHeight);
H A DSkFontHost_win.cpp846 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth);
848 glyph->fWidth = SkToS16(size.cx);
850 glyph->fHeight = SkToS16(size.cy);
852 glyph->fTop = SkToS16(-fTM.tmAscent);
855 glyph->fLeft = SkToS16(0);
907 glyph->fTop = SkToS16(-gm.gmptGlyphOrigin.y);
908 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x);
1817 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent);
1818 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent);
H A DSkFontHost_FreeType.cpp1142 glyph->fTop = -SkToS16(SkFDot6Floor(bbox.yMax));
1143 glyph->fLeft = SkToS16(SkFDot6Floor(bbox.xMin));
1165 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top);
1166 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left);
H A DSkScalerContext_win_dw.cpp431 glyph->fLeft = SkToS16(bbox.left);
432 glyph->fTop = SkToS16(bbox.top);
H A DSkFontHost_mac.cpp1117 glyph->fLeft = SkToS16(skIBounds.fLeft);
1118 glyph->fTop = SkToS16(skIBounds.fTop);
/external/skia/include/core/
H A DSkPoint.h31 fX = SkToS16(x);
32 fY = SkToS16(y);
H A DSkTypes.h247 SK_API int16_t SkToS16(intmax_t);
258 #define SkToS16(x) ((int16_t)(x)) macro
/external/skia/src/utils/
H A DSkInterpolator.cpp29 fFrameCount = SkToS16(frameCount);
/external/skia/tests/
H A DMathTest.cpp468 SkToS16(32768);
469 SkToS16(-32769);

Completed in 163 milliseconds