/third_party/skia/bench/ |
D | MorphologyBench.cpp | 70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw() 74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
|
/third_party/flutter/skia/bench/ |
D | MorphologyBench.cpp | 70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw() 74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
|
/third_party/skia/gm/ |
D | textblobblockreordering.cpp | 71 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() 72 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
|
D | textblobcolortrans.cpp | 84 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw() 85 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
|
D | anisotropic.cpp | 77 int height = SkScalarFloorToInt(fImage->height() * gScales[i]); in onDraw() 92 int width = SkScalarFloorToInt(fImage->width() * gScales[i]); in onDraw()
|
D | animated_image_orientation.cpp | 110 SkISize scaledSize = { SkScalarFloorToInt(unscaledSize.width() * scale) , in onDraw() 111 SkScalarFloorToInt(unscaledSize.height() * scale) }; in onDraw()
|
D | textblobmixedsizes.cpp | 127 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() 128 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
|
/third_party/flutter/skia/gm/ |
D | textblobblockreordering.cpp | 71 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() 72 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
|
D | textblobcolortrans.cpp | 84 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw() 85 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
|
D | anisotropic.cpp | 79 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); in onDraw() 94 int width = SkScalarFloorToInt(fBM.width() * gScales[i]); in onDraw()
|
D | textblobmixedsizes.cpp | 126 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() 127 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
|
/third_party/flutter/skia/include/core/ |
D | SkSize.h | 84 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
|
/third_party/skia/include/core/ |
D | SkSize.h | 82 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
|
/third_party/flutter/skia/src/gpu/ |
D | GrClip.h | 107 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), in GetPixelIBounds() 108 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance), in GetPixelIBounds()
|
/third_party/flutter/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 56 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion() 81 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion() 89 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
|
/third_party/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 57 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion() 82 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion() 90 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
|
/third_party/skia/src/core/ |
D | SkDraw.cpp | 119 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_hair_proc() 120 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_hair_proc() 140 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_16_hair_proc() 141 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_16_hair_proc() 161 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_32_hair_proc() 162 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_32_hair_proc() 172 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_hair_proc() 173 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_hair_proc()
|
D | SkScalerContext.h | 81 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma() 89 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
|
/third_party/flutter/skia/src/core/ |
D | SkDraw.cpp | 115 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_hair_proc() 116 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_hair_proc() 136 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_16_hair_proc() 137 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_16_hair_proc() 157 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_32_hair_proc() 158 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_32_hair_proc() 168 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_hair_proc() 169 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_hair_proc()
|
D | SkScalerContext.h | 76 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma() 84 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 263 ? SkTPin(SkScalarFloorToInt(sumA * fGain + fBias), 0, 255) in filterPixels() 265 int r = SkTPin(SkScalarFloorToInt(sumR * fGain + fBias), 0, a); in filterPixels() 266 int g = SkTPin(SkScalarFloorToInt(sumG * fGain + fBias), 0, a); in filterPixels() 267 int b = SkTPin(SkScalarFloorToInt(sumB * fGain + fBias), 0, a); in filterPixels()
|
D | SkMagnifierImageFilter.cpp | 265 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 266 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 204 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 205 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
|
D | SkMatrixConvolutionImageFilter.cpp | 294 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) in filterPixels() 296 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels() 297 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); in filterPixels() 298 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a); in filterPixels()
|
/third_party/flutter/skia/src/utils/ |
D | SkInterpolator.cpp | 81 endTime = SkScalarFloorToInt(fRepeat * totalTime); in timeToT() 85 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
|