/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);
|
/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
TouchView.java | 87 float deltaX = me2.getX() - me1.getX(); 91 if (velocityX > swipeThreshold && absY < absX && deltaX > travelX) { 93 } else if (velocityX < -swipeThreshold && absY < absX && deltaX < -travelX) {
|
CropView.java | 143 private void moveEdges(float deltaX, float deltaY) { 147 deltaX = (deltaX > 0) ? Math.min(displayBounds.right - cropped.right, deltaX) 148 : Math.max(displayBounds.left - cropped.left, deltaX); 151 cropped.offset(deltaX, deltaY); 157 cropped.left = Math.min(cropped.left + deltaX, cropped.right - minWidth); 163 cropped.right = Math.max(cropped.right + deltaX, cropped.left + minWidth);
|
/external/webkit/Source/WebKit2/Shared/ |
WebMouseEvent.cpp | 49 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers modifiers, double timestamp) 54 , m_deltaX(deltaX) 66 WebMouseEvent::WebMouseEvent(Type type, Button button, const IntPoint& position, const IntPoint& globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers modifiers, double timestamp, bool didActivateWebView) 71 , m_deltaX(deltaX)
|
/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;
|
/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/WebCore/platform/mac/ |
ScrollAnimatorMac.mm | 591 void ScrollAnimatorMac::immediateScrollByDeltaX(float deltaX) 593 float newPosX = adjustScrollXPositionIfNecessary(m_currentPosX + deltaX); 810 if (fabsf(wheelEvent.deltaY()) >= fabsf(wheelEvent.deltaX())) { 842 bool ScrollAnimatorMac::pinnedInDirection(float deltaX, float deltaY) 845 if (fabsf(deltaY) >= fabsf(deltaX)) { 853 } else if (deltaX != 0) { 854 if (deltaX < 0) { 863 if ((deltaX != 0 || deltaY != 0) && (limitDelta.width() < 1 && limitDelta.height() < 1)) 908 float deltaX = m_overflowScrollDelta.width(); 914 float eventCoallescedDeltaX = -wheelEvent.deltaX(); [all...] |
ScrollAnimatorMac.h | 72 void immediateScrollByDeltaX(float deltaX); 124 bool pinnedInDirection(float deltaX, float deltaY);
|
/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);
|
/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/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/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/ |
jquery.flot.dashes.js | 137 deltaX: ax2 - ax1, 146 deltaX: xsign * Math.sqrt(Math.pow(segmentLength, 2) / (1 + Math.pow((ay2 - ay1)/(ax2 - ax1), 2))), 161 if (dashOffset.deltaX != 0 || dashOffset.deltaY != 0) { 163 ctx.lineTo(ax1 + dashOffset.deltaX, ay1 + dashOffset.deltaY); 165 ctx.moveTo(ax1 + dashOffset.deltaX, ay1 + dashOffset.deltaY); 171 ax1 += dashOffset.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/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);
|
/external/webkit/Source/WebCore/dom/ |
WheelEvent.cpp | 105 if (!(event.deltaX() || event.deltaY())) 108 setEvent(WheelEvent::create(event.wheelTicksX(), event.wheelTicksY(), event.deltaX(), event.deltaY(), granularity(event),
|
/external/webkit/Source/WebKit/chromium/public/ |
WebInputEvent.h | 282 float deltaX; 295 , deltaX(0.0f)
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 168 public void updateDeltas(int deltaX, int deltaY) { 170 mDeltaX = Math.max(-mBaselineX, deltaX); 173 mDeltaX = Math.min(mDragLayer.getWidth() - (mBaselineX + mBaselineWidth), deltaX); 189 public void visualizeResizeForDelta(int deltaX, int deltaY) { 190 updateDeltas(deltaX, deltaY); 292 public void commitResizeForDelta(int deltaX, int deltaY) { 293 visualizeResizeForDelta(deltaX, deltaY);
|
/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);
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 603 int deltaX = position - left; 605 deltaX = mTopOffset - left; 606 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { 607 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; 609 handle.offsetLeftAndRight(deltaX); 617 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom); 618 region.union(frame.right - deltaX, 0, 619 frame.right - deltaX + mContent.getWidth(), getHeight()); [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebWindowAnimation.m | 49 CGFloat deltaX = point1.x - point2.x; 51 return deltaX * deltaX + deltaY * deltaY;
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/ |
loupe.js | 63 var deltaX = Math.floor(event.offsetX/LOUPE_MAGNIFICATION_FACTOR); 67 this._currentCornerX + deltaX, this._currentCornerY + deltaY);
|
/frameworks/base/services/input/ |
PointerController.h | 53 virtual void move(float deltaX, float deltaY) = 0; 159 virtual void move(float deltaX, float deltaY);
|