Searched defs:vy (Results 1 - 8 of 8) sorted by relevance
/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 | 903 float vy = (position.y - oldestPosition.y) * scale; local 905 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration);
|
/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); 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/core/java/android/webkit/ |
H A D | WebViewProvider.java | 235 public void flingScroll(int vx, int vy); argument
|
H A D | WebView.java | 1889 public void flingScroll(int vx, int vy) { argument 1892 mProvider.flingScroll(vx, vy);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 1433 public void flingScroll(final int vx, final int vy) { argument 1438 flingScroll(vx, vy); 1443 mAwContents.flingScroll(vx, vy);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 4830 final float vy = mVelocityTracker.getYVelocity(mActivePointerId); 4831 if (!startFling(time, vx, vy)) { 4941 private boolean startFling(long time, float vx, float vy) { argument 4943 Log.d(LOCAL_TAG, "Considering fling: vx=" + vx + ", vy=" + vy 4951 && Math.abs(vy) < mConfigMinFlingVelocity) { 4959 && Math.abs(vy) < mConfigMinFlingVelocity) { 4966 if (-vy >= mConfigMinFlingVelocity 4968 mFlingVelocity = -vy; 4974 if (vy > [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 3190 public void smoothScrollBy(int dx, int dy, int vx, int vy) { argument 3191 smoothScrollBy(dx, dy, computeScrollDuration(dx, dy, vx, vy)); 3200 private int computeScrollDuration(int dx, int dy, int vx, int vy) { argument 3204 final int velocity = (int) Math.sqrt(vx * vx + vy * vy);
|
Completed in 162 milliseconds