Home
last modified time | relevance | path

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

12

/external/skia/src/pathops/
DSkReduceOrder.cpp38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
55 int index, minX, maxX, minY, maxY; in reduce() local
57 minX = maxX = minY = maxY = 0; in reduce()
63 if (quad[minY].fY > quad[index].fY) { in reduce()
64 minY = index; in reduce()
77 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
90 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
149 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
186 int index, minX, maxX, minY, maxY; in reduce() local
188 minX = maxX = minY = maxY = 0; in reduce()
[all …]
DSkOpAngle.cpp468 double minX, minY, maxX, maxY; in endsIntersect() local
469 minX = minY = SK_ScalarInfinity; in endsIntersect()
475 minY = SkTMin(minY, curve[idx2].fY); in endsIntersect()
479 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endsIntersect()
528 double minX, minY, maxX, maxY; in endToSide() local
529 minX = minY = SK_ScalarInfinity; in endToSide()
535 minY = SkTMin(minY, curve[idx2].fY); in endToSide()
539 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endToSide()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DRectRegion.java44 public RectRegion(Number minX, Number maxX, Number minY, Number maxY, String label) { in RectRegion() argument
46 yLineRegion = new LineRegion(minY, maxY); in RectRegion()
51 public RectRegion(Number minX, Number maxX, Number minY, Number maxY) { in RectRegion() argument
52 this(minX, maxX, minY, maxY, null); in RectRegion()
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) { in intersects() argument
90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY); in intersects()
131 …gion> regionsWithin(List<RectRegion> regions, Number minX, Number maxX, Number minY, Number maxY) { in regionsWithin() argument
134 if(r.intersects(minX, maxX, minY, maxY)) { in regionsWithin()
162 public void setMinY(Number minY) { in setMinY() argument
163 yLineRegion.setMinVal(minY); in setMinY()
DLineAndPointRenderer.java199 double minY = getPlot().getCalculatedMinY().doubleValue(); in renderPath() local
203 …ctRegion r : RectRegion.regionsWithin(formatter.getRegions().elements(), minX, maxX, minY, maxY)) { in renderPath()
205 RectF regionRect = r.getRectF(plotArea, minX, maxX, minY, maxY); in renderPath()
DXYGraphBounds.java24 private Number minY; field in XYGraphBounds
/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/libgdx/gdx/src/com/badlogic/gdx/math/
DRectangle.java238 float minY = Math.min(y, rect.y); in merge() local
240 y = minY; in merge()
241 height = maxY - minY; in merge()
256 float minY = Math.min(this.y, y); in merge() local
258 this.y = minY; in merge()
259 this.height = maxY - minY; in merge()
277 float minY = y; in merge() local
283 minY = Math.min(minY, v.y); in merge()
288 y = minY; in merge()
289 height = maxY - minY; in merge()
DPolygon.java175 float minY = vertices[1]; in getBoundingRectangle() local
182 minY = minY > vertices[i + 1] ? vertices[i + 1] : minY; in getBoundingRectangle()
189 bounds.y = minY; in getBoundingRectangle()
191 bounds.height = maxY - minY; in getBoundingRectangle()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollPreset.java65 private float maxX, minX, maxY, minY, maxZ, minZ; field in RagdollPreset.JointPreset
70 public JointPreset(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) { in JointPreset() argument
74 this.minY = minY; in JointPreset()
83 joint.getRotationalLimitMotor(1).setLoLimit(minY); in setupJoint()
/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/skia/src/effects/
DSkDashPathEffect.cpp121 SkScalar minY = pts[0].fY; in cull_line() local
125 SkTSwap(minY, maxY); in cull_line()
128 SkASSERT(minY < maxY); in cull_line()
129 if (maxY <= bounds.fTop || minY >= bounds.fBottom) { in cull_line()
137 if (minY < bounds.fTop) { in cull_line()
138 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
144 SkASSERT(maxY > minY); in cull_line()
146 SkTSwap(minY, maxY); in cull_line()
148 pts[0].fY = minY; in cull_line()
/external/chromium-trace/catapult/experimental/heatmap/
Dinput.js48 var minX = x - 5, minY = y + 5;
51 var minTime = this.getTime(minX), minY = this.getBucket(minY);
56 for (var bucket = minY; bucket <= maxY; ++bucket) {
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DScissorStack.java58 float minY = Math.max(parent.y, scissor.y); in pushScissors() local
60 if (maxY - minY < 1) return false; in pushScissors()
63 scissor.y = minY; in pushScissors()
65 scissor.height = Math.max(1, maxY - minY); in pushScissors()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java205 double minY = Double.POSITIVE_INFINITY; in getInterpolationPointsForY() local
208 minY = Math.min(minY, point.getY()); in getInterpolationPointsForY()
211 throw new OutOfRangeException(y, minY, maxY); in getInterpolationPointsForY()
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
Dmarkermanager.js284 var vertical = this.shownBounds_.minY <= point.y &&
490 this.minY = Math.min(bounds[0].y, bounds[1].y);
501 … this.maxY === gridBounds.maxY && this.minX === gridBounds.minX && this.minY === gridBounds.minY) {
515 …return (outer.minX <= point.x && outer.maxX >= point.x && outer.minY <= point.y && outer.maxY >= p…
765 for (var y = bounds.minY; y <= bounds.maxY; y++) {
844 var minY1 = bounds1.minY;
848 var minY2 = bounds2.minY;
/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/v8/tools/turbolizer/
Dgraph-view.js835 var minY = (graph.minGraphY - GRAPH_MARGIN) * scale;
842 if ((minY + baseY + adjustYCandidate) > 0) {
847 } else if (-baseY < minY) {
848 adjustYCandidate = -(baseY + minY);
947 var minX, maxX, minY, maxY;
955 minY = minY ? Math.min(minY, n.y) : n.y;
961 graph.viewGraphRegion(minX - NODE_INPUT_WIDTH, minY - 60,
967 viewGraphRegion(minX, minY, maxX, maxY, transition) { argument
971 var height = maxY - minY;
975 var translation = [-minX*scale, -minY*scale];
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DValPixConverter.java91 … valToPix(Number x, Number y, RectF plotArea, Number minX, Number maxX, Number minY, Number maxY) { in valToPix() argument
93 …float pixY = ValPixConverter.valToPix(y.doubleValue(), minY.doubleValue(), maxY.doubleValue(), plo… in valToPix()
/external/opencv/cvaux/src/
Dcvcorrimages.cpp632 float minX,minY; in icvRemoveDoublePoins() local
635 minX = minY = FLT_MAX; in icvRemoveDoublePoins()
653 if( y < minY ) in icvRemoveDoublePoins()
654 minY = y; in icvRemoveDoublePoins()
674 if( y < minY ) in icvRemoveDoublePoins()
675 minY = y; in icvRemoveDoublePoins()
686 …eSubdivDelaunay2D( cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10, cvRound(maxY-m… in icvRemoveDoublePoins()
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/renderers/
DIsometricStaggeredTiledMapRenderer.java65 final int minY = Math.max(0, (int)(((viewBounds.y - layerTileHeight) / layerTileHeight))); in renderTileLayer() local
68 for (int y = maxY - 1; y >= minY; y--) { in renderTileLayer()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/
Dftraster.c494 Long minY, maxY; member
1415 x, y, ras.minY, ras.maxY ) ) in Line_To()
1421 x, y, ras.minY, ras.maxY ) ) in Line_To()
1532 if ( Bezier_Up( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1536 if ( Bezier_Down( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1667 if ( Bezier_Up( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1671 if ( Bezier_Down( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1982 ras.lastY >= ras.minY && in Convert_Glyph()
2666 max_Y = (Short)TRUNC( ras.minY ); in Draw_Sweep()
2904 ras.minY = (Long)ras.band_stack[ras.band_top].y_min * ras.precision; in Render_Single_Pass()
[all …]
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c494 Long minY, maxY; member
1415 x, y, ras.minY, ras.maxY ) ) in Line_To()
1421 x, y, ras.minY, ras.maxY ) ) in Line_To()
1532 if ( Bezier_Up( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1536 if ( Bezier_Down( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1667 if ( Bezier_Up( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1671 if ( Bezier_Down( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1982 ras.lastY >= ras.minY && in Convert_Glyph()
2666 max_Y = (Short)TRUNC( ras.minY ); in Draw_Sweep()
2904 ras.minY = (Long)ras.band_stack[ras.band_top].y_min * ras.precision; in Render_Single_Pass()
[all …]
/external/freetype/src/raster/
Dftraster.c498 Long minY, maxY; member
1419 x, y, ras.minY, ras.maxY ) ) in Line_To()
1425 x, y, ras.minY, ras.maxY ) ) in Line_To()
1536 if ( Bezier_Up( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1540 if ( Bezier_Down( RAS_VARS 2, Split_Conic, ras.minY, ras.maxY ) ) in Conic_To()
1671 if ( Bezier_Up( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1675 if ( Bezier_Down( RAS_VARS 3, Split_Cubic, ras.minY, ras.maxY ) ) in Cubic_To()
1986 ras.lastY >= ras.minY && in Convert_Glyph()
2670 max_Y = (Short)TRUNC( ras.minY ); in Draw_Sweep()
2908 ras.minY = (Long)ras.band_stack[ras.band_top].y_min * ras.precision; in Render_Single_Pass()
[all …]

12