Home
last modified time | relevance | path

Searched refs:newy (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/core/
DSkAnalyticEdge.cpp371 SkFixed newx, newy, newSnappedX, newSnappedY; in updateQuadratic() local
381 newy = oldy + (dy >> shift); in updateQuadratic()
383 SkFDot6 diffY = SkFixedToFDot6(newy - fSnappedY); in updateQuadratic()
386 newSnappedY = SkTMin<SkFixed>(fQEdge.fQLastY, SkFixedRoundToFixed(newy)); in updateQuadratic()
387 newSnappedX = newx - SkFixedMul(slope, newy - newSnappedY); in updateQuadratic()
389 newSnappedY = SkTMin(fQEdge.fQLastY, SnapY(newy)); in updateQuadratic()
401 newy = fQEdge.fQLastY; in updateQuadratic()
402 newSnappedY = newy; in updateQuadratic()
404 SkFDot6 diffY = (newy - fSnappedY) >> 10; in updateQuadratic()
411 oldy = newy; in updateQuadratic()
[all …]
DSkEdge.cpp296 SkFixed newx, newy; in updateQuadratic() local
306 newy = oldy + (dy >> shift); in updateQuadratic()
312 newy = fQLastY; in updateQuadratic()
314 success = this->updateLine(oldx, oldy, newx, newy); in updateQuadratic()
316 oldy = newy; in updateQuadratic()
320 fQy = newy; in updateQuadratic()
464 SkFixed newx, newy; in updateCubic() local
477 newy = oldy + (fCDy >> dshift); in updateCubic()
485 newy = fCLastY; in updateCubic()
490 if (newy < oldy) { in updateCubic()
[all …]
/external/skia/src/core/
DSkAnalyticEdge.cpp371 SkFixed newx, newy, newSnappedX, newSnappedY; in updateQuadratic() local
381 newy = oldy + (dy >> shift); in updateQuadratic()
383 SkFDot6 diffY = SkFixedToFDot6(newy - fSnappedY); in updateQuadratic()
386 newSnappedY = std::min<SkFixed>(fQEdge.fQLastY, SkFixedRoundToFixed(newy)); in updateQuadratic()
387 newSnappedX = newx - SkFixedMul(slope, newy - newSnappedY); in updateQuadratic()
389 newSnappedY = std::min(fQEdge.fQLastY, SnapY(newy)); in updateQuadratic()
401 newy = fQEdge.fQLastY; in updateQuadratic()
402 newSnappedY = newy; in updateQuadratic()
404 SkFDot6 diffY = (newy - fSnappedY) >> 10; in updateQuadratic()
411 oldy = newy; in updateQuadratic()
[all …]
DSkEdge.cpp296 SkFixed newx, newy; in updateQuadratic() local
306 newy = oldy + (dy >> shift); in updateQuadratic()
312 newy = fQLastY; in updateQuadratic()
314 success = this->updateLine(oldx, oldy, newx, newy); in updateQuadratic()
316 oldy = newy; in updateQuadratic()
320 fQy = newy; in updateQuadratic()
464 SkFixed newx, newy; in updateCubic() local
477 newy = oldy + (fCDy >> dshift); in updateCubic()
485 newy = fCLastY; in updateCubic()
490 if (newy < oldy) { in updateCubic()
[all …]
/external/python/cpython2/Lib/idlelib/
DZoomHeight.py32 newy = 0
39 newy = 22
40 newheight = newheight - newy - 88
44 newy = 0
50 newgeom = "%dx%d+%d+%d" % (width, newheight, x, newy)
/external/python/cpython2/Modules/
Dimageop.c179 int len, size, x, y, newx, newy, nlen; in imageop_scale() local
185 &cp, &len, &size, &x, &y, &newx, &newy) ) in imageop_scale()
194 nlen = newx*newy*size; in imageop_scale()
195 if ( !check_multiply_size(nlen, newx, "newx", newy, "newy", size) ) in imageop_scale()
204 for( iy = 0; iy < newy; iy++ ) { in imageop_scale()
207 oiy = iy * y / newy; in imageop_scale()
/external/ImageMagick/PerlMagick/demo/
DTurtle.pm19 my ($newx, $newy)=($self->{x}+$r* sin($self->{theta}),
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c1288 register time_t newy; in localsub() local
1290 newy = tmp->tm_year; in localsub()
1292 newy -= years; in localsub()
1293 else newy += years; in localsub()
1294 tmp->tm_year = newy; in localsub()
1295 if (tmp->tm_year != newy) in localsub()
1458 int newy; in timesub() local
1470 newy = y; in timesub()
1471 if (increment_overflow(&newy, idelta)) in timesub()
1473 leapdays = leaps_thru_end_of(newy - 1) - in timesub()
[all …]