/external/skia/bench/ |
D | MorphologyBench.cpp | 69 mf = SkDilateImageFilter::Create(SkScalarFloorToInt(fRadius), in onDraw() 70 SkScalarFloorToInt(fRadius)); in onDraw() 73 mf = SkErodeImageFilter::Create(SkScalarFloorToInt(fRadius), in onDraw() 74 SkScalarFloorToInt(fRadius)); in onDraw()
|
/external/skia/src/core/ |
D | SkBitmapProcState.cpp | 552 int iy2 = SkClampMax(SkScalarFloorToInt(pt.fY), maxY); in Clamp_S32_D32_nofilter_trans_shaderproc() 553 int ix2 = SkScalarFloorToInt(pt.fX); in Clamp_S32_D32_nofilter_trans_shaderproc() 626 int iy2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); in Repeat_S32_D32_nofilter_trans_shaderproc() 627 int ix2 = SkScalarFloorToInt(pt.fX); in Repeat_S32_D32_nofilter_trans_shaderproc() 685 yTemp = SkScalarFloorToInt(pt.fY * s.fBitmap->height()); in S32_D32_constX_shaderproc() 687 yTemp = SkScalarFloorToInt(pt.fY); in S32_D32_constX_shaderproc() 723 iY2 = SkClampMax(SkScalarFloorToInt(pt.fY), stopY-1); in S32_D32_constX_shaderproc() 726 iY2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); in S32_D32_constX_shaderproc() 730 iY2 = sk_int_mirror(SkScalarFloorToInt(pt.fY), stopY); in S32_D32_constX_shaderproc() 784 fFilterOneX = SkScalarFloorToInt(pt.fX); in setupForTranslate() [all …]
|
D | SkScalerContext.h | 45 fDeviceGamma = SkScalarFloorToInt(dg * (1 << 6)); in setDeviceGamma() 53 fPaintGamma = SkScalarFloorToInt(pg * (1 << 6)); in setPaintGamma()
|
D | SkBitmapScaler.cpp | 139 …for (int destSubsetI = SkScalarFloorToInt(destSubsetLo); destSubsetI < SkScalarCeilToInt(destSubse… in computeFilters() 155 int srcBegin = SkTMax(0, SkScalarFloorToInt(srcPixel - srcSupport)); in computeFilters()
|
D | SkDraw.cpp | 320 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_hair_proc() 321 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_hair_proc() 341 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_16_hair_proc() 342 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_16_hair_proc() 362 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_rect_32_hair_proc() 363 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_rect_32_hair_proc() 373 int x = SkScalarFloorToInt(devPts[i].fX); in bw_pt_hair_proc() 374 int y = SkScalarFloorToInt(devPts[i].fY); in bw_pt_hair_proc()
|
D | SkMipMap.cpp | 338 int level = SkScalarFloorToInt(L); in extractLevel()
|
/external/skia/gm/ |
D | textblobcolortrans.cpp | 78 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; in onDraw() 79 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 | textbloblooper.cpp | 244 y += SkScalarFloorToInt(bounds.height()); in onDraw()
|
/external/skia/include/core/ |
D | SkSize.h | 105 s.set(SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight)); in toFloor()
|
D | SkScalar.h | 42 #define SkScalarFloorToInt(x) sk_float_floor2int(x) macro 85 #define SkScalarFloorToInt(x) (int)floor(x) macro
|
D | SkRect.h | 851 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop), in roundOut() 877 SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom)); in roundIn()
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 191 ? SkClampMax(SkScalarFloorToInt(SkScalarMul(sumA, fGain) + fBias), 255) in filterPixels() 193 int r = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumR, fGain) + fBias), a); in filterPixels() 194 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a); in filterPixels() 195 int b = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumB, fGain) + fBias), a); in filterPixels()
|
D | SkMorphologyImageFilter.cpp | 165 int width = SkScalarFloorToInt(radius.fX); in filterImageGeneric() 166 int height = SkScalarFloorToInt(radius.fY); in filterImageGeneric() 722 int width = SkScalarFloorToInt(radius.fX); in filterImageGPUGeneric() 723 int height = SkScalarFloorToInt(radius.fY); in filterImageGPUGeneric()
|
D | SkGpuBlurUtils.cpp | 175 desc.fWidth = SkScalarFloorToInt(srcRect.width()); in GaussianBlur() 176 desc.fHeight = SkScalarFloorToInt(srcRect.height()); in GaussianBlur()
|
D | SkMagnifierImageFilter.cpp | 376 int x_val = SkPin32(SkScalarFloorToInt(x_interp), 0, width - 1); in onFilterImage() 377 int y_val = SkPin32(SkScalarFloorToInt(y_interp), 0, height - 1); in onFilterImage()
|
D | SkBlurMask.cpp | 759 int sw = SkScalarFloorToInt(src.width()); in BlurRect() 760 int sh = SkScalarFloorToInt(src.height()); in BlurRect()
|
/external/skia/src/utils/ |
D | SkCullPoints.cpp | 195 iTarget.fLeft = SkScalarFloorToInt(devTarget.fLeft); in SkHitTestPath() 196 iTarget.fTop = SkScalarFloorToInt(devTarget.fTop); in SkHitTestPath()
|
D | SkInterpolator.cpp | 79 endTime = SkScalarFloorToInt(fRepeat * totalTime); in timeToT() 83 (SkMSec) SkScalarFloorToInt(fraction * totalTime); in timeToT()
|
/external/skia/src/animator/ |
D | SkSnapshot.cpp | 67 encoder->encodeFile(name.c_str(), pixels, SkScalarFloorToInt(quality)); in draw()
|
D | SkDrawColor.cpp | 72 int sextant = SkScalarFloorToInt(hue / 60); in HSV_to_RGB()
|
D | SkScript.cpp | 1160 int index = indexType == kScalar ? SkScalarFloorToInt(indexOperand.fScalar) : in logicalOp() 1327 operand1.fS32 = SkScalarFloorToInt(operand1.fScalar); in processOp() 1342 operand2.fS32 = SkScalarFloorToInt(operand2.fScalar); in processOp() 1506 operand.fS32 = SkScalarFloorToInt(operand.fScalar); in ConvertTo()
|
D | SkScriptRuntime.cpp | 213 operand[0].fS32 = SkScalarFloorToInt(operand[0].fScalar); in executeTokens()
|
/external/skia/samplecode/ |
D | SampleDegenerateTwoPtRadials.cpp | 58 int intPart = SkScalarFloorToInt(delta); in onDrawContent()
|
/external/skia/src/gpu/ |
D | GrAARectRenderer.cpp | 277 scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in generateAAFillRectGeometry() 740 scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in generateAAStrokeRectGeometry()
|