Home
last modified time | relevance | path

Searched refs:maxY (Results 1 – 25 of 61) sorted by relevance

123

/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()
170 public void setMaxY(Number maxY) { in setMaxY() argument
171 yLineRegion.setMaxVal(maxY); in setMaxY()
DLineAndPointRenderer.java200 double maxY = getPlot().getCalculatedMaxY().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.java25 private Number maxY; 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()
70 if (quad[maxY].fY < quad[index].fY) { in reduce()
71 maxY = index; 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()
203 if (cubic[maxY].fY < cubic[index].fY) { in reduce()
[all …]
DSkPathOpsCurve.cpp25 double maxY = minY; in nearPoint() local
28 maxY = SkTMax(maxY, 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.cpp500 double minX, minY, maxX, maxY; in endsIntersect() local
502 maxX = maxY = -SK_ScalarInfinity; in endsIntersect()
509 maxY = SkTMax(maxY, curve[idx2].fY); in endsIntersect()
511 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endsIntersect()
560 double minX, minY, maxX, maxY; in endToSide() local
562 maxX = maxY = -SK_ScalarInfinity; in endToSide()
569 maxY = SkTMax(maxY, curve[idx2].fY); in endToSide()
571 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endToSide()
/external/skia/src/opts/
DSkBitmapProcState_matrix_neon.h42 const unsigned maxY = s.fPixmap.height() - 1; in SCALE_NOFILTER_NAME() local
43 *xy++ = TILEY_PROCF(mapper.fixedY(), maxY); in SCALE_NOFILTER_NAME()
126 int maxY = s.fPixmap.height() - 1; in AFFINE_NOFILTER_NAME() local
158 hi16.val[1] = TILEY_PROCF_NEON8(ybase, y2base, maxY); in AFFINE_NOFILTER_NAME()
177 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | in AFFINE_NOFILTER_NAME()
191 int maxY = s.fPixmap.height() - 1; in PERSP_NOFILTER_NAME() local
211 hi16.val[1] = TILEY_PROCF_NEON8(xy1.val[1], xy2.val[1], maxY); in PERSP_NOFILTER_NAME()
225 *xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) | in PERSP_NOFILTER_NAME()
304 const unsigned maxY = s.fPixmap.height() - 1; in SCALE_FILTER_NAME() local
306 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME()
[all …]
DSkBitmapProcState_opts_SSE2.cpp259 const unsigned maxY = s.fPixmap.height() - 1; in ClampX_ClampY_filter_scale_SSE2() local
261 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY); in ClampX_ClampY_filter_scale_SSE2()
375 const unsigned maxY = s.fPixmap.height() - 1; in ClampX_ClampY_nofilter_scale_SSE2() local
376 *xy++ = SkClampMax(mapper.intY(), maxY); in ClampX_ClampY_nofilter_scale_SSE2()
494 unsigned maxY = s.fPixmap.height() - 1; in ClampX_ClampY_filter_affine_SSE2() local
503 __m128i wide_max = _mm_set_epi32(maxX, maxY, maxX, maxY); in ClampX_ClampY_filter_affine_SSE2()
541 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, oneY); in ClampX_ClampY_filter_affine_SSE2()
565 int maxY = s.fPixmap.height() - 1; in ClampX_ClampY_nofilter_affine_SSE2() local
569 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2()
587 __m128i wide_maxY = _mm_set1_epi32(maxY); in ClampX_ClampY_nofilter_affine_SSE2()
[all …]
/external/skia/src/core/
DSkBitmapProcState_matrix_template.h26 const unsigned maxY = s.fPixmap.height() - 1; in NoFilterProc_Scale() local
27 *xy++ = TileProc::Y(s, mapper.fixedY(), maxY); in NoFilterProc_Scale()
92 int maxY = s.fPixmap.height() - 1; in NoFilterProc_Affine() local
95 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) | in NoFilterProc_Affine()
107 int maxY = s.fPixmap.height() - 1; in NoFilterProc_Persp() local
116 *xy++ = (TileProc::Y(s, srcXY[1], maxY) << 16) | in NoFilterProc_Persp()
DSkBitmapProcState_matrix.h65 const unsigned maxY = s.fPixmap.height() - 1; in SCALE_FILTER_NAME() local
67 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME()
105 unsigned maxY = s.fPixmap.height() - 1; in AFFINE_FILTER_NAME() local
108 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); in AFFINE_FILTER_NAME()
122 unsigned maxY = s.fPixmap.height() - 1; in PERSP_FILTER_NAME() local
133 *xy++ = PACK_FILTER_Y_NAME(srcXY[1] - (oneY >> 1), maxY, in PERSP_FILTER_NAME()
DSkBitmapProcState_shaderproc.h36 const unsigned maxY = s.fPixmap.height() - 1; in SCALE_FILTER_NAME() local
38 subY = EXTRACT_LOW_BITS(fy, maxY); in SCALE_FILTER_NAME()
39 int y0 = TILEY_PROCF(fy, maxY); in SCALE_FILTER_NAME()
40 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY); in SCALE_FILTER_NAME()
DSkColorLookUpTable.cpp30 const uint8_t maxY = fGridPoints[1] - 1; in interp3D() local
35 const float y = src[1] * maxY; in interp3D()
45 iy = (maxY == iy) ? iy - 1 : iy; in interp3D()
/external/skia/src/effects/
DSkDashPathEffect.cpp121 SkScalar maxY = pts[1].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()
139 if (maxY > bounds.fBottom) { in cull_line()
140 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
143 SkASSERT(maxY > minY); in cull_line()
145 SkTSwap(minY, maxY); in cull_line()
148 pts[1].fY = maxY; in cull_line()
/external/replicaisland/src/com/replica/replicaisland/
DAABoxCollisionVolume.java107 final float maxY; in growBy() local
113 maxY = Math.max(getMaxY(), other.getMaxY()); in growBy()
118 maxY = other.getMaxY(); in growBy()
122 final float verticalDelta = maxY - minY; in growBy()
DSphereCollisionVolume.java133 final float maxY; in growBy() local
139 maxY = Math.max(getMaxY(), other.getMaxY()); in growBy()
144 maxY = other.getMaxY(); in growBy()
148 final float verticalDelta = maxY - minY; in growBy()
DCollisionVolume.java83 final float maxY = getMaxY(); in getMinYPosition() local
84 value = flip.parentHeight - maxY; in getMinYPosition()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h624 const int maxX, const int numY, const int maxY, const int kernelSizeX,
633 const int first_y = blockIdx.y * maxY;
634 const int last_y = (first_y + maxY < numY ? first_y + maxY : numY) - 1;
691 const size_t maxX, const size_t numY, const size_t maxY, const size_t numZ,
701 const int first_y = blockIdx.y * maxY;
702 const int last_y = (first_y + maxY < numY ? first_y + maxY : numY) - 1;
940 …const int maxY = numext::mini<int>(maxSharedMem / (sizeof(Scalar) * (maxX + kernel_size_x - 1)) - …
941 …ni<int>(maxSharedMem / ((kernel_size_x - 1 + maxX) * (kernel_size_y - 1 + maxY) * sizeof(Scalar)),…
945 block_size.y = numext::mini<int>(1024/block_size.x, maxY);
948 …const int shared_mem = block_size.z * (maxX + kernel_size_x - 1) * (maxY + kernel_size_y - 1) * si…
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java206 double maxY = Double.NEGATIVE_INFINITY; in getInterpolationPointsForY() local
209 maxY = Math.max(maxY, point.getY()); in getInterpolationPointsForY()
211 throw new OutOfRangeException(y, minY, maxY); in getInterpolationPointsForY()
/external/v8/tools/turbolizer/
Dgraph-view.js882 var maxY = (graph.maxGraphY + GRAPH_MARGIN) * scale;
886 if ((maxY + baseY) < dimensions[1]) {
887 adjustYCandidate = dimensions[1] - (maxY + baseY);
889 adjustY = (dimensions[1] / 2) - (maxY - (height / 2)) - baseY;
895 if ((maxY + baseY + adjustYCandidate) < dimensions[1]) {
896 adjustY = (dimensions[1] / 2) - (maxY - (height / 2)) - baseY;
993 var minX, maxX, minY, maxY;
1002 maxY = maxY ? Math.max(maxY, n.y + graph.getNodeHeight(n)) :
1008 maxX + NODE_INPUT_WIDTH, maxY + 60,
1013 viewGraphRegion(minX, minY, maxX, maxY, transition) { argument
[all …]
/external/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 int index, minX, maxX, minY, maxY;
25 minX = maxX = minY = maxY = 0;
36 if (cubic[maxY].fY < cubic[index].fY) {
37 maxY = index;
41 && approximately_equal(cubic[maxY].fY, cubic[minY].fY);
/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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DResizableDialog.java110 int maxY = windowBounds.y + windowBounds.height - initialSize.y; in getInitialLocation() local
114 if (y > maxY) { in getInitialLocation()
115 y = maxY; in getInitialLocation()
/external/swiftshader/src/Shader/
DConstants.cpp337 …const dword maxY[16] = {0x00000000, 0x00000002, 0x00000200, 0x00000202, 0x00020000, 0x00020002, 0x… in Constants() local
345 memcpy(&this->maxY, &maxY, sizeof(maxY)); in Constants()
/external/opencv/cvaux/src/
Dcvcorrimages.cpp633 float maxX,maxY; in icvRemoveDoublePoins() local
636 maxX = maxY = FLT_MIN; in icvRemoveDoublePoins()
656 if( y > maxY ) in icvRemoveDoublePoins()
657 maxY = y; in icvRemoveDoublePoins()
677 if( y > maxY ) in icvRemoveDoublePoins()
678 maxY = y; in icvRemoveDoublePoins()
686 … cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10, cvRound(maxY-minY)+10 ), storage… in icvRemoveDoublePoins()
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi_path.c443 VGfloat maxX, maxY; in vegaPathTransformedBounds()
451 maxY = MAX2(pts[1], MAX2(pts[3], MAX2(pts[5], pts[7]))); in vegaPathTransformedBounds()
453 *height = maxY - *minY; in vegaPathTransformedBounds()

123