Searched refs:vx (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp55 float vx, vy; member in struct:android::VelocityTrackerState::Velocity
84 float vx, vy; local
85 mVelocityTracker.getVelocity(id, &vx, &vy);
87 vx = vx * units / 1000;
90 if (vx > maxVelocity) {
91 vx = maxVelocity;
92 } else if (vx < -maxVelocity) {
93 vx = -maxVelocity;
102 velocity.vx
112 float vx, vy; local
174 float vx; local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java3906 int vx;
3912 vx = 0;
3915 vx = contentToViewX(cx);
3919 // vx + " " + vy + "]");
3935 pinScrollTo(vx, vy, true, SLIDE_TITLE_DURATION);
3941 pinScrollTo(vx, vy, false, 0);
3944 if ((mScrollX != vx && cx >= 0) || (mScrollY != vy && cy >= 0)) {
3958 int vx = contentToViewX(cx);
3960 pinScrollTo(vx, vy, true, 0);
7198 public void flingScroll(int vx, in argument
[all...]
/frameworks/base/libs/ui/
H A DInput.cpp1134 float vx, vy; local
1136 if (mVelocityTracker.getVelocity(0, &vx, &vy)) {
1137 float speed = hypotf(vx, vy) * scale;
1151 "vx=%0.3f, vy=%0.3f, speed=%0.3f, accel=%0.3f",
1154 vx, vy, speed, scale / mParameters.scale);
/frameworks/base/services/input/
H A DInputReader.cpp4340 float vx, vy;
4341 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) {
4342 float speed = hypotf(vx, vy);

Completed in 144 milliseconds