/external/skia/src/core/ |
D | SkScan.h | 111 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set() 112 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set() 113 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set() 114 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
|
D | SkDraw.cpp | 217 SkScalarToFixed(r.fLeft), SkScalarToFixed(r.fTop), in make_xrect() 218 SkScalarToFixed(r.fRight), SkScalarToFixed(r.fBottom) in make_xrect()
|
/external/skqp/src/core/ |
D | SkScan.h | 121 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set() 122 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set() 123 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set() 124 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
|
D | SkFindAndPlaceGlyph.h | 57 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0}; in SubpixelAlignment() 59 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment() 61 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), in SubpixelAlignment() 62 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)}; in SubpixelAlignment()
|
D | SkDraw.cpp | 214 SkScalarToFixed(r.fLeft), SkScalarToFixed(r.fTop), in make_xrect() 215 SkScalarToFixed(r.fRight), SkScalarToFixed(r.fBottom) in make_xrect()
|
D | SkBitmapProcState.cpp | 254 fInvSx = SkScalarToFixed (fInvMatrix.getScaleX()); in chooseProcs() 256 fInvKy = SkScalarToFixed (fInvMatrix.getSkewY()); in chooseProcs()
|
D | SkGlyphRunPainter.cpp | 56 SkFixed lookupX = SkScalarToFixed(SkScalarFraction(position.x())), in SubpixelLookup() 57 lookupY = SkScalarToFixed(SkScalarFraction(position.y())); in SubpixelLookup()
|
/external/skqp/src/effects/ |
D | SkEmbossMask.cpp | 53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss() 54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss() 55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss() 54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss() 55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathShapeData.cpp | 38 SkFixed fracX = SkScalarToFixed(tx) & 0x0000FF00; in GrSmallPathShapeDataKey() 39 SkFixed fracY = SkScalarToFixed(ty) & 0x0000FF00; in GrSmallPathShapeDataKey()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 219 SkFixed fixedRead = SkScalarToFixed(actual[actualIdx].value); in DEF_TEST() 220 SkFixed fixedOriginal = SkScalarToFixed(expected.coordinates[expectedIdx].value); in DEF_TEST() 399 SkFixed fixedActualMin = SkScalarToFixed(actual[actualIdx].min); in DEF_TEST() 400 SkFixed fixedExpectedMin = SkScalarToFixed(expected[expectedIdx].min); in DEF_TEST() 405 SkFixed fixedActualMax = SkScalarToFixed(actual[actualIdx].max); in DEF_TEST() 406 SkFixed fixedExpectedMax = SkScalarToFixed(expected[expectedIdx].max); in DEF_TEST() 411 SkFixed fixedActualDefault = SkScalarToFixed(actual[actualIdx].def); in DEF_TEST() 412 SkFixed fixedExpectedDefault = SkScalarToFixed(expected[expectedIdx].def); in DEF_TEST()
|
/external/skia/tools/ |
D | blob_cache_sim.cpp | 44 SkFixed fx = (SkScalarToFixed(offset.x()) >> 13) & 7; in main() 45 SkFixed fy = (SkScalarToFixed(offset.y()) >> 13) & 7; in main()
|
/external/skqp/include/private/ |
D | SkFixed.h | 122 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
|
/external/skia/include/private/ |
D | SkFixed.h | 123 #define SkScalarToFixed(x) SkFloatToFixed(x) macro
|
/external/skqp/tests/ |
D | TypefaceTest.cpp | 176 SkFixed fixedRead = SkScalarToFixed(positionRead[0].value); in DEF_TEST() 177 SkFixed fixedOriginal = SkScalarToFixed(position[1].value); in DEF_TEST()
|
/external/skqp/src/gpu/ |
D | GrSoftwarePathRenderer.cpp | 309 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath() 310 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
|
D | GrBlurUtils.cpp | 354 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in draw_shape_with_mask_filter() 355 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in draw_shape_with_mask_filter()
|
/external/skia/src/gpu/ |
D | GrSoftwarePathRenderer.cpp | 298 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in onDrawPath() 299 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in onDrawPath()
|
D | GrBlurUtils.cpp | 334 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00; in compute_key_and_clip_bounds() 335 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00; in compute_key_and_clip_bounds()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1122 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType() 1123 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType() 1124 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType() 1125 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType() 2148 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues() 2172 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
|
/external/skqp/src/utils/ |
D | SkInterpolator.cpp | 230 return SkScalarToFixed(x) >> 2; in pin_and_convert()
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType.cpp | 989 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType() 990 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType() 991 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType() 992 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType() 1977 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
|
/external/skqp/src/gpu/effects/ |
D | GrCircleBlurFragmentProcessor.cpp | 190 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_texture()
|
/external/skia/src/gpu/effects/generated/ |
D | GrCircleBlurFragmentProcessor.cpp | 211 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio); in create_profile_effect()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 92 SkFixed fracX = SkScalarToFixed(tx) & 0x0000FF00; in set() 93 SkFixed fracY = SkScalarToFixed(ty) & 0x0000FF00; in set()
|