Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkBitmapProcState_matrix_template.h22 const unsigned maxX = s.fPixmap.width() - 1; in NoFilterProc_Scale() local
31 if (0 == maxX) { in NoFilterProc_Scale()
43 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in NoFilterProc_Scale()
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
69 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
DSkBitmapProcState_shaderproc.h25 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME()
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX); in SCALE_FILTER_NAME()
56 unsigned x0 = TILEX_PROCF(fx, maxX); in SCALE_FILTER_NAME()
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX); in SCALE_FILTER_NAME()
DSkBitmapProcState.cpp248 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local
267 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc()
268 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
278 sk_memset32(colors, row[maxX], count); in Clamp_S32_D32_nofilter_trans_shaderproc()
609 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
624 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
625 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
641 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
647 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
DSkBitmapProcState_matrix.h50 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME() local
68 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_FILTER_NAME()
75 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
/external/skqp/src/core/
DSkBitmapProcState_matrix_template.h22 const unsigned maxX = s.fPixmap.width() - 1; in NoFilterProc_Scale() local
31 if (0 == maxX) { in NoFilterProc_Scale()
43 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in NoFilterProc_Scale()
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
69 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; in NoFilterProc_Scale()
DSkBitmapProcState_shaderproc.h25 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME()
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX); in SCALE_FILTER_NAME()
56 unsigned x0 = TILEX_PROCF(fx, maxX); in SCALE_FILTER_NAME()
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX); in SCALE_FILTER_NAME()
DSkBitmapProcState.cpp248 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local
267 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc()
268 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
278 sk_memset32(colors, row[maxX], count); in Clamp_S32_D32_nofilter_trans_shaderproc()
609 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local
624 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
625 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
641 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
647 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
DSkBitmapProcState_matrix.h50 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME() local
68 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_FILTER_NAME()
75 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
/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()
/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 = 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/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/opts/
DSkBitmapProcState_opts_SSE2.cpp253 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_filter_scale_SSE2() local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in ClampX_ClampY_filter_scale_SSE2()
307 if ((count >= 4) && (maxX <= 0xFFFF)) { in ClampX_ClampY_filter_scale_SSE2()
309 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
318 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_filter_scale_SSE2()
358 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
373 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_nofilter_scale_SSE2() local
379 if (0 == maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
388 if ((unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_nofilter_scale_SSE2()
389 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
[all …]
DSkBitmapProcState_matrix_neon.h34 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_NOFILTER_NAME() local
43 if (0 == maxX) { in SCALE_NOFILTER_NAME()
55 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_NOFILTER_NAME()
86 fx8 = TILEX_PROCF_NEON8(lbase, hbase, maxX); in SCALE_NOFILTER_NAME()
102 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in SCALE_NOFILTER_NAME()
171 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME() local
190 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_FILTER_NAME()
208 res = PACK_FILTER_X4_NAME(wide_fx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
220 *xy++ = PACK_FILTER_X_NAME(SkFractionalIntToFixed(fx), maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
/external/skqp/src/opts/
DSkBitmapProcState_opts_SSE2.cpp253 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_filter_scale_SSE2() local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { in ClampX_ClampY_filter_scale_SSE2()
307 if ((count >= 4) && (maxX <= 0xFFFF)) { in ClampX_ClampY_filter_scale_SSE2()
309 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
318 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_filter_scale_SSE2()
358 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
373 const unsigned maxX = s.fPixmap.width() - 1; in ClampX_ClampY_nofilter_scale_SSE2() local
379 if (0 == maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
388 if ((unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_nofilter_scale_SSE2()
389 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
[all …]
DSkBitmapProcState_matrix_neon.h34 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_NOFILTER_NAME() local
43 if (0 == maxX) { in SCALE_NOFILTER_NAME()
55 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_NOFILTER_NAME()
86 fx8 = TILEX_PROCF_NEON8(lbase, hbase, maxX); in SCALE_NOFILTER_NAME()
102 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in SCALE_NOFILTER_NAME()
171 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME() local
190 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_FILTER_NAME()
208 res = PACK_FILTER_X4_NAME(wide_fx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
220 *xy++ = PACK_FILTER_X_NAME(SkFractionalIntToFixed(fx), maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME()
/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/effects/
DSkDashPathEffect.cpp90 SkScalar maxX = pts[1].fX; in cull_line() local
93 SkTSwap(minX, maxX); in cull_line()
96 SkASSERT(minX < maxX); in cull_line()
97 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
108 if (maxX > bounds.fRight) { in cull_line()
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
112 SkASSERT(maxX > minX); in cull_line()
114 SkTSwap(minX, maxX); in cull_line()
117 pts[1].fX = maxX; in cull_line()
/external/skqp/src/effects/
DSkDashPathEffect.cpp90 SkScalar maxX = pts[1].fX; in cull_line() local
93 SkTSwap(minX, maxX); in cull_line()
96 SkASSERT(minX < maxX); in cull_line()
97 if (maxX <= bounds.fLeft || minX >= bounds.fRight) { in cull_line()
108 if (maxX > bounds.fRight) { in cull_line()
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
112 SkASSERT(maxX > minX); in cull_line()
114 SkTSwap(minX, maxX); in cull_line()
117 pts[1].fX = maxX; in cull_line()
/external/skia/src/utils/
DSkDashPath.cpp196 SkScalar maxX = pts[1].fX; in cull_path() local
199 SkTSwap(minX, maxX); in cull_path()
202 SkASSERT(minX <= maxX); in cull_path()
203 if (maxX < bounds.fLeft || minX > bounds.fRight) { in cull_path()
215 if (maxX > bounds.fRight) { in cull_path()
216 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, in cull_path()
220 SkASSERT(maxX >= minX); in cull_path()
222 SkTSwap(minX, maxX); in cull_path()
225 pts[1].fX = maxX; in cull_path()
230 if (minX == maxX) { in cull_path()
[all …]
/external/skqp/src/utils/
DSkDashPath.cpp196 SkScalar maxX = pts[1].fX; in cull_path() local
199 SkTSwap(minX, maxX); in cull_path()
202 SkASSERT(minX <= maxX); in cull_path()
203 if (maxX < bounds.fLeft || minX > bounds.fRight) { in cull_path()
215 if (maxX > bounds.fRight) { in cull_path()
216 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, in cull_path()
220 SkASSERT(maxX >= minX); in cull_path()
222 SkTSwap(minX, maxX); in cull_path()
225 pts[1].fX = maxX; in cull_path()
230 if (minX == maxX) { in cull_path()
[all …]
/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()
/external/v8/tools/turbolizer/
Dgraph-view.js905 var maxX = (graph.maxGraphX + GRAPH_MARGIN) * scale;
909 if ((maxX + baseX) < dimensions[0]) {
910 adjustXCandidate = dimensions[0] - (maxX + baseX);
912 adjustX = (dimensions[0] / 2) - (maxX - (width / 2)) - baseX;
918 if ((maxX + baseX + adjustXCandidate) < dimensions[0]) {
919 adjustX = (dimensions[0] / 2) - (maxX - (width / 2)) - baseX;
993 var minX, maxX, minY, maxY;
999 maxX = maxX ? Math.max(maxX, n.x + n.getTotalNodeWidth()) :
1008 maxX + NODE_INPUT_WIDTH, maxY + 60,
1013 viewGraphRegion(minX, minY, maxX, maxY, transition) { argument
[all …]

123