/external/skia/bench/ |
MorphologyBench.cpp | 69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), 70 SkScalarFloorToInt(fRadius), 74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), 75 SkScalarFloorToInt(fRadius),
|
/external/skia/gm/ |
textblobblockreordering.cpp | 60 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; 61 const int xDelta = SkScalarFloorToInt(bounds.width());
|
textblobcolortrans.cpp | 80 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; 81 y += SkScalarFloorToInt(bounds.height())) {
|
anisotropic.cpp | 69 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); 84 int width = SkScalarFloorToInt(fBM.width() * gScales[i]);
|
textblobmixedsizes.cpp | 122 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); 123 const int kPadY = SkScalarFloorToInt(bounds.height() / 3);
|
textbloblooper.cpp | 244 y += SkScalarFloorToInt(bounds.height());
|
/external/skia/include/core/ |
SkSize.h | 112 s.set(SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight));
|
SkRect.h | 832 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), 858 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom));
|
SkScalar.h | 34 #define SkScalarFloorToInt(x) sk_float_floor2int(x)
|
/external/skia/src/gpu/ |
GrClip.h | 105 return SkIRect::MakeLTRB(SkScalarFloorToInt(bounds.fLeft + kBoundsTolerance), 106 SkScalarFloorToInt(bounds.fTop + kBoundsTolerance),
|
/external/skia/tests/ |
SRGBReadWritePixelsTest.cpp | 54 if (outputComponent < SkScalarFloorToInt(lower * 255.f) || 79 uint8_t lowerComponent = SkScalarFloorToInt(lower * 255.f); 87 lowerComponent = SkScalarFloorToInt(lower * 255.f);
|
ApplyGammaTest.cpp | 62 if (dstComponent < SkScalarFloorToInt(lower * 255.f) ||
|
/external/skia/samplecode/ |
SampleDegenerateTwoPtRadials.cpp | 56 int intPart = SkScalarFloorToInt(delta);
|
/external/skia/src/core/ |
SkScalerContext.h | 61 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); 69 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6));
|
SkDraw.cpp | 295 int x = SkScalarFloorToInt(devPts[i].fX); 296 int y = SkScalarFloorToInt(devPts[i].fY); 316 int x = SkScalarFloorToInt(devPts[i].fX); 317 int y = SkScalarFloorToInt(devPts[i].fY); 337 int x = SkScalarFloorToInt(devPts[i].fX); 338 int y = SkScalarFloorToInt(devPts[i].fY); 348 int x = SkScalarFloorToInt(devPts[i].fX); 349 int y = SkScalarFloorToInt(devPts[i].fY); [all...] |
SkLinearBitmapPipeline_tile.h | 296 int32_t repeatCount = SkScalarFloorToInt(div); 297 Span repeatableSpan{{0.0f, y}, fXMax - 1.0f, SkScalarFloorToInt(fXMax)};
|
SkOverdrawCanvas.cpp | 29 int left = SkScalarFloorToInt(position.fX) + glyph.fLeft; 30 int top = SkScalarFloorToInt(position.fY) + glyph.fTop;
|
SkBitmapScaler.cpp | 196 output->AddFilter(SkScalarFloorToInt(srcBegin), fixedFilterValues, filterCount);
|
SkLinearBitmapPipeline_core.h | 98 int dxSteps = SkScalarFloorToInt((breakX - this->startX()) / dx);
|
SkLinearBitmapPipeline_sample.h | 300 int ix = SkScalarFloorToInt(X(start)); 596 int x0 = adjust_edge(fXEdgeType, SkScalarFloorToInt(X(sample) - 0.5), fXMax); 599 int y0 = adjust_edge(fYEdgeType, SkScalarFloorToInt(Y(sample) - 0.5), fYMax); 638 this->get2PixelColumn(row0, row1, SkScalarFloorToInt(X(start)), &pxTop, &pxBottom); [all...] |
SkGpuBlurUtils.cpp | 24 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); 25 rect->fTop = SkScalarFloorToInt(rect->fTop * yScale);
|
/external/skia/src/utils/ |
SkInterpolator.cpp | 80 endTime = SkScalarFloorToInt(fRepeat * totalTime); 84 (SkMSec) SkScalarFloorToInt(fraction * totalTime);
|
/external/skia/src/effects/ |
SkMatrixConvolutionImageFilter.cpp | 193 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) 195 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); 196 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); 197 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a);
|
SkMagnifierImageFilter.cpp | 436 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); 437 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1);
|
/external/skia/src/gpu/text/ |
GrTextUtils.cpp | 101 SkScalarFloorToInt(position.fX), SkScalarFloorToInt(position.fY), 137 SkScalarFloorToInt(position.fX), SkScalarFloorToInt(position.fY),
|