Searched refs:vx (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); 90 vx = vx * units / 1000; 93 if (vx > maxVelocity) { 94 vx = maxVelocity; 95 } else if (vx < -maxVelocity) { 96 vx = -maxVelocity; 105 velocity.vx 115 float vx, vy; local 181 float vx; 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 | 903 float vx = (position.x - oldestPosition.x) * scale; local 905 accumVx = (accumVx * lastDuration + vx * 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 207 vx = randfrange(-40,40) * z; 213 x=(vx < 0 ? boardw+2*r : -r*4f); 217 x=(randfrange(0, boardw-3*r)*0.5f + ((vx < 0)?boardw*0.5f:0)); 224 vx = (vx * 0.75f) + ((grabx - x) / dt) * 0.25f; 229 x = (x + vx * 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 | 4004 int vx = contentToViewX(cx); 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, 6785 int vx = (int) mVelocityTracker.getXVelocity(); 6814 vx = 0; 6817 if ((maxX == 0 && vy == 0) || (maxY == 0 && vx == 0)) { 6828 float velocity = (float) Math.hypot(vx, vy); 6832 - Math.atan2(vy, vx))); 6835 vx [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 1273 milliseconds