/external/webkit/Source/WebCore/platform/ |
ScrollAnimator.cpp | 91 float deltaX = horizontalScrollbar ? e.deltaX() : 0; 96 if ((deltaX < 0 && maxForwardScrollDelta.width() > 0) 97 || (deltaX > 0 && maxBackwardScrollDelta.width() > 0) 102 ASSERT(!e.deltaX()); 111 if (deltaX) 112 scroll(HorizontalScrollbar, ScrollByPixel, horizontalScrollbar->pixelStep(), -deltaX);
|
PlatformWheelEvent.h | 112 float deltaX() const { return m_deltaX; }
|
/external/webkit/Source/WebCore/svg/ |
SVGRadialGradientElement.cpp | 235 float deltaX = focalPoint.x() - centerPoint.x(); 242 if (sqrt(deltaX * deltaX + deltaY * deltaY) > radiusMax) { 243 float angle = atan2f(deltaY, deltaX); 245 deltaX = cosf(angle) * radiusMax; 247 focalPoint = FloatPoint(deltaX + centerPoint.x(), deltaY + centerPoint.y());
|
/external/webkit/Source/WebKit2/Shared/qt/ |
WebEventFactoryQt.cpp | 103 float deltaX = delta.x(); 109 return WebMouseEvent(type, button, event->pos().toPoint(), event->screenPos(), deltaX, deltaY, 0.0f, clickCount, modifiers, timestamp); 114 float deltaX = 0; 128 deltaX = (fullTick) ? e->delta() / 120.0f : e->delta(); 129 wheelTicksX = deltaX; 139 deltaX *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1; 143 return WebWheelEvent(WebEvent::Wheel, e->pos().toPoint(), e->screenPos(), FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
lbxdeltastr.h | 76 INT8 deltaX; 84 INT8 deltaX;
|
/external/webkit/Source/WebKit2/Shared/win/ |
WebEventFactory.cpp | 412 int deltaX = 0; 428 deltaX = delta * static_cast<float>(horizontalScrollChars()) * cScrollbarPixelsPerLine; 432 deltaX = 0; 443 return WebWheelEvent(WebEvent::Wheel, position, globalPosition, FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
|
/frameworks/base/services/java/com/android/server/wm/ |
Watermark.java | 148 int deltaX = mDeltaX; 151 // deltaX shouldn't be close to a round fraction of our 153 int div = (dw+mTextWidth)/deltaX; 154 int rem = (dw+mTextWidth) - (div*deltaX); 155 int qdelta = deltaX/4; 156 if (rem < qdelta || rem > (deltaX-qdelta)) { 157 deltaX += deltaX/3; 164 x += deltaX;
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 538 * @param deltaX Amount to drag horizontally in pixels 549 int deltaX, int deltaY) { 550 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY); 560 * @param deltaX Amount to drag horizontally in pixels 570 public static int dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, 579 int distance = (int) Math.sqrt(deltaX * deltaX + deltaY * deltaY); 581 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); 629 int deltaX = fromX - toX; 632 int distance = (int)Math.sqrt(deltaX * deltaX + deltaY * deltaY) [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestView.java | 96 int deltaX = 0; 98 deltaX = testString(canvas, NORMAL_TEXT, ORIGIN, ORIGIN, 101 deltaX += testString(canvas, ITALIC_TEXT, ORIGIN + deltaX, ORIGIN, 104 deltaX += testString(canvas, BOLD_TEXT, ORIGIN + deltaX, ORIGIN, 107 deltaX += testString(canvas, BOLD_ITALIC_TEXT, ORIGIN + deltaX, ORIGIN, 111 deltaX = testString(canvas, NORMAL_LONG_TEXT, ORIGIN, ORIGIN + 2 * currentTextSize, 115 deltaX = testString(canvas, NORMAL_LONG_TEXT_2, ORIGIN, ORIGIN + 4 * currentTextSize [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HandleView.java | 148 final int deltaX = Math.round((ev.getX() - mStartMoveX)); 149 if (deltaX != mLastDeltaX) { 150 mLastDeltaX = deltaX; 154 mListener.onMove(this, getLeft(), deltaX + getWidth()); 156 mListener.onMove(this, getLeft(), deltaX); 190 final int deltaX = Math.round((eventX - mStartMoveX)); 192 mListener.onMoveEnd(this, getLeft(), deltaX + getWidth()); 194 mListener.onMoveEnd(this, getLeft(), deltaX);
|
ImageViewTouchBase.java | 490 float deltaX = 0, deltaY = 0; 506 deltaX = (viewWidth - width) / 2 - rect.left; 508 deltaX = -rect.left; 510 deltaX = viewWidth - rect.right; 514 mSuppMatrix.postTranslate(deltaX, deltaY);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 184 float deltaX = mSpeed; 185 float newX = mLastX + deltaX;
|
/external/opencv/cv/src/ |
cvoptflowlk.cpp | 500 float deltaX; 504 deltaX = -(C1 * A1B2 - C2 * B1); 507 velocityX[j] = deltaX * Idelta;
|
cvundistort.cpp | 464 double deltaX = 2*k[2]*x*y + k[3]*(r2 + 2*x*x); 466 x = (x0 - deltaX)*icdist;
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GLUtils.cpp | 101 float deltaX = right - left; 104 if (!deltaX || !deltaY || !deltaZ) 107 ortho.setM11(2.0f / deltaX); 108 ortho.setM41(-(right + left) / deltaX);
|
/external/webkit/Source/WebKit/chromium/public/ |
WebInputEvent.h | 282 float deltaX; 295 , deltaX(0.0f)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/ |
RecognitionView.java | 324 final float deltaX = 1.0f * w / count; 335 x += deltaX; 338 if (deltaX > 4) { 341 paint.setStrokeWidth(Math.max(0, (int) (deltaX -.05)));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ResizeGesture.java | 151 int deltaX = p.x - start.x; 154 if (deltaX == 0 && deltaY == 0) { 161 int newW = Math.abs(b.w + (direction.isLeft() ? -deltaX : deltaX)); 165 deltaY = (int) (deltaX / aspectRatio); 167 deltaX = (int) (deltaY * aspectRatio); 174 int nx1 = b.x + deltaX; 185 int nx2 = b.x + b.w + deltaX;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
LayerRendererChromium.cpp | 64 float deltaX = right - left; 67 if (!deltaX || !deltaY) 69 ortho.setM11(2.0f / deltaX); 70 ortho.setM41(-(right + left) / deltaX); [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 294 float deltaX = currentPointX - lstPointX; 296 float distance = (float) Math.sqrt(deltaX * deltaX + deltaY * deltaY); 299 float nx = lstPointX + ratio * deltaX;
|
/frameworks/base/core/java/android/view/ |
GestureDetector.java | 536 final int deltaX = (int) (x - mCurrentDownEvent.getX()); 538 int distance = (deltaX * deltaX) + (deltaY * deltaY); 630 int deltaX = (int) firstDown.getX() - (int) secondDown.getX(); 632 return (deltaX * deltaX + deltaY * deltaY < mDoubleTapSlopSquare);
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 359 int deltaX = source.getWidth() - targetWidth; 361 if (!scaleUp && (deltaX < 0 || deltaY < 0)) { 372 int deltaXHalf = Math.max(0, deltaX / 2);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 202 float deltaX = 0, deltaY = 0; 218 deltaX = (viewWidth - width) / 2 - rect.left; 220 deltaX = -rect.left; 222 deltaX = viewWidth - rect.right; 226 postTranslate(deltaX, deltaY);
|
Util.java | 156 int deltaX = source.getWidth() - targetWidth; 158 if (!scaleUp && (deltaX < 0 || deltaY < 0)) { 169 int deltaXHalf = Math.max(0, deltaX / 2);
|
/external/webkit/Source/WebCore/rendering/ |
RenderLayerBacking.cpp | 206 int deltaX = 0; 208 m_owningLayer->convertToLayerCoords(rootLayer, deltaX, deltaY); 209 clippingBounds.move(-deltaX, -deltaY); 359 int deltaX = 0, deltaY = 0; 360 m_owningLayer->convertToLayerCoords(compAncestor, deltaX, deltaY); 361 relativeCompositingBounds.move(deltaX, deltaY); 381 // backgroundRect is relative to compAncestor, so subtract deltaX/deltaY to get back to local coords. 382 IntSize rendererOffset(parentClipRect.location().x() - deltaX, parentClipRect.location().y() - deltaY); 429 IntRect layerBounds = IntRect(deltaX, deltaY, borderBox.width(), borderBox.height()); [all...] |