Home
last modified time | relevance | path

Searched refs:fLastY (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/skia/
Dfix_for_1186198.diff18 - fLastY = SkToS16(bot - 1);
28 + fLastY = (int16_t)(bot - 1); // inlined SkToS16()
29 + if (bot-1 != (long)fLastY) {
30 + if (fLastY < bot-1) {
31 + fLastY = std::numeric_limits<int16_t>::max();
33 + fLastY = std::numeric_limits<int16_t>::min();
/external/skia/src/views/
DSkTouchGesture.cpp140 rec->fStartY = rec->fPrevY = rec->fLastY = y; in appendNewRec()
220 if (close_enough_for_jitter(rec.fLastX, rec.fLastY, x, y)) { in touchMoved()
227 rec.fPrevY = rec.fLastY; rec.fLastY = y; in touchMoved()
233 float dy = rec.fLastY - rec.fStartY; in touchMoved()
250 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
267 if (this->handleDblTap(rec.fLastX, rec.fLastY)) { in touchEnd()
276 float dy = rec.fLastY - rec.fPrevY; in touchEnd()
302 dy = rec0.fLastY - rec1.fLastY; in computePinch()
/external/chromium_org/third_party/skia/src/views/
DSkTouchGesture.cpp140 rec->fStartY = rec->fPrevY = rec->fLastY = y; in appendNewRec()
220 if (close_enough_for_jitter(rec.fLastX, rec.fLastY, x, y)) { in touchMoved()
227 rec.fPrevY = rec.fLastY; rec.fLastY = y; in touchMoved()
233 float dy = rec.fLastY - rec.fStartY; in touchMoved()
250 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
267 if (this->handleDblTap(rec.fLastX, rec.fLastY)) { in touchEnd()
276 float dy = rec.fLastY - rec.fPrevY; in touchEnd()
302 dy = rec0.fLastY - rec1.fLastY; in computePinch()
/external/chromium_org/third_party/skia/src/core/
DSkRegion_path.cpp44 SkDebugf("SkRgnBuilder::Scanline: LastY=%d, fXCount=%d", line->fLastY, line->fXCount); in dump()
68 SkRegion::RunType fLastY; member
88 fPrevScanline->fLastY + 1 == fCurrScanline->fLastY && in collapsWithPrev()
95 fPrevScanline->fLastY = fCurrScanline->fLastY; in collapsWithPrev()
157 fCurrScanline->fLastY = (SkRegion::RunType)(y); in blitH()
160 SkASSERT(y >= fCurrScanline->fLastY); in blitH()
162 if (y > fCurrScanline->fLastY) { in blitH()
166 int prevLastY = fCurrScanline->fLastY; in blitH()
173 fCurrScanline->fLastY = (SkRegion::RunType)(y - 1); in blitH()
178 fCurrScanline->fLastY = (SkRegion::RunType)(y); in blitH()
[all …]
DSkEdge.h33 int32_t fLastY; member
48 return fLastY >= clip.fTop; in intersectsClip()
53 …SkDebugf("edge: firstY:%d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixe… in dump()
61 SkASSERT(fFirstY <= fLastY); in validate()
129 fLastY = bot - 1; in setLine()
DSkScan_Path.cpp95 SkASSERT(edge->fFirstY <= edge->fLastY); in validate_edges_for_y()
137 SkASSERT(currE->fLastY >= curr_y); in walk_edges()
156 if (currE->fLastY == curr_y) { // are we done with this edge? in walk_edges()
172 SkASSERT(currE->fLastY > curr_y); in walk_edges()
201 SkASSERT(edge->fLastY >= last_y); in update_edge()
202 if (last_y == edge->fLastY) { in update_edge()
247 int local_bot = SkMin32(leftE->fLastY, riteE->fLastY); in walk_convex_edges()
DSkEdge.cpp80 fLastY = bot - 1; in setLine()
121 fLastY = bot - 1; in updateLine()
135 SkASSERT(fLastY >= clip.fTop); in chopLineWithClip()
DSkAAClip.cpp1166 int fLastY; member in SkAAClip::BuilderBlitter
1175 SkASSERT(y >= fLastY); in checkForYGap()
1176 if (fLastY > -SK_MaxS32) { in checkForYGap()
1177 int gap = y - fLastY; in checkForYGap()
1182 fLastY = y; in checkForYGap()
1192 fLastY = -SK_MaxS32; // sentinel in BuilderBlitter()
1211 fLastY = y + height - 1; in blitV()
1218 fLastY = y + height - 1; in blitRect()
1226 fLastY = y + height - 1; in blitAntiRect()
/external/skia/src/core/
DSkRegion_path.cpp44 SkDebugf("SkRgnBuilder::Scanline: LastY=%d, fXCount=%d", line->fLastY, line->fXCount); in dump()
68 SkRegion::RunType fLastY; member
88 fPrevScanline->fLastY + 1 == fCurrScanline->fLastY && in collapsWithPrev()
95 fPrevScanline->fLastY = fCurrScanline->fLastY; in collapsWithPrev()
157 fCurrScanline->fLastY = (SkRegion::RunType)(y); in blitH()
160 SkASSERT(y >= fCurrScanline->fLastY); in blitH()
162 if (y > fCurrScanline->fLastY) { in blitH()
166 int prevLastY = fCurrScanline->fLastY; in blitH()
173 fCurrScanline->fLastY = (SkRegion::RunType)(y - 1); in blitH()
178 fCurrScanline->fLastY = (SkRegion::RunType)(y); in blitH()
[all …]
DSkEdge.h33 int32_t fLastY; member
48 return fLastY >= clip.fTop; in intersectsClip()
53 …SkDebugf("edge: firstY:%d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixe… in dump()
61 SkASSERT(fFirstY <= fLastY); in validate()
129 fLastY = bot - 1; in setLine()
DSkScan_Path.cpp95 SkASSERT(edge->fFirstY <= edge->fLastY); in validate_edges_for_y()
137 SkASSERT(currE->fLastY >= curr_y); in walk_edges()
156 if (currE->fLastY == curr_y) { // are we done with this edge? in walk_edges()
172 SkASSERT(currE->fLastY > curr_y); in walk_edges()
201 SkASSERT(edge->fLastY >= last_y); in update_edge()
202 if (last_y == edge->fLastY) { in update_edge()
247 int local_bot = SkMin32(leftE->fLastY, riteE->fLastY); in walk_convex_edges()
DSkEdge.cpp80 fLastY = bot - 1; in setLine()
121 fLastY = bot - 1; in updateLine()
135 SkASSERT(fLastY >= clip.fTop); in chopLineWithClip()
DSkAAClip.cpp1166 int fLastY; member in SkAAClip::BuilderBlitter
1175 SkASSERT(y >= fLastY); in checkForYGap()
1176 if (fLastY > -SK_MaxS32) { in checkForYGap()
1177 int gap = y - fLastY; in checkForYGap()
1182 fLastY = y; in checkForYGap()
1192 fLastY = -SK_MaxS32; // sentinel in BuilderBlitter()
1211 fLastY = y + height - 1; in blitV()
1218 fLastY = y + height - 1; in blitRect()
1226 fLastY = y + height - 1; in blitAntiRect()
/external/chromium_org/third_party/skia/include/views/
DSkTouchGesture.h57 float fLastX, fLastY; member
/external/skia/include/views/
DSkTouchGesture.h57 float fLastX, fLastY; member