Lines Matching full:right
65 int right = prior.right();
66 int testRight = bestRect.right();
67 if (right < testRight)
68 right = testRight;
69 width = right - left;
71 left = direction == LEFT ? bestRect.right() : prior.right();
72 int right = direction == LEFT ? prior.x() : bestRect.x();
73 width = right - left;
175 if ((testData.mMajorDelta ^ bestData.mMajorDelta) < 0) // one above, one below (or one left, one right)
538 // if (testBounds.x() > clip->x() || testBounds.right() < clip->right())
557 case RIGHT: distance = clip->right() - testBounds.right(); break;
561 case LEFT: distance = clip->right() - testBounds.x(); break;
562 case RIGHT: distance = testBounds.right() - clip->x(); break;
581 case RIGHT:
792 if (checkVisited(test, RIGHT) == false)
805 if (checkVisited(innerData.mNode, RIGHT)) {
810 if (checkVisited(test, RIGHT))
1104 int otherRight = other->right();
1111 int _right = right();
1139 SkFixed CachedFrame::BestData::Overlap(int span, int left, int right)
1142 if (left > 0 && left < span && right > span)
1144 else if (right > 0 && right < span && left > span)
1145 result = (unsigned) right;
1146 else if (left > 0 && right > 0)
1181 int testRight = mNodeBounds.right();
1182 setNavOverlap(navBounds.width(), navBounds.right() - testX,
1197 setNavInclusion(testRight - navBounds.right(), navBounds.x() - testX);
1219 mMajorButt = navBounds.x() - mNodeBounds.right();
1228 int inNavRight = navBounds.right() - mNodeBounds.right();
1233 mNode->setCondition(CachedNode::CENTER_FURTHER); // never move right or sideways
1259 mMajorButt = mNodeBounds.x() - navBounds.right();
1276 int inNavRight = navBounds.right() - mNodeBounds.right();
1301 int testRight = mNodeBounds.right();
1302 setNavOverlap(navBounds.width(), navBounds.right() - testX,
1317 setNavInclusion(navBounds.x() - testX, testRight - navBounds.right());
1336 void CachedFrame::BestData::setNavInclusion(int left, int right)
1338 // if left and right <= 0, test node is completely in umbra of cursor
1340 // if left and right > 0, test node subsumes cursor
1342 mNavDelta2 = right;
1345 void CachedFrame::BestData::setNavOverlap(int span, int left, int right)
1347 // if left or right < 0, test node is not in umbra of cursor
1348 mNavOutside = left < MIN_OVERLAP || right < MIN_OVERLAP;
1349 mNavOverlap = Overlap(span, left, right); // prefer smallest negative left
1352 void CachedFrame::BestData::setWorkingInclusion(int left, int right)
1355 mWorkingDelta2 = right;
1359 void CachedFrame::BestData::setWorkingOverlap(int span, int left, int right)
1361 // if left or right < 0, test node is not in umbra of cursor
1362 mWorkingOutside = left < MIN_OVERLAP || right < MIN_OVERLAP;
1363 mWorkingOverlap = Overlap(span, left, right);