/external/skia/tests/ |
PathOpsCubicReduceOrderTest.cpp | 24 int index, minX, maxX, minY, maxY; 25 minX = maxX = minY = maxY = 0; 33 if (cubic[maxX].fX < cubic[index].fX) { 34 maxX = index; 40 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDashPathEffect.cpp | 128 SkScalar maxX = pts[1].fX; 130 if (maxX < bounds.fLeft || minX > bounds.fRight) { 135 SkTSwap(minX, maxX); 146 if (maxX > bounds.fRight) { 147 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, 151 SkASSERT(maxX >= minX); 153 SkTSwap(minX, maxX); 156 pts[1].fX = maxX;
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 128 SkScalar maxX = pts[1].fX; 130 if (maxX < bounds.fLeft || minX > bounds.fRight) { 135 SkTSwap(minX, maxX); 146 if (maxX > bounds.fRight) { 147 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, 151 SkASSERT(maxX >= minX); 153 SkTSwap(minX, maxX); 156 pts[1].fX = maxX;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
SpatialNavigation.cpp | 128 return isHorizontalMove(direction) ? rect.maxY() : rect.maxX(); 145 bEnd = b.maxX(); 149 bEnd = a.maxX(); 244 return curRect.x() - targetRect.maxX() > viewSize.width(); 246 return targetRect.x() - curRect.maxX() > viewSize.width(); 266 return a.x() > b.maxX(); 273 return targetRect.maxX() <= curRect.x(); 275 return targetRect.x() >= curRect.maxX(); 545 entryPoint.setX(potentialRect.maxX()); 552 exitPoint.setX(startingRect.maxX()); [all...] |
PrintContext.cpp | 123 inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX(); 124 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x(); 127 blockDirectionStart = docRect.maxX(); 131 blockDirectionEnd = docRect.maxX(); 260 if (page.x() <= left && left < page.maxX() && page.y() <= top && top < page.maxY())
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatQuad.h | 57 , m_p2(inRect.maxX(), inRect.y()) 58 , m_p3(inRect.maxX(), inRect.maxY())
|
FloatRoundedRect.h | 98 return FloatRect(m_rect.maxX() - m_radii.topRight().width(), m_rect.y(), m_radii.topRight().width(), m_radii.topRight().height()); 106 return FloatRect(m_rect.maxX() - m_radii.bottomRight().width(), m_rect.maxY() - m_radii.bottomRight().height(), m_radii.bottomRight().width(), m_radii.bottomRight().height());
|
Region.cpp | 92 int maxX = *(segment + 1); 96 if (maxX > point.x()) 232 appendSegment(rect.maxX()); 346 int maxX = std::numeric_limits<int>::min(); 358 if (*lastSegment > maxX) 359 maxX = *lastSegment; 365 ASSERT(minX <= maxX); 368 return IntRect(minX, minY, maxX - minX, maxY - minY);
|
FloatRect.h | 76 float maxX() const { return x() + width(); } 109 float delta = edge - maxX(); 143 return px >= x() && px <= maxX() && py >= y() && py <= maxY();
|
FloatRoundedRectTest.cpp | 103 TEST_INTERCEPTS(r, 2, r.rect().x(), r.rect().maxX()); 104 TEST_INTERCEPTS(r, 4, r.rect().x(), r.rect().maxX()); 105 TEST_INTERCEPTS(r, 6, r.rect().x(), r.rect().maxX());
|
IntRect.h | 71 int maxX() const { return x() + width(); } 104 int delta = edge - maxX(); 130 { return px >= x() && px < maxX() && py >= y() && py < maxY(); }
|
LayoutRect.h | 67 LayoutUnit maxX() const { return x() + width(); } 117 LayoutUnit delta = edge - maxX(); 143 { return px >= x() && px < maxX() && py >= y() && py < maxY(); }
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Path.cpp | 415 addLineTo(FloatPoint(rect.maxX() - topRightRadius.width(), rect.y())); 417 addBezierCurveTo(FloatPoint(rect.maxX() - topRightRadius.width() * gCircleControlPoint, rect.y()), 418 FloatPoint(rect.maxX(), rect.y() + topRightRadius.height() * gCircleControlPoint), 419 FloatPoint(rect.maxX(), rect.y() + topRightRadius.height())); 420 addLineTo(FloatPoint(rect.maxX(), rect.maxY() - bottomRightRadius.height())); 422 addBezierCurveTo(FloatPoint(rect.maxX(), rect.maxY() - bottomRightRadius.height() * gCircleControlPoint), 423 FloatPoint(rect.maxX() - bottomRightRadius.width() * gCircleControlPoint, rect.maxY()), 424 FloatPoint(rect.maxX() - bottomRightRadius.width(), rect.maxY()));
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
SDL_mouse.c | 106 void SDL_SetMouseRange(int maxX, int maxY) 108 SDL_MouseMaxX = (Sint16)maxX;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintOverlay.java | 81 int maxX = mHScale.translate(0) + mHScale.getScaledImgSize(); 104 if (x > maxX || y > maxY) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
PolygonShape.h | 64 , m_vertex2(FloatPoint(polygon.boundingBox().maxX(), minLogicalIntervalTop) + offset)
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
ImagePixelization.java | 176 int maxX, maxY; 183 maxX = Math.min(x + xPixels, width); 186 for (int i = x; i < maxX; i++) {
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
pickerCommon.js | 69 get maxX() { return this.x + this.width; }, 81 var maxX = Math.min(rect1.maxX, rect2.maxX); 84 var width = maxX - x; 152 windowRect.x = Math.min(windowRect.x, availRect.maxX - windowRect.width);
|
/external/skia/gm/ |
ovals.cpp | 146 int maxX = fMatrices.count(); 160 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 162 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
roundrects.cpp | 149 int maxX = fMatrices.count(); 163 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 165 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMultiColumnSet.cpp | 250 LayoutUnit flowThreadLogicalBottom = isHorizontalWritingMode() ? portionRect.maxY() : portionRect.maxX(); 296 overflowRect.shiftMaxXEdgeTo(portionRect.maxX() + colGap - colGap / 2); 371 drawLineForBoxSide(paintInfo.context, pixelSnappedRuleRect.x(), pixelSnappedRuleRect.y(), pixelSnappedRuleRect.maxX(), pixelSnappedRuleRect.maxY(), boxSide, ruleColor, ruleStyle, 0, 0, antialias); 395 LayoutUnit repaintLogicalBottom = (isHorizontalWritingMode() ? flowThreadRepaintRect.maxY() : flowThreadRepaintRect.maxX()) - 1; 447 LayoutUnit layerLogicalBottom = (isHorizontalWritingMode() ? layerBoundsInFlowThread.maxY() : layerBoundsInFlowThread.maxX()) - 1;
|
/frameworks/base/services/input/ |
PointerController.cpp | 167 float minX, minY, maxX, maxY; 168 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { 171 } else if (x >= maxX) { 172 mLocked.pointerX = maxX; 325 float minX, minY, maxX, maxY; 326 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { 327 mLocked.pointerX = (minX + maxX) * 0.5f;
|
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 386 * @param maxX Maximum valid X value 392 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { 396 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); 402 int minX, int maxX, int minY, int maxY) { 403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 419 * @param maxX Maximum X value. The scroller will not scroll past this point 420 * unless overX > 0. If overfling is allowed, it will use maxX as 434 int minX, int maxX, int minY, int maxY, int overX, int overY) { 447 mScrollerX.fling(startX, velocityX, minX, maxX, overX); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 390 * @param maxX Maximum valid X value 396 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { 400 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); 406 int minX, int maxX, int minY, int maxY) { 407 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 423 * @param maxX Maximum X value. The scroller will not scroll past this point 424 * unless overX > 0. If overfling is allowed, it will use maxX as 438 int minX, int maxX, int minY, int maxY, int overX, int overY) { 451 mScrollerX.fling(startX, velocityX, minX, maxX, overX); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 388 * @param maxX Maximum valid X value 394 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { 398 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); 404 int minX, int maxX, int minY, int maxY) { 405 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); 421 * @param maxX Maximum X value. The scroller will not scroll past this point 422 * unless overX > 0. If overfling is allowed, it will use maxX as 436 int minX, int maxX, int minY, int maxY, int overX, int overY) { 449 mScrollerX.fling(startX, velocityX, minX, maxX, overX); [all...] |