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

1 2 3 4 5 6 7 8

  /external/chromium_org/third_party/WebKit/Source/core/platform/
ScrollAnimator.cpp 85 float deltaY = canScrollY ? e.deltaY() : 0;
99 || (deltaY < 0 && maxForwardScrollDelta.height() > 0)
100 || (deltaY > 0 && maxBackwardScrollDelta.height() > 0)) {
103 if (deltaY) {
105 bool negative = deltaY < 0;
106 deltaY = m_scrollableArea->pageStep(VerticalScrollbar);
108 deltaY = -deltaY;
111 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY);
    [all...]
PlatformGestureEvent.h 45 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, double timestamp, float deltaX, float deltaY, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
50 , m_deltaY(deltaY)
70 float deltaY() const { return m_deltaY; }
PlatformWheelEvent.h 80 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
85 , m_deltaY(deltaY)
117 float deltaY() const { return m_deltaY; }
  /frameworks/native/libs/input/
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/chromium_org/third_party/WebKit/Source/core/platform/mac/
ScrollElasticityController.mm 152 float deltaY = m_overflowScrollDelta.height();
169 eventCoalescedDeltaY = -wheelEvent.deltaY();
173 deltaY += eventCoalescedDeltaY;
175 // Slightly prefer scrolling vertically by applying the = case to deltaY
176 if (fabsf(deltaY) >= fabsf(deltaX))
179 deltaY = 0;
203 if (deltaY != 0 && (fabsf(deltaX / deltaY) < rubberbandDirectionLockStretchRatio))
213 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) {
214 if (deltaX != 0 && (fabsf(deltaY / deltaX) < rubberbandDirectionLockStretchRatio)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
FolderAutoScrollHelper.java 45 public void scrollTargetBy(int deltaX, int deltaY) {
46 mTarget.scrollBy(deltaX, deltaY);
  /external/chromium_org/content/browser/renderer_host/
basic_mouse_wheel_smooth_scroll_gesture.cc 37 event.deltaY = scroll_down_ ? -position_delta : position_delta;
40 event.wheelTicksY = event.deltaY / 120;
52 pixels_scrolled_ += abs(event.deltaY);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
GestureEvent.h 42 void initGestureEvent(const AtomicString& type, PassRefPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY);
49 float deltaY() const { return m_deltaY; }
53 GestureEvent(const AtomicString& type, PassRefPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY);
GestureEvent.cpp 64 return adoptRef(new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.deltaX(), event.deltaY()));
67 void GestureEvent::initGestureEvent(const AtomicString& type, PassRefPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY)
80 m_deltaY = deltaY;
104 GestureEvent::GestureEvent(const AtomicString& type, PassRefPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY)
107 , m_deltaY(deltaY)
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
LongPressDetector.java 110 final int deltaY = (int) (y - mCurrentDownEvent.getY());
111 int distance = (deltaX * deltaX) + (deltaY * deltaY);
177 int deltaY = Math.round(event.getY()) - mTouchInitialY;
178 if (deltaX * deltaX + deltaY * deltaY >= mTouchSlopSquare) {
  /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;
  /development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
CurvedMotion.java 72 int deltaY = top - oldTop;
76 path.moveTo(-deltaX, -deltaY);
77 path.curveTo(-(deltaX/2), -deltaY, 0, -deltaY/2, 0, 0);
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
TestContentViewClientWrapper.java 55 public boolean shouldOverrideScroll(float deltaX, float deltaY, float currX, float currY) {
56 return mWrappedClient.shouldOverrideScroll(deltaX, deltaY, currX, currX);
  /frameworks/support/v4/java/android/support/v4/widget/
ListViewAutoScrollHelper.java 36 public void scrollTargetBy(int deltaX, int deltaY) {
48 final int newTop = firstView.getTop() - 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/chromium_org/third_party/WebKit/public/web/android/
WebInputEventFactory.h 81 float deltaY,
  /frameworks/native/include/input/
VelocityControl.h 91 void move(nsecs_t eventTime, float* deltaX, float* deltaY);
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwScrollOffsetManager.java 32 void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY,
151 final int deltaY = y - scrollY;
157 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
166 public void overScrollBy(int deltaX, int deltaY) {
172 scrollBy(deltaX, deltaY);
175 private void scrollBy(int deltaX, int deltaY) {
176 if (deltaX == 0 && deltaY == 0) return;
185 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
  /external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/
esTransform.c 111 float deltaY = top - bottom;
116 (deltaX <= 0.0f) || (deltaY <= 0.0f) || (deltaZ <= 0.0f) )
122 frust.m[1][1] = 2.0f * nearZ / deltaY;
126 frust.m[2][1] = (top + bottom) / deltaY;
152 float deltaY = top - bottom;
156 if ( (deltaX == 0.0f) || (deltaY == 0.0f) || (deltaZ == 0.0f) )
162 ortho.m[1][1] = 2.0f / deltaY;
163 ortho.m[3][1] = -(top + bottom) / deltaY;
  /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/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/chromium_org/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);

Completed in 1026 milliseconds

1 2 3 4 5 6 7 8