/external/skia/src/core/ |
D | SkBitmapProcState_matrix.h | 42 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_NOFILTER_NAME() 43 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_NOFILTER_NAME() 105 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_NOFILTER_NAME() 106 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_NOFILTER_NAME() 131 SkIntToScalar(x) + SK_ScalarHalf, in PERSP_NOFILTER_NAME() 132 SkIntToScalar(y) + SK_ScalarHalf, count); in PERSP_NOFILTER_NAME() 175 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME() 176 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_FILTER_NAME() 211 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_FILTER_NAME() 212 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_FILTER_NAME() [all …]
|
D | SkBitmapShader16BilerpTemplate.h | 40 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 41 SkIntToScalar(y) + SK_ScalarHalf, count); in shadeSpan() 84 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 85 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 149 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 150 SkIntToScalar(y) + SK_ScalarHalf, count); in shadeSpan16() 192 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 193 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan16()
|
D | SkBitmapShaderTemplate.h | 75 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 76 SkIntToScalar(y) + SK_ScalarHalf, count); in shadeSpan() 117 invProc(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 118 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 219 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 220 SkIntToScalar(y) + SK_ScalarHalf, count); in shadeSpan16() 240 invProc(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 241 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan16()
|
D | SkBitmapProcState_matrix_repeat.h | 72 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_NOFILTER_NAME() 73 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_NOFILTER_NAME() 201 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_NOFILTER_NAME() 202 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_NOFILTER_NAME() 321 SkIntToScalar(x) + SK_ScalarHalf, in PERSP_NOFILTER_NAME() 322 SkIntToScalar(y) + SK_ScalarHalf, count); in PERSP_NOFILTER_NAME() 460 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME() 461 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_FILTER_NAME() 496 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_FILTER_NAME() 497 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_FILTER_NAME() [all …]
|
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 82 SkPerspIter iter(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 83 SkIntToScalar(y) + SK_ScalarHalf, count); in shadeSpan() 120 this->getInverseMapPtProc()(inv, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 121 SkIntToScalar(y) + SK_ScalarHalf, in shadeSpan()
|
D | SkBitmapProcState_matrix_clamp.h | 74 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_NOFILTER_NAME() 75 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_NOFILTER_NAME() 178 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_NOFILTER_NAME() 179 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_NOFILTER_NAME() 291 SkIntToScalar(x) + SK_ScalarHalf, in PERSP_NOFILTER_NAME() 292 SkIntToScalar(y) + SK_ScalarHalf, count); in PERSP_NOFILTER_NAME() 504 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME() 505 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_FILTER_NAME() 611 SkIntToScalar(x) + SK_ScalarHalf, in AFFINE_FILTER_NAME() 612 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in AFFINE_FILTER_NAME() [all …]
|
D | SkBitmapProcState_shaderproc.h | 32 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME() 33 SkIntToScalar(y) + SK_ScalarHalf, &pt); in SCALE_FILTER_NAME()
|
/external/skia/tests/ |
D | PathMeasureTest.cpp | 62 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in TestPathMeasure() 64 SkScalarNearlyEqual(position.fX, -SK_ScalarHalf, SK_Scalar1 * 0.0001)); in TestPathMeasure() 85 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in TestPathMeasure() 87 SkScalarNearlyEqual(position.fX, SK_ScalarHalf, SK_Scalar1 * 0.0001)); in TestPathMeasure() 115 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in TestPathMeasure() 117 SkScalarNearlyEqual(position.fX, SK_ScalarHalf, SK_Scalar1 * 0.0001)); in TestPathMeasure() 124 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent)); in TestPathMeasure()
|
/external/skia/gm/ |
D | filltypespersp.cpp | 53 SkScalar pos[] = {0, SK_ScalarHalf, SK_Scalar1}; in showFour() 80 SkScalar pos[] = {0, SK_ScalarHalf / 2, in onDraw() 81 3 * SK_ScalarHalf / 2, SK_Scalar1}; in onDraw()
|
D | shapes.cpp | 104 cv->scale(SK_ScalarHalf, SK_ScalarHalf); in onDraw()
|
D | xfermodes.cpp | 154 r.inset(-SK_ScalarHalf, -SK_ScalarHalf); in onDraw()
|
/external/skia/samplecode/ |
D | SampleLineClipper.cpp | 215 drawVLine(canvas, fClip.fLeft + SK_ScalarHalf, paint); in onDrawContent() 216 drawVLine(canvas, fClip.fRight - SK_ScalarHalf, paint); in onDrawContent() 217 drawHLine(canvas, fClip.fTop + SK_ScalarHalf, paint); in onDrawContent() 218 drawHLine(canvas, fClip.fBottom - SK_ScalarHalf, paint); in onDrawContent()
|
D | SampleOvalTest.cpp | 61 SkScalar px = SkIntToScalar(x) + SK_ScalarHalf; in checkOval() 62 SkScalar py = SkIntToScalar(y) + SK_ScalarHalf; in checkOval()
|
D | SampleAAClip.cpp | 83 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); in onDrawContent()
|
D | SampleTextEffects.cpp | 203 src[0].set(SkIntToScalar(u) + SK_ScalarHalf, in nextSpan() 204 SkIntToScalar(v) + SK_ScalarHalf); in nextSpan() 205 src[1].set(SkIntToScalar(u+ucount) + SK_ScalarHalf, in nextSpan() 206 SkIntToScalar(v) + SK_ScalarHalf); in nextSpan()
|
D | SampleShapes.cpp | 140 cv->scale(SK_ScalarHalf, SK_ScalarHalf); in onDrawContent()
|
D | SampleMipMap.cpp | 65 canvas->scale(SK_ScalarHalf, SK_ScalarHalf); in drawN()
|
D | SampleAAClip2.cpp | 114 r.inset(-SK_ScalarHalf, -SK_ScalarHalf); in outer_frame()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | rounded_rect_painter.cc | 61 SkIntToScalar(x) - SK_ScalarHalf, in DrawRoundedRect() 62 SkIntToScalar(y) - SK_ScalarHalf, in DrawRoundedRect() 63 SkIntToScalar(x + w) + SK_ScalarHalf, in DrawRoundedRect() 64 SkIntToScalar(y + h) + SK_ScalarHalf); in DrawRoundedRect()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 258 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_filter_scale_SSE2() 259 SkIntToScalar(y) + SK_ScalarHalf, &pt); in ClampX_ClampY_filter_scale_SSE2() 379 s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_nofilter_scale_SSE2() 380 SkIntToScalar(y) + SK_ScalarHalf, &pt); in ClampX_ClampY_nofilter_scale_SSE2() 494 SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_filter_affine_SSE2() 495 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in ClampX_ClampY_filter_affine_SSE2() 570 SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_nofilter_affine_SSE2() 571 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in ClampX_ClampY_nofilter_affine_SSE2()
|
/external/skia/src/views/ |
D | SkWindow.cpp | 37 rr.inset(SK_ScalarHalf, SK_ScalarHalf); in onIRect() 39 rr.inset(-SK_ScalarHalf, -SK_ScalarHalf); in onIRect()
|
/external/skia/src/effects/ |
D | Sk2DPathEffect.cpp | 53 src.set(SkIntToScalar(x) + SK_ScalarHalf, SkIntToScalar(y) + SK_ScalarHalf); in nextSpan()
|
D | SkGradientShader.cpp | 1035 dstProc(fDstToIndex, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 1036 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 1228 dstProc(fDstToIndex, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 1229 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan16() 1444 dstProc(fDstToIndex, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan16() 1445 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan16() 1713 dstProc(fDstToIndex, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 1714 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() 1987 dstProc(fDstToIndex, SkIntToScalar(x) + SK_ScalarHalf, in shadeSpan() 1988 SkIntToScalar(y) + SK_ScalarHalf, &srcPt); in shadeSpan() [all …]
|
/external/chromium/chrome/browser/ui/views/infobars/ |
D | infobar_view.cc | 169 SkIntToScalar(arrow_x) + SK_ScalarHalf - arrow_fill_half_width, in Layout() 170 SkIntToScalar(arrow_height()) - (separator_height * SK_ScalarHalf)); in Layout() 177 fill_path_->offset(0, -separator_height * SK_ScalarHalf); in Layout()
|
/external/skia/src/utils/ |
D | SkLayer.cpp | 25 m_anchorPoint.set(SK_ScalarHalf, SK_ScalarHalf); in SkLayer()
|