Searched refs:vy (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_view_VelocityTracker.cpp | 57 float vx, vy; member in struct:android::VelocityTrackerState::Velocity 87 float vx, vy; local 88 mVelocityTracker.getVelocity(id, &vx, &vy); 91 vy = vy * units / 1000; 98 if (vy > maxVelocity) { 99 vy = maxVelocity; 100 } else if (vy < -maxVelocity) { 101 vy = -maxVelocity; 106 velocity.vy 115 float vx, vy; local 189 float vy; local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | VelocityControl.cpp | 71 float vx, vy; local 73 if (mVelocityTracker.getVelocity(0, &vx, &vy)) { 74 float speed = hypotf(vx, vy) * scale; 88 "vx=%0.3f, vy=%0.3f, speed=%0.3f, accel=%0.3f", 91 vx, vy, speed, scale / mParameters.scale);
|
H A D | VelocityTracker.cpp | 904 float vy = (position.y - oldestPosition.y) * scale; local 906 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BeanBag.java | 147 public float vx, vy; field in class:BeanBag.Board.Bean 208 vy = randfrange(-40,40) * z; 214 y=(randfrange(0, boardh-3*r)*0.5f + ((vy < 0)?boardh*0.5f:0)); 216 y=(vy < 0 ? boardh+2*r : -r*4f); 226 vy = (vy * 0.75f) + ((graby - y) / dt) * 0.25f;; 230 y = (y + vy * dt); 258 float a = randsign() * clamp(mag(vx, vy) * 0.33f, 0, 1080f);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 226 public void flingScroll(int vx, int vy); argument
|
H A D | WebViewClassic.java | 4005 int vy = contentToViewY(cy); 4006 pinScrollTo(vx, vy, animate, 0); 6771 public void flingScroll(int vx, int vy) { argument 6772 mScroller.fling(getScrollX(), getScrollY(), vx, vy, 0, computeMaxScrollX(), 0, 6786 int vy = (int) mVelocityTracker.getYVelocity(); 6812 vy = 0; 6817 if ((maxX == 0 && vy == 0) || (maxY == 0 && vx == 0)) { 6828 float velocity = (float) Math.hypot(vx, vy); 6832 - Math.atan2(vy, vx))); 6836 vy [all...] |
H A D | WebView.java | 1635 public void flingScroll(int vx, int vy) { argument 1637 mProvider.flingScroll(vx, vy);
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 4649 float vx, vy; 4650 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { 4651 float speed = hypotf(vx, vy);
|
Completed in 915 milliseconds