Home
last modified time | relevance | path

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

1234

/external/skqp/src/pathops/
DSkReduceOrder.cpp39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
56 int index, minX, maxX, minY, maxY; in reduce() local
58 minX = maxX = minY = maxY = 0; in reduce()
64 if (quad[minY].fY > quad[index].fY) { in reduce()
65 minY = index; in reduce()
78 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
93 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
152 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
189 int index, minX, maxX, minY, maxY; in reduce() local
191 minX = maxX = minY = maxY = 0; in reduce()
[all …]
DSkPathOpsCurve.cpp24 double minY = fCubic.fPts[0].fY; in nearPoint() local
25 double maxY = minY; in nearPoint()
27 minY = SkTMin(minY, fCubic.fPts[index].fY); in nearPoint()
30 if (!AlmostBetweenUlps(minY, xy.fY, maxY)) { in nearPoint()
48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY)); in nearPoint()
DSkOpAngle.cpp577 double minX, minY, maxX, maxY; in endsIntersect() local
578 minX = minY = SK_ScalarInfinity; in endsIntersect()
584 minY = SkTMin(minY, curve[idx2].fY); in endsIntersect()
588 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endsIntersect()
662 double minX, minY, maxX, maxY; in endToSide() local
663 minX = minY = SK_ScalarInfinity; in endToSide()
669 minY = SkTMin(minY, curve[idx2].fY); in endToSide()
673 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/skia/src/pathops/
DSkReduceOrder.cpp39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument
56 int index, minX, maxX, minY, maxY; in reduce() local
58 minX = maxX = minY = maxY = 0; in reduce()
64 if (quad[minY].fY > quad[index].fY) { in reduce()
65 minY = index; in reduce()
78 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { in reduce()
93 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
152 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument
189 int index, minX, maxX, minY, maxY; in reduce() local
191 minX = maxX = minY = maxY = 0; in reduce()
[all …]
DSkPathOpsCurve.cpp24 double minY = fCubic.fPts[0].fY; in nearPoint() local
25 double maxY = minY; in nearPoint()
27 minY = std::min(minY, fCubic.fPts[index].fY); in nearPoint()
30 if (!AlmostBetweenUlps(minY, xy.fY, maxY)) { in nearPoint()
48 double largest = std::max(std::max(maxX, maxY), -std::min(minX, minY)); in nearPoint()
/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.cpp126 SkScalar minY = pts[0].fY; in cull_line() local
131 swap(minY, maxY); in cull_line()
134 SkASSERT(minY < maxY); in cull_line()
135 if (maxY <= bounds.fTop || minY >= bounds.fBottom) { in cull_line()
143 if (minY < bounds.fTop) { in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
150 SkASSERT(maxY > minY); in cull_line()
153 swap(minY, maxY); in cull_line()
155 pts[0].fY = minY; in cull_line()
/external/skqp/src/effects/
DSkDashPathEffect.cpp126 SkScalar minY = pts[0].fY; in cull_line() local
131 swap(minY, maxY); in cull_line()
134 SkASSERT(minY < maxY); in cull_line()
135 if (maxY <= bounds.fTop || minY >= bounds.fBottom) { in cull_line()
143 if (minY < bounds.fTop) { in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
150 SkASSERT(maxY > minY); in cull_line()
153 swap(minY, maxY); in cull_line()
155 pts[0].fY = minY; in cull_line()
/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/mesa3d/src/mesa/main/
Dbbox.c36 GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, in _mesa_PrimitiveBoundingBox() argument
42 ctx->PrimitiveBoundingBox[1] = minY; in _mesa_PrimitiveBoundingBox()
Dbbox.h36 GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW,
/external/chromium-trace/catapult/common/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/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts113 const minY = calculateY(data.minFreqKHz[i]); constant
118 if (minY === maxY) {
119 assertTrue(lastY === minY);
122 ctx.lineTo(x, minY);
/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/skqp/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/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/swiftshader/src/Shader/
DConstants.cpp325 …const dword minY[16] = {0x00000000, 0x00000010, 0x00001000, 0x00001010, 0x00100000, 0x00100010, 0x… in Constants() local
333 memcpy(&this->minY, &minY, sizeof(minY)); in Constants()
/external/swiftshader/src/Pipeline/
DConstants.cpp332 …const dword minY[16] = { 0x00000000, 0x00000010, 0x00001000, 0x00001010, 0x00100000, 0x00100010, 0… in Constants() local
340 memcpy(&this->minY, &minY, sizeof(minY)); in Constants()
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts202 const minY = calculateY(minValues[i]); constant
207 if (minY === maxY) {
208 assertTrue(lastY === minY);
211 ctx.lineTo(x, minY);
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawTests.cpp127 const float minY = minX + static_cast<float>(drawIdx) * drawStep; in ConditionalDraw() local
128 const float maxY = minY + drawStep; in ConditionalDraw()
131 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()
134 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()
136 …m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toV… in ConditionalDraw()

1234