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

12

/external/skia/include/gpu/
H A DGrRect.h31 fLeft = SkToS16(r.fLeft);
32 fTop = SkToS16(r.fTop);
33 fRight = SkToS16(r.fRight);
34 fBottom = SkToS16(r.fBottom);
/external/chromium_org/third_party/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/chromium_org/third_party/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);
/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 DSkFDot6.h23 SkASSERT(SkToS16(x) == x);
H A DSkAlphaRuns.cpp19 fRuns[0] = SkToS16(width);
H A DSkDebug.cpp24 int16_t SkToS16(intmax_t x) { function
/external/chromium_org/third_party/skia/src/gpu/
H A DGrLayerCache.cpp194 SkToS16(desc.fWidth),
195 SkToS16(desc.fHeight));
217 layer->setTexture(tex, GrIRect16::MakeWH(SkToS16(desc.fWidth), SkToS16(desc.fHeight)));
H A DSkGr.cpp92 int16_t width = SkToS16(bitmap.width());
93 int16_t height = SkToS16(bitmap.height());
/external/chromium_org/third_party/skia/src/ports/
H A DSkTypeface_win_dw.cpp418 info->fAscent = SkToS16(dwfm.ascent);
419 info->fDescent = SkToS16(dwfm.descent);
420 info->fCapHeight = SkToS16(dwfm.capHeight);
H A DSkFontHost_win.cpp879 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth);
881 glyph->fWidth = SkToS16(size.cx);
883 glyph->fHeight = SkToS16(size.cy);
885 glyph->fTop = SkToS16(-fTM.tmAscent);
888 glyph->fLeft = SkToS16(0);
940 glyph->fTop = SkToS16(-gm.gmptGlyphOrigin.y);
941 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x);
1889 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent);
1890 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent);
/external/skia/src/ports/
H A DSkTypeface_win_dw.cpp440 info->fAscent = SkToS16(dwfm.ascent);
441 info->fDescent = SkToS16(dwfm.descent);
442 info->fCapHeight = SkToS16(dwfm.capHeight);
H A DSkFontHost_win.cpp879 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth);
881 glyph->fWidth = SkToS16(size.cx);
883 glyph->fHeight = SkToS16(size.cy);
885 glyph->fTop = SkToS16(-fTM.tmAscent);
888 glyph->fLeft = SkToS16(0);
940 glyph->fTop = SkToS16(-gm.gmptGlyphOrigin.y);
941 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x);
1917 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent);
1918 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent);
/external/chromium_org/third_party/skia/include/core/
H A DSkPoint.h31 fX = SkToS16(x);
32 fY = SkToS16(y);
H A DSkTypes.h240 SK_API int16_t SkToS16(intmax_t);
250 #define SkToS16(x) ((int16_t)(x)) macro
/external/skia/include/core/
H A DSkPoint.h31 fX = SkToS16(x);
32 fY = SkToS16(y);
H A DSkTypes.h240 SK_API int16_t SkToS16(intmax_t);
250 #define SkToS16(x) ((int16_t)(x)) macro
/external/skia/src/gpu/
H A DSkGr.cpp90 int16_t width = SkToS16(bitmap.width());
91 int16_t height = SkToS16(bitmap.height());
/external/chromium_org/third_party/skia/src/utils/
H A DSkInterpolator.cpp29 fFrameCount = SkToS16(frameCount);
/external/chromium_org/third_party/skia/tests/
H A DMathTest.cpp412 SkToS16(32768);
413 SkToS16(-32769);
/external/skia/tests/
H A DMathTest.cpp414 SkToS16(32768);
415 SkToS16(-32769);
/external/skia/src/utils/
H A DSkInterpolator.cpp29 fFrameCount = SkToS16(frameCount);

Completed in 380 milliseconds

12