Searched refs:lastY (Results 1 - 9 of 9) sorted by relevance

/external/freetype/src/raster/
H A Dftraster.c481 Long lastX, lastY; member in struct:black_TWorker_
1432 /* is stored in `lastY'). */
1447 if ( y > ras.lastY )
1450 IS_BOTTOM_OVERSHOOT( ras.lastY ) ) )
1455 if ( y < ras.lastY )
1457 IS_TOP_OVERSHOOT( ras.lastY ) ) )
1463 if ( y < ras.lastY )
1465 if ( End_Profile( RAS_VARS IS_TOP_OVERSHOOT( ras.lastY ) ) ||
1467 IS_TOP_OVERSHOOT( ras.lastY ) ) )
1473 if ( y > ras.lastY )
[all...]
/external/skia/src/core/
H A DSkAAClip.cpp199 const int lastY = fBounds.height() - 1; local
206 SkASSERT(yoff->fY <= lastY);
217 SkASSERT(yoff->fY == lastY);
550 const YOffset& lastY = yoff[head->fRowCount - 1]; local
551 SkASSERT(lastY.fY + 1 <= fBounds.height());
552 fBounds.fBottom = fBounds.fTop + lastY.fY + 1;
553 SkASSERT(lastY.fY + 1 == fBounds.height());
834 int lastY; local
835 const uint8_t* row = this->findRow(top, &lastY);
836 if (lastY < botto
1438 SkASSERT(min < max); SkASSERT(boundsMin < boundsMax); if (min >= boundsMax || max <= boundsMin) { return false; } if (min < boundsMin) { min = boundsMin; } if (max > boundsMax) { max = boundsMax; } return true; } static void operatorX(SkAAClip::Builder& builder, int lastY, RowIter& iterA, RowIter& iterB, AlphaProc proc, const SkIRect& bounds) { int leftA = iterA.left(); int riteA = iterA.right(); int leftB = iterB.left(); int riteB = iterB.right(); int prevRite = bounds.fLeft; do { U8CPU alphaA = 0; U8CPU alphaB = 0; int left, rite; if (leftA < leftB) { left = leftA; alphaA = iterA.alpha(); if (riteA <= leftB) { rite = riteA; } else { rite = leftA = leftB; } } else if (leftB < leftA) { left = leftB; alphaB = iterB.alpha(); if (riteB <= leftA) { rite = riteB; } else { rite = leftB = leftA; } } else { left = leftA; rite = leftA = leftB = SkMin32(riteA, riteB); alphaA = iterA.alpha(); alphaB = iterB.alpha(); } if (left >= bounds.fRight) { break; } if (rite > bounds.fRight) { rite = bounds.fRight; } if (left >= bounds.fLeft) { SkASSERT(rite > left); builder.addRun(left, lastY, proc(alphaA, alphaB), rite - left); prevRite = rite; } adjust_row(iterA, leftA, riteA, rite); adjust_row(iterB, leftB, riteB, rite); } while (!iterA.done() || !iterB.done()); if (prevRite < bounds.fRight) { builder.addRun(prevRite, lastY, 0, bounds.fRight - prevRite); } } static void adjust_iter(SkAAClip::Iter& iter, int& topA, int& botA, int bot) { if (bot == botA) { iter.next(); topA = botA; SkASSERT(botA == iter.top()); botA = iter.bottom(); } } static void operateY(SkAAClip::Builder& builder, const SkAAClip& A, const SkAAClip& B, SkRegion::Op op) { AlphaProc proc = find_alpha_proc(op); const SkIRect& bounds = builder.getBounds(); SkAAClip::Iter iterA(A); SkAAClip::Iter iterB(B); SkASSERT(!iterA.done()); int topA = iterA.top(); int botA = iterA.bottom(); SkASSERT(!iterB.done()); int topB = iterB.top(); int botB = iterB.bottom(); do { const uint8_t* rowA = NULL; const uint8_t* rowB = NULL; int top, bot; if (topA < topB) { top = topA; rowA = iterA.data(); if (botA <= topB) { bot = botA; } else { bot = topA = topB; } } else if (topB < topA) { top = topB; rowB = iterB.data(); if (botB <= topA) { bot = botB; } else { bot = topB = topA; } } else { top = topA; bot = topA = topB = SkMin32(botA, botB); rowA = iterA.data(); rowB = iterB.data(); } if (top >= bounds.fBottom) { break; } if (bot > bounds.fBottom) { bot = bounds.fBottom; } SkASSERT(top < bot); if (!rowA && !rowB) { builder.addRun(bounds.fLeft, bot - 1, 0, bounds.width()); } else if (top >= bounds.fTop) { SkASSERT(bot <= bounds.fBottom); RowIter rowIterA(rowA, rowA ? A.getBounds() : bounds); RowIter rowIterB(rowB, rowB ? B.getBounds() : bounds); operatorX(builder, bot - 1, rowIterA, rowIterB, proc, bounds); } adjust_iter(iterA, topA, botA, bot); adjust_iter(iterB, topB, botB, bot); } while (!iterA.done() || !iterB.done()); } bool SkAAClip::op(const SkAAClip& clipAOrig, const SkAAClip& clipBOrig, SkRegion::Op op) { AUTO_AACLIP_VALIDATE(*this); if (SkRegion::kReplace_Op == op) { return this->set(clipBOrig); } const SkAAClip* clipA = &clipAOrig; const SkAAClip* clipB = &clipBOrig; if (SkRegion::kReverseDifference_Op == op) { SkTSwap(clipA, clipB); op = SkRegion::kDifference_Op; } bool a_empty = clipA->isEmpty(); bool b_empty = clipB->isEmpty(); SkIRect bounds; switch (op) { case SkRegion::kDifference_Op: if (a_empty) { return this->setEmpty(); } if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds) argument
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
H A DAndroidInput.java49 private int lastY; field in class:AndroidInput
422 lastY = -1;
432 lastY = -1;
440 dy = newY - lastY;
449 lastY = newY;
/external/v8/benchmarks/
H A Dnavier-stokes.js185 var lastY = y[currentRow];
189 lastY = y[currentRow] = (y0[currentRow] + a * (lastY + y[++currentRow] + y[++lastRow] + y[++nextRow])) * invC;
/external/webkit/Source/WebCore/editing/
H A DSelectionController.cpp898 int lastY = startY;
913 if (nextY >= lastY) {
914 lastY = nextY;
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 534 milliseconds