Searched defs:maxX (Results 1 - 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapFilter.cpp28 const int maxX = s.fBitmap->width() - 1; local
43 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX);
44 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width()), maxX);
H A DSkBitmapProcState_shaderproc.h27 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 DSkBitmapProcState_matrix.h54 const unsigned maxX = s.fBitmap->width() - 1; local
66 if (0 == maxX) {
75 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
84 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
85 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
91 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
92 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
101 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
127 int maxX = s.fBitmap->width() - 1; local
132 TILEX_PROCF(SkFractionalIntToFixed(fx), maxX);
143 int maxX = s.fBitmap->width() - 1; local
184 const unsigned maxX = s.fBitmap->width() - 1; local
235 unsigned maxX = s.fBitmap->width() - 1; local
252 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
H A DRagdollPreset.java65 private float maxX, minX, maxY, minY, maxZ, minZ; field in class:RagdollPreset.JointPreset
70 public JointPreset(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) { argument
71 this.maxX = maxX;
80 joint.getRotationalLimitMotor(0).setHiLimit(maxX);
H A DRagdollUtils.java29 public static void setJointLimit(SixDofJoint joint, float maxX, float minX, float maxY, float minY, float maxZ, float minZ) { argument
31 joint.getRotationalLimitMotor(0).setHiLimit(maxX);
/external/skia/gm/
H A Dovals.cpp146 int maxX = fMatrices.count(); variable
160 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
162 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
H A Droundrects.cpp149 int maxX = fMatrices.count(); variable
163 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
165 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
/external/skia/src/core/
H A DSkBitmapFilter.cpp28 const int maxX = s.fBitmap->width() - 1; local
43 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX);
44 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width()), maxX);
H A DSkBitmapProcState_shaderproc.h27 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 DSkBitmapProcState_matrix.h54 const unsigned maxX = s.fBitmap->width() - 1; local
66 if (0 == maxX) {
75 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
84 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
85 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
91 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
92 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
101 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
127 int maxX = s.fBitmap->width() - 1; local
132 TILEX_PROCF(SkFractionalIntToFixed(fx), maxX);
143 int maxX = s.fBitmap->width() - 1; local
184 const unsigned maxX = s.fBitmap->width() - 1; local
235 unsigned maxX = s.fBitmap->width() - 1; local
252 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DOverScrollGlow.java44 * @param maxX Maximum range for horizontal scrolling
47 public void pullGlow(int x, int y, int oldX, int oldY, int maxX, int maxY) { argument
53 if (maxX > 0) {
60 } else if (pulledToX > maxX) {
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DRegion.cpp92 int maxX = *(segment + 1); local
96 if (maxX > point.x())
232 appendSegment(rect.maxX());
346 int maxX = std::numeric_limits<int>::min();
358 if (*lastSegment > maxX)
359 maxX = *lastSegment;
365 ASSERT(minX <= maxX);
368 return IntRect(minX, minY, maxX - minX, maxY - minY);
H A DFloatPolygon.h89 float maxX() const { return std::max(vertex1().x(), vertex2().x()); } function in class:WebCore::VertexPair
H A DIntRect.h71 int maxX() const { return x() + width(); } function in class:WebCore::IntRect
104 int delta = edge - maxX();
130 { return px >= x() && px < maxX() && py >= y() && py < maxY(); }
H A DRoundedRect.cpp159 int maxX = m_rect.maxX() - max(m_radii.topRight().width(), m_radii.bottomRight().width()); local
161 return IntRect(minX, minY, maxX - minX, maxY - minY);
215 FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height());
217 FloatPoint center(m_rect.maxX() - topRight.width(), m_rect.y() + topRight.height());
237 FloatRect rect(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height(), bottomRight.width(), bottomRight.height());
239 FloatPoint center(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height());
H A DFloatRect.cpp65 && isWithinIntRange(maxX()) && isWithinIntRange(maxY());
72 && x() < other.maxX() && other.x() < maxX()
78 return x() <= other.x() && maxX() >= other.maxX()
86 return x() < point.x() && maxX() > point.x() && y() < point.y() && maxY() > point.y();
93 float r = min(maxX(), other.maxX());
124 float maxX = max(this->maxX(), othe local
147 float maxX = max(this->maxX(), p.x()); local
[all...]
H A DFloatRect.h76 float maxX() const { return x() + width(); } function in class:WebCore::FloatRect
109 float delta = edge - maxX();
142 { return px >= x() && px <= maxX() && py >= y() && py <= maxY(); }
H A DLayoutRect.h67 LayoutUnit maxX() const { return x() + width(); } function in class:WebCore::LayoutRect
117 LayoutUnit delta = edge - maxX();
143 { return px >= x() && px < maxX() && py >= y() && py < maxY(); }
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderOverflow.h92 LayoutUnit maxX = std::max(rect.maxX(), m_layoutOverflow.maxX()); local
96 m_layoutOverflow.setWidth(maxX - m_layoutOverflow.x());
102 LayoutUnit maxX = std::max(rect.maxX(), m_visualOverflow.maxX()); local
106 m_visualOverflow.setWidth(maxX - m_visualOverflow.x());
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_mouse.c106 void SDL_SetMouseRange(int maxX, int maxY) argument
108 SDL_MouseMaxX = (Sint16)maxX;
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_matrix_repeat_neon.h64 const unsigned maxX = s.fBitmap->width() - 1; local
76 if (0 == maxX) {
86 if ((unsigned)(fx >> 16) <= maxX &&
87 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
131 lout = vmulq_s32(lout, vdupq_n_s32(maxX+1));
132 hout = vmulq_s32(hout, vdupq_n_s32(maxX+1));
151 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
178 int maxX = s.fBitmap->width() - 1; local
226 xout = vmulq_s32(xout, vdupq_n_s32(maxX+1));
254 uint32_t val = (TILEY_PROCF(ofy, maxY) << 16) | TILEX_PROCF(ofx, maxX);
284 int maxX = s.fBitmap->width() - 1; local
418 const unsigned maxX = s.fBitmap->width() - 1; local
470 unsigned maxX = s.fBitmap->width() - 1; local
489 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_PhysicsSpace.cpp49 (JNIEnv * env, jobject object, jfloat minX, jfloat minY, jfloat minZ, jfloat maxX, jfloat maxY, jfloat maxZ, jint broadphase, jboolean threading) {
57 space->createPhysicsSpace(minX, minY, minZ, maxX, maxY, maxZ, broadphase, threading);
48 Java_com_jme3_bullet_PhysicsSpace_createPhysicsSpace(JNIEnv * env, jobject object, jfloat minX, jfloat minY, jfloat minZ, jfloat maxX, jfloat maxY, jfloat maxZ, jint broadphase, jboolean threading) argument
H A DjmePhysicsSpace.cpp105 void jmePhysicsSpace::createPhysicsSpace(jfloat minX, jfloat minY, jfloat minZ, jfloat maxX, jfloat maxY, jfloat maxZ, jint broadphaseId, jboolean threading) { argument
114 btVector3 max = btVector3(maxX, maxY, maxZ);
/external/skia/src/opts/
H A DSkBitmapProcState_matrix_repeat_neon.h64 const unsigned maxX = s.fBitmap->width() - 1; local
76 if (0 == maxX) {
86 if ((unsigned)(fx >> 16) <= maxX &&
87 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
131 lout = vmulq_s32(lout, vdupq_n_s32(maxX+1));
132 hout = vmulq_s32(hout, vdupq_n_s32(maxX+1));
151 *xx++ = TILEX_PROCF(fx, maxX); fx += dx;
178 int maxX = s.fBitmap->width() - 1; local
226 xout = vmulq_s32(xout, vdupq_n_s32(maxX+1));
254 uint32_t val = (TILEY_PROCF(ofy, maxY) << 16) | TILEX_PROCF(ofx, maxX);
284 int maxX = s.fBitmap->width() - 1; local
418 const unsigned maxX = s.fBitmap->width() - 1; local
470 unsigned maxX = s.fBitmap->width() - 1; local
489 unsigned maxX = s.fBitmap->width() - 1; local
[all...]
/external/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp23 int index, minX, maxX, minY, maxY; local
24 minX = maxX = minY = maxY = 0;
32 if (cubic[maxX].fX < cubic[index].fX) {
33 maxX = index;
39 return approximately_equal(cubic[maxX].fX, cubic[minX].fX)

Completed in 168 milliseconds

123