Home
last modified time | relevance | path

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

123456

/external/skia/src/core/
DSkBitmapProcState_matrix.h38 const unsigned maxX = s.fBitmap->width() - 1; in SCALE_NOFILTER_NAME() local
50 if (0 == maxX) { in SCALE_NOFILTER_NAME()
60 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME()
61 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME()
69 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
70 b = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
76 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
77 b = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
86 *xx++ = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
112 int maxX = s.fBitmap->width() - 1; in AFFINE_NOFILTER_NAME() local
[all …]
DSkBitmapProcState_matrix_repeat.h68 const unsigned maxX = s.fBitmap->width() - 1; in SCALE_NOFILTER_NAME() local
80 if (0 == maxX) { in SCALE_NOFILTER_NAME()
90 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME()
91 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME()
137 lout = vmulq_s32(lout, vdupq_n_s32(maxX+1)); in SCALE_NOFILTER_NAME()
138 hout = vmulq_s32(hout, vdupq_n_s32(maxX+1)); in SCALE_NOFILTER_NAME()
161 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
162 b = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
168 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
169 b = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
[all …]
DSkBitmapProcState_matrix_clamp.h70 const unsigned maxX = s.fBitmap->width() - 1; in SCALE_NOFILTER_NAME() local
82 if (0 == maxX) { in SCALE_NOFILTER_NAME()
92 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME()
93 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME()
145 hi16 = vminq_s16(hi16, vdupq_n_s16(maxX)); in SCALE_NOFILTER_NAME()
160 *xx++ = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME()
185 int maxX = s.fBitmap->width() - 1; in AFFINE_NOFILTER_NAME() local
201 int32_t maxpair = (maxX&0xffff) | ((maxY&0xffff)<<16); in AFFINE_NOFILTER_NAME()
273 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX); in AFFINE_NOFILTER_NAME()
287 int maxX = s.fBitmap->width() - 1; in PERSP_NOFILTER_NAME() local
[all …]
DSkBitmapSampler.cpp98 int maxX = fMaxX; in sample() local
103 int tmpx = procX(ix, maxX); in sample()
107 int tmpx1 = procX(ix + 1, maxX); in sample()
146 int maxX = fMaxX; in sample() local
151 int tmpx = procX(ix, maxX); in sample()
155 int tmpx1 = procX(ix + 1, maxX); in sample()
201 int maxX = fMaxX; in sample() local
206 int tmpx = procX(ix, maxX); in sample()
210 int tmpx1 = procX(ix + 1, maxX); in sample()
260 int maxX = fMaxX; in sample() local
[all …]
DSkBitmapProcState_shaderproc.h22 const unsigned maxX = s.fBitmap->width() - 1; in SCALE_FILTER_NAME()
54 unsigned subX = TILEX_LOW_BITS(fx, maxX); in SCALE_FILTER_NAME()
55 unsigned x0 = TILEX_PROCF(fx, maxX); in SCALE_FILTER_NAME()
56 unsigned x1 = TILEX_PROCF((fx + oneX), maxX); in SCALE_FILTER_NAME()
/external/webkit/Source/WebCore/platform/graphics/
DIntRect.cpp47 && x() < other.maxX() && other.x() < maxX() in intersects()
53 return x() <= other.x() && maxX() >= other.maxX() in contains()
61 int r = min(maxX(), other.maxX()); in intersect()
90 int r = max(maxX(), other.maxX()); in unite()
111 int right = max(maxX(), other.maxX()); in uniteIfNonZero()
DFloatRect.cpp54 && x() < other.maxX() && other.x() < maxX() in intersects()
60 return x() <= other.x() && maxX() >= other.maxX() in contains()
68 float r = min(maxX(), other.maxX()); in intersect()
94 float r = max(maxX(), other.maxX()); in unite()
112 float right = max(maxX(), other.maxX()); in uniteIfNonZero()
189 float width = ceilf(rect.maxX()) - left; in enclosingIntRect()
/external/skia/src/opts/
DSkBitmapProcState_opts_SSE2.cpp252 const unsigned maxX = s.fBitmap->width() - 1; in ClampX_ClampY_filter_scale_SSE2() local
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2()
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2()
310 if ((count >= 4) && (maxX <= 0xFFFF)) { in ClampX_ClampY_filter_scale_SSE2()
312 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
321 __m128i wide_maxX = _mm_set1_epi32(maxX); in ClampX_ClampY_filter_scale_SSE2()
361 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); in ClampX_ClampY_filter_scale_SSE2()
376 const unsigned maxX = s.fBitmap->width() - 1; in ClampX_ClampY_nofilter_scale_SSE2() local
386 if (0 == maxX) { in ClampX_ClampY_nofilter_scale_SSE2()
395 if ((unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_nofilter_scale_SSE2()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DScrollableLayerAndroid.cpp48 float maxX, float maxY) in setScrollLimits() argument
52 if (maxX < 0) maxX = 0; in setScrollLimits()
54 if (minX > maxX) minX = maxX; in setScrollLimits()
56 m_scrollLimits.set(minX, minY, minX + maxX, minY + maxY); in setScrollLimits()
/external/webkit/Source/WebCore/rendering/
DRenderOverflow.h47 , m_maxXLayoutOverflow(layoutRect.maxX()) in RenderOverflow()
51 , m_maxXVisualOverflow(visualRect.maxX()) in RenderOverflow()
127 m_maxXLayoutOverflow = std::max(rect.maxX(), m_maxXLayoutOverflow); in addLayoutOverflow()
135 m_maxXVisualOverflow = std::max(rect.maxX(), m_maxXVisualOverflow); in addVisualOverflow()
143 m_maxXLayoutOverflow = rect.maxX(); in setLayoutOverflow()
151 m_maxXVisualOverflow = rect.maxX(); in setVisualOverflow()
159 m_maxXLayoutOverflow = rect.maxX(); in resetLayoutOverflow()
DRenderThemeWinCE.cpp253 IntRect buttonRect(r.maxX() - dropDownButtonWidth - 1, r.y(), dropDownButtonWidth, r.height()); in paintMenuListButton()
389 …paintInfo.context->drawLine(IntPoint(xBounds.maxX(), xBounds.y()), IntPoint(xBounds.x(), xBounds.… in paintSearchFieldCancelButton()
501 …IntPoint right = IntPoint(left.x() + mediaElement->percentLoaded() * (r.maxX() - r.x() - 4), (r.y(… in paintSliderTrack()
507 i.context->drawLine(left, IntPoint(r.maxX() - 2, left.y())); in paintSliderTrack()
569 FloatPoint(imRect.maxX() - 1, imRect.y()), in paintMediaMuteButton()
570 FloatPoint(imRect.maxX() - 1, imRect.maxY()), in paintMediaMuteButton()
576 …paintInfo.context->drawLine(IntPoint(imRect.maxX(), imRect.y()), IntPoint(imRect.x(), imRect.maxY(… in paintMediaMuteButton()
598 …FloatPoint pts[3] = { FloatPoint(imRect.x(), imRect.y()), FloatPoint(imRect.maxX(), (imRect.y() + … in paintMediaPlayButton()
610 ….x() + imRect.maxX()) / 2.0, imRect.y()), FloatPoint(imRect.x(), (imRect.y() + imRect.maxY()) / 2.… in paintMediaSeekBackButton()
611 …Point(imRect.maxX(), imRect.y()), FloatPoint((imRect.x() + imRect.maxX()) / 2.0, (imRect.y() + imR… in paintMediaSeekBackButton()
[all …]
DRenderInline.cpp1421 int r = tx + thisline.maxX() + offset; in paintOutlineForLine()
1426 …t - (lastline.isEmpty() || thisline.x() < lastline.x() || (lastline.maxX() - 1) <= thisline.x() ? … in paintOutlineForLine()
1428 …b + (nextline.isEmpty() || thisline.x() <= nextline.x() || (nextline.maxX() - 1) <= thisline.x() ?… in paintOutlineForLine()
1431 …(lastline.isEmpty() || thisline.x() < lastline.x() || (lastline.maxX() - 1) <= thisline.x() ? ow :… in paintOutlineForLine()
1432 …(nextline.isEmpty() || thisline.x() <= nextline.x() || (nextline.maxX() - 1) <= thisline.x() ? ow … in paintOutlineForLine()
1437 …t - (lastline.isEmpty() || lastline.maxX() < thisline.maxX() || (thisline.maxX() - 1) <= lastline.… in paintOutlineForLine()
1439 …b + (nextline.isEmpty() || nextline.maxX() <= thisline.maxX() || (thisline.maxX() - 1) <= nextline… in paintOutlineForLine()
1442 …(lastline.isEmpty() || lastline.maxX() < thisline.maxX() || (thisline.maxX() - 1) <= lastline.x() … in paintOutlineForLine()
1443 …(nextline.isEmpty() || nextline.maxX() <= thisline.maxX() || (thisline.maxX() - 1) <= nextline.x()… in paintOutlineForLine()
1455 if (lastline.maxX() < thisline.maxX()) in paintOutlineForLine()
[all …]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollPreset.java65 private float maxX, minX, maxY, minY, maxZ, minZ; field in RagdollPreset.JointPreset
70 public JointPreset(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) { in JointPreset() argument
71 this.maxX = maxX; in JointPreset()
80 joint.getRotationalLimitMotor(0).setHiLimit(maxX); in setupJoint()
/external/webkit/Source/WebKit2/UIProcess/qt/
DTiledDrawingAreaTileQt.cpp93 if (m_rect.maxX() > oldRect.maxX()) in resize()
94 … invalidate(IntRect(oldRect.maxX(), oldRect.y(), m_rect.maxX() - oldRect.maxX(), m_rect.height())); in resize()
/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/webkit/Source/WebCore/page/
DSpatialNavigation.cpp131 return isHorizontalMove(direction) ? rect.maxY() : rect.maxX(); in end()
148 bEnd = b.maxX(); in areRectsFullyAligned()
152 bEnd = a.maxX(); in areRectsFullyAligned()
249 return curRect.x() - targetRect.maxX() > viewSize.width(); in areRectsMoreThanFullScreenApart()
251 return targetRect.x() - curRect.maxX() > viewSize.width(); in areRectsMoreThanFullScreenApart()
271 return a.x() > b.maxX(); in rightOf()
278 return targetRect.maxX() <= curRect.x(); in isRectInDirection()
280 return targetRect.x() >= curRect.maxX(); in isRectInDirection()
550 entryPoint.setX(potentialRect.maxX()); in entryAndExitPointsForDirection()
557 exitPoint.setX(startingRect.maxX()); in entryAndExitPointsForDirection()
[all …]
DPrintContext.cpp134 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.x() : docRect.maxX(); in computePageRectsWithPageSizeInternal()
135 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxX() : docRect.x(); in computePageRectsWithPageSizeInternal()
138 blockDirectionStart = docRect.maxX(); in computePageRectsWithPageSizeInternal()
142 blockDirectionEnd = docRect.maxX(); in computePageRectsWithPageSizeInternal()
267 if (page.x() <= left && left < page.maxX() && page.y() <= top && top < page.maxY()) in pageNumberForElement()
/external/webkit/Source/WebCore/platform/graphics/skia/
DIntRectSkia.cpp40 SkIRect rect = { x(), y(), maxX(), maxY() }; in operator SkIRect()
47 rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(maxX()), SkIntToScalar(maxY())); in operator SkRect()
/external/skia/samplecode/
DSampleEncode.cpp178 SkScalar x = 0, y = 0, maxX = 0; in onDrawContent() local
203 if (x > maxX) { in onDrawContent()
204 maxX = x; in onDrawContent()
209 x = maxX + SkIntToScalar(10); in onDrawContent()
/external/webkit/Source/WebKit2/Platform/
DRegion.cpp76 appendSegment(rect.maxX()); in Shape()
190 int maxX = std::numeric_limits<int>::min(); in bounds() local
202 if (*lastSegment > maxX) in bounds()
203 maxX = *lastSegment; in bounds()
209 ASSERT(minX <= maxX); in bounds()
212 return IntRect(minX, minY, maxX - minX, maxY - minY); in bounds()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DResizableDialog.java109 int maxX = windowBounds.x + windowBounds.width - initialSize.x; in getInitialLocation() local
111 if (x > maxX) { in getInitialLocation()
112 x = maxX; in getInitialLocation()
/external/webkit/Source/WebKit/chromium/src/
DDragScrollTimer.cpp46 else if (rect.maxX() < point.x()) in distanceToRect()
47 dx = point.x() - rect.maxX(); in distanceToRect()
/external/webkit/Source/WebCore/page/chromium/
DFrameChromium.cpp88 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); in nodeImage()
111 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); in dragImageForSelection()

123456