/external/skia/src/core/ |
D | SkBitmapProcState_matrix_template.h | 22 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() 91 int maxX = s.fPixmap.width() - 1; in NoFilterProc_Affine() local 96 TileProc::X(s, SkFractionalIntToFixed(fx), maxX); in NoFilterProc_Affine() [all …]
|
D | SkBitmapProcState_matrix.h | 57 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_FILTER_NAME() local 75 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_FILTER_NAME() 82 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); in SCALE_FILTER_NAME() 104 unsigned maxX = s.fPixmap.width() - 1; in AFFINE_FILTER_NAME() local 110 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X); in AFFINE_FILTER_NAME() 121 unsigned maxX = s.fPixmap.width() - 1; in PERSP_FILTER_NAME() local 135 *xy++ = PACK_FILTER_X_NAME(srcXY[0] - (oneX >> 1), maxX, in PERSP_FILTER_NAME()
|
D | SkBitmapProcState_shaderproc.h | 25 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()
|
D | SkBitmapProcState.cpp | 371 const int maxX = s.fPixmap.width() - 1; in Clamp_S32_D32_nofilter_trans_shaderproc() local 390 if (ix <= maxX) { in Clamp_S32_D32_nofilter_trans_shaderproc() 391 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc() 401 sk_memset32(colors, row[maxX], count); in Clamp_S32_D32_nofilter_trans_shaderproc() 765 const unsigned maxX = s.fPixmap.width() - 1; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() local 780 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX && in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 781 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX) in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 797 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 803 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
|
D | SkColorLookUpTable.cpp | 29 const uint8_t maxX = fGridPoints[0] - 1; in interp3D() local 34 const float x = src[0] * maxX; in interp3D() 44 ix = (maxX == ix) ? ix - 1 : ix; in interp3D()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | RectRegion.java | 44 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()
|
D | LineAndPointRenderer.java | 198 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()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 253 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 …]
|
D | SkBitmapProcState_matrix_neon.h | 38 const unsigned maxX = s.fPixmap.width() - 1; in SCALE_NOFILTER_NAME() local 47 if (0 == maxX) { in SCALE_NOFILTER_NAME() 59 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in SCALE_NOFILTER_NAME() 90 fx8 = TILEX_PROCF_NEON8(lbase, hbase, maxX); in SCALE_NOFILTER_NAME() 106 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in SCALE_NOFILTER_NAME() 125 int maxX = s.fPixmap.width() - 1; in AFFINE_NOFILTER_NAME() local 157 hi16.val[0] = TILEX_PROCF_NEON8(xbase, x2base, maxX); in AFFINE_NOFILTER_NAME() 178 TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); in AFFINE_NOFILTER_NAME() 190 int maxX = s.fPixmap.width() - 1; in PERSP_NOFILTER_NAME() local 210 hi16.val[0] = TILEX_PROCF_NEON8(xy1.val[0], xy2.val[0], maxX); in PERSP_NOFILTER_NAME() [all …]
|
/external/skia/src/pathops/ |
D | SkReduceOrder.cpp | 39 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 …]
|
D | SkPathOpsCurve.cpp | 16 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()
|
D | SkOpAngle.cpp | 500 double minX, minY, maxX, maxY; in endsIntersect() local 502 maxX = maxY = -SK_ScalarInfinity; in endsIntersect() 508 maxX = SkTMax(maxX, curve[idx2].fX); 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() 568 maxX = SkTMax(maxX, curve[idx2].fX); in endToSide() 571 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endToSide()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorConvolution.h | 576 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/utils/ |
D | SkDashPath.cpp | 111 SkScalar maxX = pts[1].fX; in cull_path() local 114 SkTSwap(minX, maxX); in cull_path() 117 SkASSERT(minX <= maxX); in cull_path() 118 if (maxX < bounds.fLeft || minX > bounds.fRight) { in cull_path() 130 if (maxX > bounds.fRight) { in cull_path() 131 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, in cull_path() 135 SkASSERT(maxX >= minX); in cull_path() 137 SkTSwap(minX, maxX); in cull_path() 140 pts[1].fX = maxX; in cull_path()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 90 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/replicaisland/src/com/replica/replicaisland/ |
D | AABoxCollisionVolume.java | 104 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()
|
D | SphereCollisionVolume.java | 130 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()
|
D | CollisionVolume.java | 61 final float maxX = getMaxX(); in getMinXPosition() local 62 value = flip.parentWidth - maxX; in getMinXPosition()
|
/external/v8/tools/turbolizer/ |
D | graph-view.js | 905 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 …]
|
/external/skia/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 24 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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | ValPixConverter.java | 91 …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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
D | ResizableDialog.java | 109 int maxX = windowBounds.x + windowBounds.width - initialSize.x; in getInitialLocation() local 111 if (x > maxX) { in getInitialLocation() 112 x = maxX; in getInitialLocation()
|
/external/swiftshader/src/Shader/ |
D | Constants.cpp | 336 …const dword maxX[16] = {0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0x… in Constants() local 344 memcpy(&this->maxX, &maxX, sizeof(maxX)); in Constants()
|
/external/opencv/cvaux/src/ |
D | cvcorrimages.cpp | 633 float maxX,maxY; in icvRemoveDoublePoins() local 636 maxX = maxY = FLT_MIN; in icvRemoveDoublePoins() 650 if( x > maxX ) in icvRemoveDoublePoins() 651 maxX = x; in icvRemoveDoublePoins() 671 if( x > maxX ) in icvRemoveDoublePoins() 672 maxX = x; in icvRemoveDoublePoins() 686 …subdiv = cvCreateSubdivDelaunay2D( cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10… in icvRemoveDoublePoins()
|
/external/skia/gm/ |
D | ovals.cpp | 148 int maxX = fMatrices.count(); in onDraw() local 162 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + in onDraw() 164 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) + in onDraw()
|