Home
last modified time | relevance | path

Searched refs:minY (Results 1 – 25 of 69) sorted by relevance

123

/external/skia/src/pathops/
DSkReduceOrder.cpp38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
64 int index, minX, maxX, minY, maxY; in reduce() local
66 minX = maxX = minY = maxY = 0; in reduce()
72 if (quad[minY].fY > quad[index].fY) { in reduce()
73 minY = index; in reduce()
86 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
158 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
204 int index, minX, maxX, minY, maxY; in reduce() local
206 minX = maxX = minY = maxY = 0; in reduce()
[all …]
/external/chromium_org/third_party/skia/src/pathops/
DSkReduceOrder.cpp38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
64 int index, minX, maxX, minY, maxY; in reduce() local
66 minX = maxX = minY = maxY = 0; in reduce()
72 if (quad[minY].fY > quad[index].fY) { in reduce()
73 minY = index; in reduce()
86 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
158 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
204 int index, minX, maxX, minY, maxY; in reduce() local
206 minX = maxX = minY = maxY = 0; in reduce()
[all …]
/external/chromium_org/chrome/test/chromedriver/js/
Dget_element_region.js51 var minY = Number(coords[1]);
53 var maxY = minY;
58 minY = Math.min(minY, y);
64 'top': minY,
66 'height': maxY - minY
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dapi_path.c365 VGfloat * minY, in vegaPathBounds() argument
378 if (!minX || !minY || !width || !height) { in vegaPathBounds()
383 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathBounds()
397 path_bounding_rect(p, minX, minY, width, height); in vegaPathBounds()
402 VGfloat * minY, in vegaPathTransformedBounds() argument
415 if (!minX || !minY || !width || !height) { in vegaPathTransformedBounds()
420 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathTransformedBounds()
436 path_bounding_rect(p, minX, minY, width, height); in vegaPathTransformedBounds()
438 VGfloat pts[] = {*minX, *minY, in vegaPathTransformedBounds()
439 *minX + *width, *minY, in vegaPathTransformedBounds()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi_path.c365 VGfloat * minY, in vegaPathBounds() argument
378 if (!minX || !minY || !width || !height) { in vegaPathBounds()
383 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathBounds()
397 path_bounding_rect(p, minX, minY, width, height); in vegaPathBounds()
402 VGfloat * minY, in vegaPathTransformedBounds() argument
415 if (!minX || !minY || !width || !height) { in vegaPathTransformedBounds()
420 if (!is_aligned(minX) || !is_aligned(minY) || in vegaPathTransformedBounds()
436 path_bounding_rect(p, minX, minY, width, height); in vegaPathTransformedBounds()
438 VGfloat pts[] = {*minX, *minY, in vegaPathTransformedBounds()
439 *minX + *width, *minY, in vegaPathTransformedBounds()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderRegion.cpp78 LayoutUnit minY = isFirstPortion ? flowThreadOverflow.y() : flowThreadPortionRect.y(); in overflowRectForFlowThreadPortion() local
82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion()
86 LayoutUnit minY = std::min(flowThreadPortionRect.y(), (flowThreadOverflow.y())); in overflowRectForFlowThreadPortion() local
88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion()
/external/chromium_org/third_party/skia/experimental/Intersection/
DQuadraticReduceOrder.cpp67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { in check_linear() argument
87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; in check_linear()
143 int index, minX, maxX, minY, maxY; in reduceOrder() local
145 minX = maxX = minY = maxY = 0; in reduceOrder()
151 if (quad[minY].y > quad[index].y) { in reduceOrder()
152 minY = index; in reduceOrder()
165 if (AlmostEqualUlps(quad[index].y, quad[minY].y)) { in reduceOrder()
178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
DTestUtilities.cpp22 int index, minX, maxX, minY, maxY; in tiny() local
23 minX = maxX = minY = maxY = 0; in tiny()
28 if (cubic[minY].y > cubic[index].y) { in tiny()
29 minY = index; in tiny()
39 && approximately_equal(cubic[maxY].y, cubic[minY].y); in tiny()
DCubicReduceOrder.cpp95 int minX, int maxX, int minY, int maxY, Cubic& reduction) { in check_linear() argument
116 bool useX = cubic[maxX].x - cubic[minX].x >= cubic[maxY].y - cubic[minY].y; in check_linear()
199 int index, minX, maxX, minY, maxY; in reduceOrder() local
201 minX = maxX = minY = maxY = 0; in reduceOrder()
207 if (cubic[minY].y > cubic[index].y) { in reduceOrder()
208 minY = index; in reduceOrder()
221 SkTMax(fabs(cubic[minX].x), fabs(cubic[minY].y)))); in reduceOrder()
231 if (approximately_equal_half(cy * inv, cubic[minY].y * inv)) { in reduceOrder()
244 int result = check_linear(cubic, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
/external/skia/experimental/Intersection/
DQuadraticReduceOrder.cpp67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { in check_linear() argument
87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; in check_linear()
143 int index, minX, maxX, minY, maxY; in reduceOrder() local
145 minX = maxX = minY = maxY = 0; in reduceOrder()
151 if (quad[minY].y > quad[index].y) { in reduceOrder()
152 minY = index; in reduceOrder()
165 if (AlmostEqualUlps(quad[index].y, quad[minY].y)) { in reduceOrder()
178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
DTestUtilities.cpp22 int index, minX, maxX, minY, maxY; in tiny() local
23 minX = maxX = minY = maxY = 0; in tiny()
28 if (cubic[minY].y > cubic[index].y) { in tiny()
29 minY = index; in tiny()
39 && approximately_equal(cubic[maxY].y, cubic[minY].y); in tiny()
DCubicReduceOrder.cpp95 int minX, int maxX, int minY, int maxY, Cubic& reduction) { in check_linear() argument
116 bool useX = cubic[maxX].x - cubic[minX].x >= cubic[maxY].y - cubic[minY].y; in check_linear()
199 int index, minX, maxX, minY, maxY; in reduceOrder() local
201 minX = maxX = minY = maxY = 0; in reduceOrder()
207 if (cubic[minY].y > cubic[index].y) { in reduceOrder()
208 minY = index; in reduceOrder()
221 SkTMax(fabs(cubic[minX].x), fabs(cubic[minY].y)))); in reduceOrder()
231 if (approximately_equal_half(cy * inv, cubic[minY].y * inv)) { in reduceOrder()
244 int result = check_linear(cubic, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
/external/replicaisland/src/com/replica/replicaisland/
DAABoxCollisionVolume.java108 final float minY; in growBy() local
114 minY = Math.max(getMinY(), other.getMinY()); in growBy()
119 minY = other.getMinY(); in growBy()
122 final float verticalDelta = maxY - minY; in growBy()
123 mBottomLeft.set(minX, minY); in growBy()
DSphereCollisionVolume.java134 final float minY; in growBy() local
140 minY = Math.min(getMinY(), other.getMinY()); in growBy()
145 minY = other.getMinY(); in growBy()
148 final float verticalDelta = maxY - minY; in growBy()
152 final float newCenterY = minY + (verticalDelta / 2.0f); in growBy()
DCollisionVolume.java94 final float minY = getMinY(); in getMaxYPosition() local
95 value = flip.parentHeight - minY; in getMaxYPosition()
/external/chromium_org/third_party/skia/src/effects/
DSkDashPathEffect.cpp120 SkScalar minY = pts[0].fY; in cull_line() local
124 SkTSwap(minY, maxY); in cull_line()
127 SkASSERT(minY < maxY); in cull_line()
128 if (maxY < bounds.fTop || minY > bounds.fBottom) { in cull_line()
136 if (minY < bounds.fTop) { in cull_line()
137 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
143 SkASSERT(maxY > minY); in cull_line()
145 SkTSwap(minY, maxY); in cull_line()
147 pts[0].fY = minY; in cull_line()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DPolygonShape.cpp58 ASSERT(y >= minY() && y <= maxY()); in xIntercept()
62 if (y == minY()) in xIntercept()
72 if (!overlapsYRange(y1, y2) || (y1 == maxY() && minY() <= y1) || (y2 == minY() && maxY() >= y2)) in clippedEdgeXRange()
138 if (edge.maxY() == edge.minY()) in getExcludedInterval()
DPolygonShape.h50 bool isWithinYRange(float y1, float y2) const { return y1 <= minY() && y2 >= maxY(); } in isWithinYRange()
51 bool overlapsYRange(float y1, float y2) const { return y2 >= minY() && y1 <= maxY(); } in overlapsYRange()
/external/chromium_org/third_party/lcov/contrib/galaxy/
Dposterize.pl291 ($Junk, $Junk, $minX, $minY, $maxX, $maxY) = split / /, $Bounds;
294 my $yRange = $maxY - $minY;
/external/chromium_org/chrome/browser/resources/chromeos/
Dkeyboard_overlay.js502 var minY = window.innerHeight;
539 minY = Math.min(minY, y);
544 var height = maxY - minY + 1;
546 keyboard.style.height = (height + 2 * (minY + 1)) + 'px';
554 height / BASE_KEYBOARD.height + minY) + 'px';
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatBox.h108 float minY = std::min(m_y, low.y()); in expandTo() local
116 m_y = minY; in expandTo()
120 m_height = maxY - minY; in expandTo()
DFloatPolygonTest.cpp66 …onst FloatPolygonEdge*> sortedOverlappingEdges(const FloatPolygon& polygon, float minY, float maxY) in sortedOverlappingEdges() argument
69 polygon.overlappingEdges(minY, maxY, result); in sortedOverlappingEdges()
122 EXPECT_EQ(100, triangle.edgeAt(0).minY()); in TEST()
124 EXPECT_EQ(200, triangle.edgeAt(1).minY()); in TEST()
126 EXPECT_EQ(100, triangle.edgeAt(2).minY()); in TEST()
/external/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 int index, minX, maxX, minY, maxY;
25 minX = maxX = minY = maxY = 0;
30 if (cubic[minY].fY > cubic[index].fY) {
31 minY = index;
41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
/external/chromium_org/third_party/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 int index, minX, maxX, minY, maxY;
25 minX = maxX = minY = maxY = 0;
30 if (cubic[minY].fY > cubic[index].fY) {
31 minY = index;
41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
Dpopup.js81 var minY = -Math.cos(minAngle);
97 ctx.moveTo(cx - 8 * minX, cy - 8 * minY);
98 ctx.lineTo(cx + 35 * minX, cy + 33 * minY);
109 ctx.moveTo(cx - 8 * minX, cy - 8 * minY);
110 ctx.lineTo(cx + 35 * minX, cy + 33 * minY);

123