Searched defs:vx (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/androidfw/
H A DVelocityControl.cpp71 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 DVelocityTracker.cpp903 float vx = (position.x - oldestPosition.x) * scale; local
905 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration);
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp57 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/packages/SystemUI/src/com/android/systemui/
H A DBeanBag.java147 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 DWebViewProvider.java226 public void flingScroll(int vx, int vy); argument
H A DWebView.java1635 public void flingScroll(int vx, int vy) { argument
1637 mProvider.flingScroll(vx, vy);
H A DWebViewClassic.java4004 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...]

Completed in 793 milliseconds