/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
ScrollElasticityController.mm | 153 float deltaY = m_overflowScrollDelta.height(); 170 eventCoalescedDeltaY = -wheelEvent.deltaY(); 174 deltaY += eventCoalescedDeltaY; 176 // Slightly prefer scrolling vertically by applying the = case to deltaY 177 if (fabsf(deltaY) >= fabsf(deltaX)) 180 deltaY = 0; 209 if (deltaY != 0 && (fabsf(deltaX / deltaY) < rubberbandDirectionLockStretchRatio)) 219 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) { 220 if (deltaX != 0 && (fabsf(deltaY / deltaX) < rubberbandDirectionLockStretchRatio) [all...] |
/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/platform/scroll/ |
ScrollAnimator.cpp | 84 float deltaY = canScrollY ? e.deltaY() : 0; 98 || (deltaY < 0 && maxForwardScrollDelta.height() > 0) 99 || (deltaY > 0 && maxBackwardScrollDelta.height() > 0)) { 102 if (deltaY) { 104 bool negative = deltaY < 0; 105 deltaY = m_scrollableArea->pageStep(VerticalScrollbar); 107 deltaY = -deltaY; 110 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY); [all...] |
/developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/ |
CardStreamAnimator.java | 72 * @param deltaY delta distance by y-axis 75 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 83 * @param deltaY delta distance by y-axis 86 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY); 109 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) { 114 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) {
|
CardStreamLinearLayout.java | 94 float deltaY = y - mDownY; 96 if (!mSwiping && isSwiping(deltaX, deltaY)) { 100 swipeView(v, deltaX, deltaY); 111 float deltaY = y - mDownX; 117 handleViewSwipingOut(v, deltaX, deltaY); 119 handleViewSwipingIn(v, deltaX, deltaY); 270 * @param deltaY 273 protected boolean isSwiping(float deltaX, float deltaY) { 294 * @param deltaY y moving distance by y-axis. 297 protected void swipeView(View child, float deltaX, float deltaY) { [all...] |
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/ |
CardStreamAnimator.java.ftl | 70 * @param deltaY delta distance by y-axis 73 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 81 * @param deltaY delta distance by y-axis 84 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY); 107 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) { 112 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) {
|
CardStreamLinearLayout.java.ftl | 92 float deltaY = y - mDownY; 94 if (!mSwiping && isSwiping(deltaX, deltaY)) { 98 swipeView(v, deltaX, deltaY); 109 float deltaY = y - mDownX; 115 handleViewSwipingOut(v, deltaX, deltaY); 117 handleViewSwipingIn(v, deltaX, deltaY); 268 * @param deltaY 271 protected boolean isSwiping(float deltaX, float deltaY) { 292 * @param deltaY y moving distance by y-axis. 295 protected void swipeView(View child, float deltaX, float deltaY) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
GestureEvent.cpp | 42 float deltaY = 0; 54 deltaY = event.deltaY(); 73 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(), deltaX, deltaY)); 76 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) 89 m_deltaY = deltaY; 113 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) 116 , m_deltaY(deltaY)
|
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);
|
WheelEvent.cpp | 35 , deltaY(0) 55 , m_wheelDelta(initializer.wheelDeltaX ? initializer.wheelDeltaX : -initializer.deltaX, initializer.wheelDeltaY ? initializer.wheelDeltaY : -initializer.deltaY) 57 , m_deltaY(initializer.deltaY ? initializer.deltaY : -initializer.wheelDeltaY) 141 if (!(event.deltaX() || event.deltaY())) 144 setEvent(WheelEvent::create(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()),
|
/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;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FolderAutoScrollHelper.java | 45 public void scrollTargetBy(int deltaX, int deltaY) { 46 mTarget.scrollBy(deltaX, 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/libvpx/libvpx/vp8/common/ |
textblit.c | 64 int deltax, deltay; local 92 deltay = abs(y1 - y0); 108 error = error - deltay; 122 error = error - deltay;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_textblit.c | 63 int deltax, deltay; local 89 deltay = abs(y1 - y0); 103 error = error - deltay; 113 error = error - deltay;
|
/external/chromium_org/third_party/angle/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_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/chromium_org/content/common/input/ |
web_input_event_traits.cc | 74 GetUnacceleratedDelta(event->deltaY, 76 GetUnacceleratedDelta(event_to_coalesce.deltaY, 79 event->deltaY += event_to_coalesce.deltaY; 85 GetAccelerationRatio(event->deltaY, unaccelerated_y); 125 event->data.scrollUpdate.deltaY += event_to_coalesce.data.scrollUpdate.deltaY;
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls.js | 139 var deltaY = alive ? velocityY*timeStep+gravity*timeStep*timeStep/2 : 0; 143 while ((y + deltaY) > (1 - borderY) && alive) { 160 deltaY = 0; 162 deltaY = velocityY*remainingTime+gravity*remainingTime*remainingTime/2; 167 y += deltaY;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
PlatformGestureEvent.h | 46 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const IntSize& area, double timestamp, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY) 58 m_data.m_scrollUpdate.m_deltaY = deltaY; 75 float deltaY() const
|
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; }
|
/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/chromium_org/ui/app_list/cocoa/ |
scroll_view_with_no_scrollbars.mm | 77 else if ([event deltaY] != 0) 78 downOrRight = [event deltaY] > 0;
|