Home
last modified time | relevance | path

Searched refs:SK_ScalarHalf (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/src/core/
DSkBitmapProcState_matrix.h42 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 …]
DSkBitmapShader16BilerpTemplate.h40 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()
DSkBitmapShaderTemplate.h75 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()
DSkBitmapProcState_matrix_repeat.h72 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 …]
DARGB32_Clamp_Bilinear_BitmapShader.h82 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()
DSkBitmapProcState_matrix_clamp.h74 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 …]
DSkBitmapProcState_shaderproc.h32 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/
DPathMeasureTest.cpp62 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/
Dfilltypespersp.cpp53 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()
Dshapes.cpp104 cv->scale(SK_ScalarHalf, SK_ScalarHalf); in onDraw()
Dxfermodes.cpp154 r.inset(-SK_ScalarHalf, -SK_ScalarHalf); in onDraw()
/external/skia/samplecode/
DSampleLineClipper.cpp215 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()
DSampleOvalTest.cpp61 SkScalar px = SkIntToScalar(x) + SK_ScalarHalf; in checkOval()
62 SkScalar py = SkIntToScalar(y) + SK_ScalarHalf; in checkOval()
DSampleAAClip.cpp83 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); in onDrawContent()
DSampleTextEffects.cpp203 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()
DSampleShapes.cpp140 cv->scale(SK_ScalarHalf, SK_ScalarHalf); in onDrawContent()
DSampleMipMap.cpp65 canvas->scale(SK_ScalarHalf, SK_ScalarHalf); in drawN()
DSampleAAClip2.cpp114 r.inset(-SK_ScalarHalf, -SK_ScalarHalf); in outer_frame()
/external/chromium/chrome/browser/chromeos/login/
Drounded_rect_painter.cc61 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/
DSkBitmapProcState_opts_SSE2.cpp258 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/
DSkWindow.cpp37 rr.inset(SK_ScalarHalf, SK_ScalarHalf); in onIRect()
39 rr.inset(-SK_ScalarHalf, -SK_ScalarHalf); in onIRect()
/external/skia/src/effects/
DSk2DPathEffect.cpp53 src.set(SkIntToScalar(x) + SK_ScalarHalf, SkIntToScalar(y) + SK_ScalarHalf); in nextSpan()
DSkGradientShader.cpp1035 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/
Dinfobar_view.cc169 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/
DSkLayer.cpp25 m_anchorPoint.set(SK_ScalarHalf, SK_ScalarHalf); in SkLayer()

12