Home
last modified time | relevance | path

Searched refs:SkScalarFloorToInt (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/bench/
DMorphologyBench.cpp70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
/third_party/flutter/skia/bench/
DMorphologyBench.cpp70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
/third_party/skia/gm/
Dtextblobblockreordering.cpp71 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw()
72 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
Dtextblobcolortrans.cpp84 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw()
85 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
Danisotropic.cpp77 int height = SkScalarFloorToInt(fImage->height() * gScales[i]); in onDraw()
92 int width = SkScalarFloorToInt(fImage->width() * gScales[i]); in onDraw()
Danimated_image_orientation.cpp110 SkISize scaledSize = { SkScalarFloorToInt(unscaledSize.width() * scale) , in onDraw()
111 SkScalarFloorToInt(unscaledSize.height() * scale) }; in onDraw()
Dtextblobmixedsizes.cpp127 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw()
128 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
/third_party/flutter/skia/gm/
Dtextblobblockreordering.cpp71 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw()
72 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
Dtextblobcolortrans.cpp84 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw()
85 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
Danisotropic.cpp79 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); in onDraw()
94 int width = SkScalarFloorToInt(fBM.width() * gScales[i]); in onDraw()
Dtextblobmixedsizes.cpp126 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/
DSkSize.h84 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
/third_party/skia/include/core/
DSkSize.h82 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
/third_party/flutter/skia/src/gpu/
DGrClip.h107 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), in GetPixelIBounds()
108 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance), in GetPixelIBounds()
/third_party/flutter/skia/tests/
DSRGBReadWritePixelsTest.cpp56 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/
DSRGBReadWritePixelsTest.cpp57 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/
DSkDraw.cpp119 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()
DSkScalerContext.h81 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma()
89 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
/third_party/flutter/skia/src/core/
DSkDraw.cpp115 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()
DSkScalerContext.h76 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma()
84 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp263 ? 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()
DSkMagnifierImageFilter.cpp265 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/
DSkMagnifierImageFilter.cpp204 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()
DSkMatrixConvolutionImageFilter.cpp294 ? 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/
DSkInterpolator.cpp81 endTime = SkScalarFloorToInt(fRepeat * totalTime); in timeToT()
85 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()

123