Searched refs:vy (Results 1 - 8 of 8) sorted by relevance

/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);
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 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.cpp904 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 DBeanBag.java147 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 DWebViewProvider.java226 public void flingScroll(int vx, int vy); argument
H A DWebViewClassic.java4005 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 DWebView.java1635 public void flingScroll(int vx, int vy) { argument
1637 mProvider.flingScroll(vx, vy);
/frameworks/base/services/input/
H A DInputReader.cpp4649 float vx, vy;
4650 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) {
4651 float speed = hypotf(vx, vy);

Completed in 915 milliseconds