/external/skqp/bench/ |
D | MorphologyBench.cpp | 69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw() 70 SkScalarFloorToInt(fRadius), in onDraw() 74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw() 75 SkScalarFloorToInt(fRadius), in onDraw()
|
/external/skia/bench/ |
D | MorphologyBench.cpp | 70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw() 74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
|
/external/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 | 78 int height = SkScalarFloorToInt(fImage->height() * gScales[i]); in onDraw() 93 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()
|
/external/skqp/gm/ |
D | textblobblockreordering.cpp | 59 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() 60 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
|
D | textblobcolortrans.cpp | 76 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw() 77 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
|
D | anisotropic.cpp | 68 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); in onDraw() 83 int width = SkScalarFloorToInt(fBM.width() * gScales[i]); in onDraw()
|
D | textblobmixedsizes.cpp | 113 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() 114 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
|
/external/skqp/include/core/ |
D | SkSize.h | 84 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
|
/external/skia/include/core/ |
D | SkSize.h | 82 SkISize toFloor() const { return {SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)}; } in toFloor()
|
/external/skqp/src/gpu/ |
D | GrClip.h | 107 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), in GetPixelIBounds() 108 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance), in GetPixelIBounds()
|
/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 55 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion() 80 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion() 88 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
|
/external/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()
|
/external/skqp/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 178 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 179 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
|
D | SkMatrixConvolutionImageFilter.cpp | 205 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) in filterPixels() 207 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels() 208 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); in filterPixels() 209 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a); in filterPixels()
|
/external/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 264 ? SkTPin(SkScalarFloorToInt(sumA * fGain + fBias), 0, 255) in filterPixels() 266 int r = SkTPin(SkScalarFloorToInt(sumR * fGain + fBias), 0, a); in filterPixels() 267 int g = SkTPin(SkScalarFloorToInt(sumG * fGain + fBias), 0, a); in filterPixels() 268 int b = SkTPin(SkScalarFloorToInt(sumB * fGain + fBias), 0, a); in filterPixels()
|
D | SkMagnifierImageFilter.cpp | 212 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 213 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
|
/external/skia/src/core/ |
D | SkDraw.cpp | 118 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_hair_proc() 119 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_hair_proc() 139 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_16_hair_proc() 140 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_16_hair_proc() 160 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_32_hair_proc() 161 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_32_hair_proc() 171 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_hair_proc() 172 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()
|
/external/skqp/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 | 87 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma() 95 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
|
/external/skqp/src/utils/ |
D | SkInterpolator.cpp | 81 endTime = SkScalarFloorToInt(fRepeat * totalTime); in timeToT() 85 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
|