Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 25 of 107) sorted by relevance

12345

/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
45 xLineRegion = new LineRegion(minX, maxX); 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 …public static List<RectRegion> regionsWithin(List<RectRegion> regions, Number minX, Number maxX, N… in regionsWithin() argument
134 if(r.intersects(minX, maxX, minY, maxY)) { in regionsWithin()
154 public void setMaxX(Number maxX) { in setMaxX() argument
155 xLineRegion.setMaxVal(maxX); in setMaxX()
DLineAndPointRenderer.java198 double maxX = getPlot().getCalculatedMaxX().doubleValue(); in renderPath() local
203 …for (RectRegion r : RectRegion.regionsWithin(formatter.getRegions().elements(), minX, maxX, minY, … in renderPath()
205 RectF regionRect = r.getRectF(plotArea, minX, maxX, minY, maxY); in renderPath()
DXYGraphBounds.java23 private Number maxX; field in XYGraphBounds
/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()
67 if (quad[maxX].fX < quad[index].fX) { in reduce()
68 maxX = 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()
200 if (cubic[maxX].fX < cubic[index].fX) { in reduce()
[all …]
DSkPathOpsCurve.cpp16 double maxX = minX; in nearPoint() local
19 maxX = SkTMax(maxX, fCubic.fPts[index].fX); in nearPoint()
21 if (!AlmostBetweenUlps(minX, xy.fX, maxX)) { in nearPoint()
48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY)); in nearPoint()
/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()
67 if (quad[maxX].fX < quad[index].fX) { in reduce()
68 maxX = 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()
200 if (cubic[maxX].fX < cubic[index].fX) { in reduce()
[all …]
DSkPathOpsCurve.cpp16 double maxX = minX; in nearPoint() local
19 maxX = std::max(maxX, fCubic.fPts[index].fX); in nearPoint()
21 if (!AlmostBetweenUlps(minX, xy.fX, maxX)) { in nearPoint()
48 double largest = std::max(std::max(maxX, maxY), -std::min(minX, minY)); in nearPoint()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h576 const int maxX, const int kernelSize, float* buffer) {
579 const int first_x = blockIdx.x * maxX;
580 const int last_x = (first_x + maxX < numX ? first_x + maxX : numX) - 1;
624 const int maxX, const int numY, const int maxY, const int kernelSizeX,
628 const int first_x = blockIdx.x * maxX;
629 const int last_x = (first_x + maxX < numX ? first_x + maxX : numX) - 1;
691 const size_t maxX, const size_t numY, const size_t maxY, const size_t numZ,
697 const int first_x = blockIdx.x * maxX;
698 const int last_x = (first_x + maxX < numX ? first_x + maxX : numX) - 1;
866 int maxX;
[all …]
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp87 const unsigned maxX = s.fPixmap.width() - 1; in nofilter_scale() local
88 if (0 == maxX) { in nofilter_scale()
100 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in nofilter_scale()
108 *xy++ = pack_two_shorts(tilex(SkFractionalIntToFixed(fx ), maxX), in nofilter_scale()
109 tilex(SkFractionalIntToFixed(fx + dx), maxX)); in nofilter_scale()
115 *xx++ = tilex(SkFractionalIntToFixed(fx), maxX); in nofilter_scale()
131 int maxX = s.fPixmap.width () - 1, in nofilter_affine() local
136 | (tilex(SkFractionalIntToFixed(fx), maxX) ); in nofilter_affine()
170 const unsigned maxX = s.fPixmap.width() - 1; in filter_scale() local
185 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()
[all …]
DSkBitmapProcState.cpp34 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
49 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
50 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
66 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
72 dst[i] = src[SkTPin<int>(SkFractionalIntToInt(fx), 0, maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
305 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local
324 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc()
325 int n = std::min(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
335 sk_memset32(colors, row[maxX], count); in Clamp_S32_D32_nofilter_trans_shaderproc()
/external/skqp/src/core/
DSkBitmapProcState_matrixProcs.cpp94 const unsigned maxX = s.fPixmap.width() - 1; in nofilter_scale() local
95 if (0 == maxX) { in nofilter_scale()
107 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in nofilter_scale()
115 *xy++ = pack_two_shorts(tile(SkFractionalIntToFixed(fx ), maxX), in nofilter_scale()
116 tile(SkFractionalIntToFixed(fx + dx), maxX)); in nofilter_scale()
122 *xx++ = tile(SkFractionalIntToFixed(fx), maxX); in nofilter_scale()
152 const unsigned maxX = s.fPixmap.width() - 1; in filter_scale() local
168 (unsigned)SkFractionalIntToInt(fx ) < maxX && in filter_scale()
169 (unsigned)SkFractionalIntToInt(fx + dx*(count-1)) < maxX) { in filter_scale()
181 *xy++ = pack(fixedFx, maxX, s.fFilterOneX); in filter_scale()
[all …]
DSkBitmapProcState.cpp34 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
49 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
50 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
66 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
72 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
294 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local
313 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc()
314 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
324 sk_memset32(colors, row[maxX], count); in Clamp_S32_D32_nofilter_trans_shaderproc()
/external/skia/src/effects/
DSkDashPathEffect.cpp94 SkScalar maxX = pts[1].fX; in cull_line() local
98 swap(minX, maxX); in cull_line()
101 SkASSERT(minX < maxX); in cull_line()
102 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
113 if (maxX > bounds.fRight) { in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
117 SkASSERT(maxX > minX); in cull_line()
120 swap(minX, maxX); in cull_line()
123 pts[1].fX = maxX; in cull_line()
/external/skqp/src/effects/
DSkDashPathEffect.cpp94 SkScalar maxX = pts[1].fX; in cull_line() local
98 swap(minX, maxX); in cull_line()
101 SkASSERT(minX < maxX); in cull_line()
102 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
113 if (maxX > bounds.fRight) { in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
117 SkASSERT(maxX > minX); in cull_line()
120 swap(minX, maxX); in cull_line()
123 pts[1].fX = maxX; in cull_line()
/external/replicaisland/src/com/replica/replicaisland/
DAABoxCollisionVolume.java104 final float maxX; in growBy() local
111 maxX = Math.max(getMaxX(), other.getMaxX()); in growBy()
116 maxX = other.getMaxX(); in growBy()
121 final float horizontalDelta = maxX - minX; in growBy()
DSphereCollisionVolume.java130 final float maxX; in growBy() local
137 maxX = Math.max(getMaxX(), other.getMaxX()); in growBy()
142 maxX = other.getMaxX(); in growBy()
147 final float horizontalDelta = maxX - minX; in growBy()
DCollisionVolume.java61 final float maxX = getMaxX(); in getMinXPosition() local
62 value = flip.parentWidth - maxX; in getMinXPosition()
/external/mesa3d/src/mesa/main/
Dbbox.c37 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) in _mesa_PrimitiveBoundingBox() argument
45 ctx->PrimitiveBoundingBox[4] = maxX; in _mesa_PrimitiveBoundingBox()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dmarkermanager.js287 var horizontal = minX <= point.x && point.x <= this.shownBounds_.maxX;
489 this.maxX = Math.max(bounds[0].x, bounds[1].x);
501 …if (this.maxX === gridBounds.maxX && this.maxY === gridBounds.maxY && this.minX === gridBounds.min…
515 …return (outer.minX <= point.x && outer.maxX >= point.x && outer.minY <= point.y && outer.maxY >= p…
764 for (var x = bounds.minX; x <= bounds.maxX; x++) {
845 var maxX1 = bounds1.maxX;
849 var maxX2 = bounds2.maxX;
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DValPixConverter.java91 …public static PointF valToPix(Number x, Number y, RectF plotArea, Number minX, Number maxX, Number… in valToPix() argument
92 …float pixX = ValPixConverter.valToPix(x.doubleValue(), minX.doubleValue(), maxX.doubleValue(), plo… in valToPix()
/external/skqp/tests/
DPathOpsCubicReduceOrderTest.cpp24 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/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 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/kotlinx.coroutines/js/example-frontend-js/src/
DExampleMain.kt93 val maxX = sw - rs in onRect() constant
108 if (x > maxX) { in onRect()
109 x = 2 * maxX - x in onRect()
/external/swiftshader/src/Shader/
DConstants.cpp321 …const dword maxX[16] = {0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0x… in Constants() local
329 memcpy(&this->maxX, &maxX, sizeof(maxX)); in Constants()
/external/swiftshader/src/Pipeline/
DConstants.cpp328 …const dword maxX[16] = { 0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0… in Constants() local
336 memcpy(&this->maxX, &maxX, sizeof(maxX)); in Constants()

12345