/external/skia/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/gm/ |
D | textblobblockreordering.cpp | 60 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; in onDraw() 61 const int xDelta = SkScalarFloorToInt(bounds.width()); in onDraw()
|
D | textblobcolortrans.cpp | 80 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw() 81 y += SkScalarFloorToInt(bounds.height())) { in onDraw()
|
D | anisotropic.cpp | 69 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); in onDraw() 84 int width = SkScalarFloorToInt(fBM.width() * gScales[i]); in onDraw()
|
D | textblobmixedsizes.cpp | 122 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() 123 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
|
/external/skia/include/core/ |
D | SkSize.h | 112 s.set(SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)); in toFloor()
|
D | SkRect.h | 832 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut() 858 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)); in roundIn()
|
D | SkScalar.h | 34 #define SkScalarFloorToInt(x) sk_float_floor2int(x) macro
|
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 54 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || in check_conversion() 79 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion() 87 lowerComponent = SkScalarFloorToInt(lower * 255.f); in check_double_conversion()
|
D | ApplyGammaTest.cpp | 62 if (dstComponent < SkScalarFloorToInt(lower * 255.f) || in check_gamma()
|
/external/skia/src/gpu/ |
D | GrClip.h | 105 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), in GetPixelIBounds() 106 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance), in GetPixelIBounds()
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 193 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) in filterPixels() 195 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels() 196 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); in filterPixels() 197 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a); in filterPixels()
|
D | SkMagnifierImageFilter.cpp | 436 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 437 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
|
/external/skia/src/core/ |
D | SkScalerContext.h | 61 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma() 69 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
|
D | SkDraw.cpp | 295 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_hair_proc() 296 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_hair_proc() 316 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_16_hair_proc() 317 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_16_hair_proc() 337 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_32_hair_proc() 338 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_32_hair_proc() 348 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_hair_proc() 349 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_hair_proc() 1461 int left = SkScalarFloorToInt(position.fX); in operator ()() 1462 int top = SkScalarFloorToInt(position.fY); in operator ()() [all …]
|
D | SkOverdrawCanvas.cpp | 29 int left = SkScalarFloorToInt(position.fX) + glyph.fLeft; in operator ()() 30 int top = SkScalarFloorToInt(position.fY) + glyph.fTop; in operator ()()
|
D | SkLinearBitmapPipeline_tile.h | 296 int32_t repeatCount = SkScalarFloorToInt(div); in maybeProcessSpan() 297 Span repeatableSpan{{0.0f, y}, fXMax - 1.0f, SkScalarFloorToInt(fXMax)}; in maybeProcessSpan()
|
D | SkLinearBitmapPipeline_sample.h | 300 int ix = SkScalarFloorToInt(X(start)); in src_strategy_blend() 596 int x0 = adjust_edge(fXEdgeType, SkScalarFloorToInt(X(sample) - 0.5), fXMax); in filterPoints() 599 int y0 = adjust_edge(fYEdgeType, SkScalarFloorToInt(Y(sample) - 0.5), fYMax); in filterPoints() 638 this->get2PixelColumn(row0, row1, SkScalarFloorToInt(X(start)), &pxTop, &pxBottom); in spanZeroRate()
|
D | SkGpuBlurUtils.cpp | 24 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout() 25 rect->fTop = SkScalarFloorToInt(rect->fTop * yScale); in scale_irect_roundout()
|
D | SkBitmapScaler.cpp | 196 output->AddFilter(SkScalarFloorToInt(srcBegin), fixedFilterValues, filterCount); in computeFilters()
|
D | SkLinearBitmapPipeline_core.h | 98 int dxSteps = SkScalarFloorToInt((breakX - this->startX()) / dx); in breakAt()
|
/external/skia/src/gpu/text/ |
D | GrTextUtils.cpp | 101 SkScalarFloorToInt(position.fX), SkScalarFloorToInt(position.fY), in DrawBmpText() 137 SkScalarFloorToInt(position.fX), SkScalarFloorToInt(position.fY), in DrawBmpPosText()
|
/external/skia/src/utils/ |
D | SkInterpolator.cpp | 80 endTime = SkScalarFloorToInt(fRepeat * totalTime); in timeToT() 84 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
|
/external/skia/samplecode/ |
D | SampleDegenerateTwoPtRadials.cpp | 56 int intPart = SkScalarFloorToInt(delta); in onDrawContent()
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 392 noisePositionIntegerValue = SkScalarFloorToInt(position); in noise2D() 511 int X = SkScalarFloorToInt(x) & 255; in calculateImprovedNoiseValueForPoint() 512 int Y = SkScalarFloorToInt(y) & 255; in calculateImprovedNoiseValueForPoint() 513 int Z = SkScalarFloorToInt(z) & 255; in calculateImprovedNoiseValueForPoint() 562 rgba[channel] = SkScalarFloorToInt(255 * value); in shade()
|