Searched defs:maxX (Results 26 - 50 of 54) sorted by relevance

123

/external/chromium_org/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp128 SkScalar maxX = pts[1].fX; local
130 if (maxX < bounds.fLeft || minX > bounds.fRight) {
135 SkTSwap(minX, maxX);
146 if (maxX > bounds.fRight) {
147 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight,
151 SkASSERT(maxX >= minX);
153 SkTSwap(minX, maxX);
156 pts[1].fX = maxX;
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp54 const int maxX = s.fBitmap->width() - 1; local
73 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f)));
118 const int maxX = s.fBitmap->width() - 1; local
140 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f)));
H A DSkBitmapProcState_matrix_clamp_neon.h66 const unsigned maxX = s.fBitmap->width() - 1; local
78 if (0 == maxX) {
88 if ((unsigned)(fx >> 16) <= maxX &&
89 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
140 hi16 = vminq_s16(hi16, vdupq_n_s16(maxX));
155 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
180 int maxX = s.fBitmap->width() - 1; local
196 int32_t maxpair = (maxX&0xffff) | ((maxY&0xffff)<<16);
268 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX);
282 int maxX local
488 const unsigned maxX = s.fBitmap->width() - 1; local
609 unsigned maxX = s.fBitmap->width() - 1; local
755 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp253 const unsigned maxX = s.fBitmap->width() - 1; local
269 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
270 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
308 // maxX less than the max 16bit interger. Actually maxX is the bitmap's
311 if ((count >= 4) && (maxX <= 0xFFFF)) {
313 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one);
322 __m128i wide_maxX = _mm_set1_epi32(maxX);
330 // i = SkClampMax(f>>16,maxX)
362 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, on
377 const unsigned maxX = s.fBitmap->width() - 1; local
504 unsigned maxX = s.fBitmap->width() - 1; local
578 int maxX = s.fBitmap->width() - 1; local
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkReduceOrder.cpp74 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) {
94 bool useX = quad[maxX].fX - quad[minX].fX >= quad[maxY].fY - quad[minY].fY;
141 int index, minX, maxX, minY, maxY; local
143 minX = maxX = minY = maxY = 0;
152 if (quad[maxX].fX < quad[index].fX) {
153 maxX = index;
176 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, fQuad);
280 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) {
301 bool useX = cubic[maxX].fX - cubic[minX].fX >= cubic[maxY].fY - cubic[minY].fY;
371 int index, minX, maxX, min local
73 check_linear(const SkDQuad& quad, SkReduceOrder::Style reduceStyle, int minX, int maxX, int minY, int maxY, SkDQuad& reduction) argument
279 check_linear(const SkDCubic& cubic, SkReduceOrder::Style reduceStyle, int minX, int maxX, int minY, int maxY, SkDCubic& reduction) argument
[all...]
/external/skia/src/effects/
H A DSkDashPathEffect.cpp128 SkScalar maxX = pts[1].fX; local
130 if (maxX < bounds.fLeft || minX > bounds.fRight) {
135 SkTSwap(minX, maxX);
146 if (maxX > bounds.fRight) {
147 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight,
151 SkASSERT(maxX >= minX);
153 SkTSwap(minX, maxX);
156 pts[1].fX = maxX;
/external/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp54 const int maxX = s.fBitmap->width() - 1; local
73 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f)));
118 const int maxX = s.fBitmap->width() - 1; local
140 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f)));
H A DSkBitmapProcState_matrix_clamp_neon.h66 const unsigned maxX = s.fBitmap->width() - 1; local
78 if (0 == maxX) {
88 if ((unsigned)(fx >> 16) <= maxX &&
89 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
140 hi16 = vminq_s16(hi16, vdupq_n_s16(maxX));
155 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
180 int maxX = s.fBitmap->width() - 1; local
196 int32_t maxpair = (maxX&0xffff) | ((maxY&0xffff)<<16);
268 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX);
282 int maxX local
488 const unsigned maxX = s.fBitmap->width() - 1; local
609 unsigned maxX = s.fBitmap->width() - 1; local
755 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp253 const unsigned maxX = s.fBitmap->width() - 1; local
269 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
270 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
308 // maxX less than the max 16bit interger. Actually maxX is the bitmap's
311 if ((count >= 4) && (maxX <= 0xFFFF)) {
313 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one);
322 __m128i wide_maxX = _mm_set1_epi32(maxX);
330 // i = SkClampMax(f>>16,maxX)
362 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, on
377 const unsigned maxX = s.fBitmap->width() - 1; local
504 unsigned maxX = s.fBitmap->width() - 1; local
578 int maxX = s.fBitmap->width() - 1; local
[all...]
/external/skia/src/pathops/
H A DSkReduceOrder.cpp74 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) {
94 bool useX = quad[maxX].fX - quad[minX].fX >= quad[maxY].fY - quad[minY].fY;
141 int index, minX, maxX, minY, maxY; local
143 minX = maxX = minY = maxY = 0;
152 if (quad[maxX].fX < quad[index].fX) {
153 maxX = index;
176 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, fQuad);
280 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) {
301 bool useX = cubic[maxX].fX - cubic[minX].fX >= cubic[maxY].fY - cubic[minY].fY;
371 int index, minX, maxX, min local
73 check_linear(const SkDQuad& quad, SkReduceOrder::Style reduceStyle, int minX, int maxX, int minY, int maxY, SkDQuad& reduction) argument
279 check_linear(const SkDCubic& cubic, SkReduceOrder::Style reduceStyle, int minX, int maxX, int minY, int maxY, SkDCubic& reduction) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderRegion.cpp116 LayoutUnit maxX = clipX ? flowThreadPortionRect.maxX() : max(flowThreadPortionRect.maxX(), (flowThreadOverflow.maxX() + outlineSize)); local
117 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
120 LayoutUnit maxX = isLastPortion ? max(flowThreadPortionRect.maxX(), flowThreadOverflow.maxX()) + outlineSize : flowThreadPortionRect.maxX(); local
123 clipRect = LayoutRect(minX, minY, maxX
[all...]
H A DInlineTextBox.cpp223 else if (r.maxX() > logicalRight())
488 LayoutUnit paintEnd = isHorizontal() ? paintInfo.rect.maxX() : paintInfo.rect.maxY();
825 float maxX = floorf(rect.maxX()); local
827 rect.setWidth(roundf(maxX - rect.x()));
1463 return font.selectionRectForText(constructTextRun(styleToUse, font), IntPoint(logicalLeft(), 0), 0, from, to).maxX();
H A DRenderBlock.h715 inline LayoutUnit maxX() const { ASSERT(isPlaced()); return m_frameRect.maxX(); } function in struct:WebCore::RenderBlock::FloatingObject
757 LayoutUnit logicalBottomForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? child->maxY() : child->maxX(); }
759 LayoutUnit logicalRightForFloat(const FloatingObject* child) const { return isHorizontalWritingMode() ? child->maxX() : child->maxY(); }
H A DRenderBoxModelObject.cpp460 IntRect topCorner(clipRect.rect().x(), clipRect.rect().y(), rect.maxX() - clipRect.rect().x(), rect.maxY() - clipRect.rect().y());
465 IntRect bottomCorner(rect.x(), rect.y(), clipRect.rect().maxX() - rect.x(), clipRect.rect().maxY() - rect.y());
472 IntRect topCorner(rect.x(), clipRect.rect().y(), clipRect.rect().maxX() - rect.x(), rect.maxY() - clipRect.rect().y());
477 IntRect bottomCorner(clipRect.rect().x(), rect.y(), rect.maxX() - clipRect.rect().x(), clipRect.rect().maxY() - rect.y());
1197 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y(), rightWidth, topWidth),
1203 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.maxY() - bottomWidth, rightWidth, bottomWidth),
1208 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y() + topWidth, rightWidth,
1344 topRightRect.setX(boundingRect.maxX() - topRightRect.width());
1354 bottomRightRect.setX(boundingRect.maxX() - bottomRightRect.width());
1557 drawLineForBoxSide(graphicsContext, sideRect.x(), sideRect.y(), sideRect.maxX(), sideRec
2613 LayoutUnit maxX = width - borderRight() - paddingRight(); local
[all...]
H A DRenderLayer.cpp2123 int maxX = scrollWidth() - box->pixelSnappedClientWidth(); local
2126 int x = max(min(scrollOffset.width(), maxX), 0);
2343 if (scrollX == alignToClosestEdge && exposeRect.maxX() > visibleRect.maxX() && exposeRect.width() < visibleRect.width())
2351 x = exposeRect.maxX() - visibleRect.width();
2547 static int cornerStart(const RenderStyle* style, int minX, int maxX, int thickness) argument
2551 return maxX - thickness - style->borderRightWidth();
2573 return IntRect(cornerStart(style, bounds.x(), bounds.maxX(), horizontalThickness),
2733 return IntRect(verticalScrollbarStart(borderBoxRect.x(), borderBoxRect.maxX()),
2739 LayoutUnit RenderLayer::verticalScrollbarStart(int minX, int maxX) cons
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState.cpp551 const int maxX = s.fBitmap->width() - 1; local
582 if (ix <= maxX) {
583 int n = SkMin32(maxX - ix + 1, count);
593 sk_memset32(colors, row[maxX], count);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
H A DKinematicRagdollControl.java426 * @param maxX the maximum rotation on the x axis (in radians)
433 public void setJointLimit(String boneName, float maxX, float minX, float maxY, float minY, float maxZ, float minZ) { argument
436 RagdollUtils.setJointLimit(link.joint, maxX, minX, maxY, minY, maxZ, minZ);
/external/opencv/cvaux/src/
H A Dcvcorrimages.cpp633 float maxX,maxY; local
636 maxX = maxY = FLT_MIN;
650 if( x > maxX )
651 maxX = x;
671 if( x > maxX )
672 maxX = x;
686 subdiv = cvCreateSubdivDelaunay2D( cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10, cvRound(maxY-minY)+10 ), storage );
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocvideo.cpp894 TInt maxX = Min(screenW - 1, rect2.x + rect2.w - 1); local
896 if (maxX < 0 || maxY < 0) /* sanity check */
902 const TInt sourceRectWidth = maxX - rect2.x + 1;
1031 /* TInt maxX = Min(screenW - 1, rect2.x + rect2.w - 1);
1033 if (maxX < 0 || maxY < 0) /* sanity check */
1039 /* TInt sourceRectWidth = maxX - rect2.x + 1;
1182 TInt maxX = Min(sourceW - 1, rect2.x + rect2.w - 1); local
1184 if (maxX < 0 || maxY < 0) /* sanity check */
1187 //maxX = Min(maxX, Privat
[all...]
/external/skia/src/core/
H A DSkBitmapProcState.cpp551 const int maxX = s.fBitmap->width() - 1; local
582 if (ix <= maxX) {
583 int n = SkMin32(maxX - ix + 1, count);
593 sk_memset32(colors, row[maxX], count);
/external/skia/tools/
H A Dskimage_main.cpp132 * @param maxX Exclusive maximum x-coordinate. SkIRect's fLeft and fRight will be
133 * in the range [0, maxX)
138 static SkIRect generate_random_rect(SkRandom* rand, int32_t maxX, int32_t maxY) { argument
139 SkASSERT(maxX > 1 && maxY > 1);
140 int32_t left = rand->nextULessThan(maxX);
141 int32_t right = rand->nextULessThan(maxX);
153 // maxX must be at least 2, so it must still be in
155 SkASSERT(rect.fRight < maxX);
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
H A DPhysicsSpace.java182 private native long createPhysicsSpace(float minX, float minY, float minZ, float maxX, float maxY, float maxZ, int broadphaseType, boolean threading); argument
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/
H A DTransformationMatrix.cpp639 right = clampEdgeValue(ceilf(mappedQuadBounds.maxX()));
688 float maxX = r.maxX(); local
691 result.setP2(internalMapPoint(FloatPoint(maxX, r.y())));
692 result.setP3(internalMapPoint(FloatPoint(maxX, maxY)));
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwContents.java1844 private void setMaxContainerViewScrollOffset(int maxX, int maxY) { argument
1845 mScrollOffsetManager.setMaxScrollOffset(maxX, maxY);
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...

Completed in 432 milliseconds

123