/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | CubicLineSegments.cpp | 33 double maxX = SkTMax(hodo2[1].x, hodo2[1].x); local 35 double dist = sqrt(maxX * maxX + maxY * maxY);
|
H A D | TestUtilities.cpp | 22 int index, minX, maxX, minY, maxY; local 23 minX = maxX = minY = maxY = 0; 31 if (cubic[maxX].x < cubic[index].x) { 32 maxX = index; 38 return approximately_equal(cubic[maxX].x, cubic[minX].x)
|
H A D | LineUtilities.cpp | 82 static void setMinMax(double x, int flags, double& minX, double& maxX) { argument 86 if (maxX < x && (flags & (kFindTopMax | kFindBottomMax))) { 87 maxX = x; 92 int flags, double& minX, double& maxX) { 103 // if p1.y > p2.y, maxX can be affected 109 setMinMax(x, topFlags, minX, maxX); 115 setMinMax(x, bottomFlags, minX, maxX); 91 x_at(const _Point& p1, const _Point& p2, double top, double bottom, int flags, double& minX, double& maxX) argument
|
H A D | QuadraticReduceOrder.cpp | 67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { 87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; 143 int index, minX, maxX, minY, maxY; local 145 minX = maxX = minY = maxY = 0; 154 if (quad[maxX].x < quad[index].x) { 155 maxX = index; 178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); 66 check_linear(const Quadratic& quad, ReduceOrder_Styles reduceStyle, int minX, int maxX, int minY, int maxY, Quadratic& reduction) argument
|
/external/skia/experimental/Intersection/ |
H A D | CubicLineSegments.cpp | 33 double maxX = SkTMax(hodo2[1].x, hodo2[1].x); local 35 double dist = sqrt(maxX * maxX + maxY * maxY);
|
H A D | TestUtilities.cpp | 22 int index, minX, maxX, minY, maxY; local 23 minX = maxX = minY = maxY = 0; 31 if (cubic[maxX].x < cubic[index].x) { 32 maxX = index; 38 return approximately_equal(cubic[maxX].x, cubic[minX].x)
|
H A D | LineUtilities.cpp | 82 static void setMinMax(double x, int flags, double& minX, double& maxX) { argument 86 if (maxX < x && (flags & (kFindTopMax | kFindBottomMax))) { 87 maxX = x; 92 int flags, double& minX, double& maxX) { 103 // if p1.y > p2.y, maxX can be affected 109 setMinMax(x, topFlags, minX, maxX); 115 setMinMax(x, bottomFlags, minX, maxX); 91 x_at(const _Point& p1, const _Point& p2, double top, double bottom, int flags, double& minX, double& maxX) argument
|
H A D | QuadraticReduceOrder.cpp | 67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { 87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; 143 int index, minX, maxX, minY, maxY; local 145 minX = maxX = minY = maxY = 0; 154 if (quad[maxX].x < quad[index].x) { 155 maxX = index; 178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); 66 check_linear(const Quadratic& quad, ReduceOrder_Styles reduceStyle, int minX, int maxX, int minY, int maxY, Quadratic& reduction) argument
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderRegion.cpp | 81 LayoutUnit maxX = std::max(flowThreadPortionRect.maxX(), flowThreadOverflow.maxX()); local 82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); 85 LayoutUnit maxX = isLastPortion ? std::max(flowThreadPortionRect.maxX(), flowThreadOverflow.maxX()) : flowThreadPortionRect.maxX(); local 88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
|
H A D | RenderOverflow.h | 82 LayoutUnit maxX = std::max(rect.maxX(), m_layoutOverflow.maxX()); local 87 m_layoutOverflow.setWidth(maxX - minX); 89 m_layoutOverflow.setX(maxX - m_layoutOverflow.width()); 95 LayoutUnit maxX = std::max(rect.maxX(), m_visualOverflow.maxX()); local 99 m_visualOverflow.setWidth(maxX - m_visualOverflow.x());
|
/external/chromium_org/third_party/skia/gm/ |
H A D | ovals.cpp | 150 int maxX = fMatrices.count(); variable 164 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 166 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
H A D | roundrects.cpp | 153 int maxX = fMatrices.count(); variable 167 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 169 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcState_matrix_template.h | 22 const unsigned maxX = s.fBitmap->width() - 1; local 34 if (0 == maxX) { 42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { 49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 56 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 57 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 66 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 92 int maxX = s.fBitmap->width() - 1; local 97 TileProc::X(s, SkFractionalIntToFixed(fx), maxX); 107 int maxX = s.fBitmap->width() - 1; local [all...] |
H A D | SkBitmapFilter.cpp | 29 const int maxX = s.fBitmap->width(); local 31 SkAutoTMalloc<SkScalar> xWeights(maxX); 45 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX); 46 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width())+1, maxX);
|
H A D | SkBitmapProcState_matrix.h | 58 const unsigned maxX = s.fBitmap->width() - 1; local 76 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { 84 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); 109 unsigned maxX = s.fBitmap->width() - 1; local 115 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X); 126 unsigned maxX = s.fBitmap->width() - 1; local 140 *xy++ = PACK_FILTER_X_NAME(srcXY[0] - (oneX >> 1), maxX,
|
H A D | SkBitmapProcState_shaderproc.h | 27 const unsigned maxX = s.fBitmap->width() - 1; local 59 unsigned subX = TILEX_LOW_BITS(fx, maxX); 60 unsigned x0 = TILEX_PROCF(fx, maxX); 61 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
|
H A D | SkTileGrid.cpp | 46 // hence the "-1"s in the computations of maxX and maxY. 49 int maxX = SkMax32(0, SkMin32((dilatedBounds.right() - 1) / fInfo.fTileInterval.width(), local 56 for (int x = minX; x <= maxX; x++) {
|
/external/skia/gm/ |
H A D | ovals.cpp | 150 int maxX = fMatrices.count(); variable 164 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 166 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
H A D | roundrects.cpp | 153 int maxX = fMatrices.count(); variable 167 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) + 169 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
|
/external/skia/src/core/ |
H A D | SkBitmapProcState_matrix_template.h | 22 const unsigned maxX = s.fBitmap->width() - 1; local 34 if (0 == maxX) { 42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { 49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 56 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 57 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 66 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx; 92 int maxX = s.fBitmap->width() - 1; local 97 TileProc::X(s, SkFractionalIntToFixed(fx), maxX); 107 int maxX = s.fBitmap->width() - 1; local [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
H A D | OverScrollGlow.java | 47 * @param maxX Maximum range for horizontal scrolling 50 public void pullGlow(int x, int y, int oldX, int oldY, int maxX, int maxY) { argument 57 if (maxX > 0) { 64 } else if (pulledToX > maxX) {
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | Region.cpp | 92 int maxX = *(segment + 1); local 96 if (maxX > point.x()) 238 appendSegment(rect.maxX()); 358 int maxX = std::numeric_limits<int>::min(); 370 if (*lastSegment > maxX) 371 maxX = *lastSegment; 377 ASSERT(minX <= maxX); 380 return IntRect(minX, minY, maxX - minX, maxY - minY);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleEncode.cpp | 173 SkScalar x = 0, y = 0, maxX = 0; local 208 if (x > maxX) { 209 maxX = x; 214 x = maxX + SkIntToScalar(10);
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
H A D | SDL_mouse.c | 106 void SDL_SetMouseRange(int maxX, int maxY) argument 108 SDL_MouseMaxX = (Sint16)maxX;
|
/external/skia/samplecode/ |
H A D | SampleEncode.cpp | 173 SkScalar x = 0, y = 0, maxX = 0; local 208 if (x > maxX) { 209 maxX = x; 214 x = maxX + SkIntToScalar(10);
|