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/native/libs/input/ |
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 | 902 float vx = (position.x - oldestPosition.x) * scale; local 904 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 232 public void flingScroll(int vx, int vy); argument
|
H A D | WebView.java | 1766 public void flingScroll(int vx, int vy) { argument 1769 mProvider.flingScroll(vx, vy);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 1344 public void flingScroll(final int vx, final int vy) { argument 1349 flingScroll(vx, vy); 1354 mAwContents.flingScroll(vx, vy);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 4650 final float vx = mVelocityTracker.getXVelocity(mActivePointerId); 4652 if (!startFling(time, vx, vy)) { 4762 private boolean startFling(long time, float vx, float vy) { argument 4764 Log.d(LOCAL_TAG, "Considering fling: vx=" + vx + ", vy=" + vy 4771 if (-vx >= mConfigMinFlingVelocity 4773 mFlingVelocity = -vx; 4779 if (vx >= mConfigMinFlingVelocity 4781 mFlingVelocity = vx; 4788 && Math.abs(vx) < mConfigMinFlingVelocit [all...] |
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 4765 float vx, vy; 4766 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { 4767 float speed = hypotf(vx, vy);
|
Completed in 205 milliseconds