HomeSort by relevance Sort by last modified time
    Searched refs:deltaY (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/webkit/Source/WebCore/platform/
ScrollAnimator.cpp 92 float deltaY = verticalScrollbar ? e.deltaY() : 0;
98 || (deltaY < 0 && maxForwardScrollDelta.height() > 0)
99 || (deltaY > 0 && maxBackwardScrollDelta.height() > 0)) {
103 bool negative = deltaY < 0;
104 deltaY = max(max(static_cast<float>(m_scrollableArea->visibleHeight()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollableArea->visibleHeight() - Scrollbar::maxOverlapBetweenPages())), 1.0f);
106 deltaY = -deltaY;
109 if (deltaY)
110 scroll(VerticalScrollbar, ScrollByPixel, verticalScrollbar->pixelStep(), -deltaY);
    [all...]
  /frameworks/base/libs/androidfw/
VelocityControl.cpp 52 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) {
53 if ((deltaX && *deltaX) || (deltaY && *deltaY)) {
66 if (deltaY) {
67 mRawPosition.y += *deltaY;
104 if (deltaY) {
105 *deltaY *= scale;
  /external/jmonkeyengine/engine/src/core/com/jme3/input/event/
TouchEvent.java 47 * Move/Drag event, fields: posX, posY, deltaX, deltaY, pressure
97 private float deltaY;
111 public TouchEvent(Type type, float x, float y, float deltax, float deltay) {
112 set(type, x, y, deltax, deltay);
119 public void set(Type type, float x, float y, float deltax, float deltay) {
124 this.deltaY = deltay;
156 return deltaY;
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
TouchView.java 86 float deltaY = me2.getY() - me1.getY();
93 } else if (velocityY < -swipeThreshold && absX < absY && deltaY < -travelY) {
95 } else if (velocityY > swipeThreshold && absX < absY / 2 && deltaY > travelY) {
  /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)
55 , m_deltaY(deltaY)
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)
72 , m_deltaY(deltaY)
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
lbxdeltastr.h 77 INT8 deltaY;
85 INT8 deltaY;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxdeltastr.h 77 INT8 deltaY;
85 INT8 deltaY;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxdeltastr.h 77 INT8 deltaY;
85 INT8 deltaY;
  /external/webkit/Source/WebKit2/Shared/qt/
WebEventFactoryQt.cpp 104 float deltaY = delta.y();
109 return WebMouseEvent(type, button, event->pos().toPoint(), event->screenPos(), deltaX, deltaY, 0.0f, clickCount, modifiers, timestamp);
115 float deltaY = 0;
131 deltaY = (fullTick) ? e->delta() / 120.0f : e->delta();
132 wheelTicksY = deltaY;
140 deltaY *= (fullTick) ? QApplication::wheelScrollLines() * cDefaultQtScrollStep : 1;
143 return WebWheelEvent(WebEvent::Wheel, e->pos().toPoint(), e->screenPos(), FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DelegateViewHelper.java 93 float deltaY = sourceY - delegateY;
94 event.offsetLocation(deltaX, deltaY);
96 event.offsetLocation(-deltaX, -deltaY);
  /external/webkit/Source/WebCore/platform/mac/
ScrollAnimatorMac.mm 602 void ScrollAnimatorMac::immediateScrollByDeltaY(float deltaY)
604 float newPosY = adjustScrollYPositionIfNecessary(m_currentPosY + deltaY);
810 if (fabsf(wheelEvent.deltaY()) >= fabsf(wheelEvent.deltaX())) {
842 bool ScrollAnimatorMac::pinnedInDirection(float deltaX, float deltaY)
845 if (fabsf(deltaY) >= fabsf(deltaX)) {
846 if (deltaY < 0) {
863 if ((deltaX != 0 || deltaY != 0) && (limitDelta.width() < 1 && limitDelta.height() < 1))
909 float deltaY = m_overflowScrollDelta.height();
915 float eventCoallescedDeltaY = -wheelEvent.deltaY();
918 deltaY += eventCoallescedDeltaY
    [all...]
ScrollAnimatorMac.h 73 void immediateScrollByDeltaY(float deltaY);
124 bool pinnedInDirection(float deltaX, float deltaY);
  /frameworks/base/include/androidfw/
VelocityControl.h 91 void move(nsecs_t eventTime, float* deltaX, float* deltaY);
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
CropView.java 143 private void moveEdges(float deltaX, float deltaY) {
149 deltaY = (deltaY > 0) ? Math.min(displayBounds.bottom - cropped.bottom, deltaY)
150 : Math.max(displayBounds.top - cropped.top, deltaY);
151 cropped.offset(deltaX, deltaY);
160 cropped.top = Math.min(cropped.top + deltaY, cropped.bottom - minHeight);
166 cropped.bottom = Math.max(cropped.bottom + deltaY, cropped.top + minHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ResizeGesture.java 152 int deltaY = p.y - start.y;
154 if (deltaX == 0 && deltaY == 0) {
162 int newH = Math.abs(b.h + (direction.isTop() ? -deltaY : deltaY));
165 deltaY = (int) (deltaX / aspectRatio);
167 deltaX = (int) (deltaY * aspectRatio);
199 int ny1 = b.y + deltaY;
210 int ny2 = b.y + b.h + deltaY;
  /external/webkit/Source/WebCore/svg/
SVGRadialGradientElement.cpp 236 float deltaY = focalPoint.y() - centerPoint.y();
242 if (sqrt(deltaX * deltaX + deltaY * deltaY) > radiusMax) {
243 float angle = atan2f(deltaY, deltaX);
246 deltaY = sinf(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 138 deltaY: ay2 - ay1,
147 deltaY: ysign * Math.sqrt(Math.pow(segmentLength, 2) - 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);
172 ay1 += dashOffset.deltaY;
  /external/replicaisland/src/com/replica/replicaisland/
SphereCollisionVolume.java 107 final float deltaY = other.getMaxYPosition(otherFlip)
110 final float centerY = deltaY / 2.0f;
115 otherRadius = Math.max(deltaX, deltaY);
CollisionSystem.java 279 final int deltaX, final int deltaY,
292 } else if (deltaY != 0) {
293 distance = Math.abs(deltaY) + 1;
294 yIncrement = Utils.sign(deltaY);
346 final int deltaY = endTileY - startTileY;
350 if (deltaX == 0 || deltaY == 0) {
352 endTileX, endTileY, deltaX, deltaY, hitPoint, hitNormal, visitor);
356 final int yIncrement = deltaY != 0 ? Utils.sign(deltaY) : 0;
361 final int verticalDelta = (endTileY > 0 && endTileY < worldHeight - 1) ? Math.abs(deltaY) + 1 : Math.abs(deltaY)
    [all...]
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 539 * @param deltaY Amount to drag vertically in pixels
549 int deltaX, int deltaY) {
550 return dragViewBy((InstrumentationTestCase) test, v, gravity, deltaX, deltaY);
561 * @param deltaY Amount to drag vertically in pixels
571 int deltaY) {
579 int distance = (int) Math.sqrt(deltaX * deltaX + deltaY * deltaY);
581 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance);
630 int deltaY = fromY - toY;
632 int distance = (int)Math.sqrt(deltaX * deltaX + deltaY * deltaY)
    [all...]
  /frameworks/base/core/java/android/view/
GestureDetector.java 538 final int deltaY = (int) (y - mCurrentDownEvent.getY());
539 int distance = (deltaX * deltaX) + (deltaY * deltaY);
636 int deltaY = (int) firstDown.getY() - (int) secondDown.getY();
637 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 283 float deltaY;
296 , deltaY(0.0f)
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 202 float deltaX = 0, deltaY = 0;
207 deltaY = (viewHeight - height) / 2 - rect.top;
209 deltaY = -rect.top;
211 deltaY = getHeight() - rect.bottom;
226 postTranslate(deltaX, deltaY);
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ImageViewTouchBase.java 490 float deltaX = 0, deltaY = 0;
495 deltaY = (viewHeight - height) / 2 - rect.top;
497 deltaY = -rect.top;
499 deltaY = getHeight() - rect.bottom;
514 mSuppMatrix.postTranslate(deltaX, deltaY);

Completed in 736 milliseconds

1 2 3 4 5