Home
last modified time | relevance | path

Searched refs:vy (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp58 float vx, vy; member
88 float vx, vy; in computeCurrentVelocity() local
89 mVelocityTracker.getVelocity(id, &vx, &vy); in computeCurrentVelocity()
92 vy = vy * units / 1000; in computeCurrentVelocity()
99 if (vy > maxVelocity) { in computeCurrentVelocity()
100 vy = maxVelocity; in computeCurrentVelocity()
101 } else if (vy < -maxVelocity) { in computeCurrentVelocity()
102 vy = -maxVelocity; in computeCurrentVelocity()
107 velocity.vy = vy; in computeCurrentVelocity()
116 float vx, vy; in getVelocity() local
[all …]
/frameworks/native/libs/input/
DVelocityControl.cpp71 float vx, vy; in move() local
73 if (mVelocityTracker.getVelocity(0, &vx, &vy)) { in move()
74 float speed = hypotf(vx, vy) * scale; in move()
91 vx, vy, speed, scale / mParameters.scale); in move()
DVelocityTracker.cpp984 float vy = (position.y - oldestPosition.y) * scale; in getEstimator() local
986 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration); in getEstimator()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DTriangleBuffer.java64 float vy = vert[vIndex * 2 + 1]; in drawTriangles() local
66 float fx3 = vx, fy3 = vy, fz3 = c; in drawTriangles()
70 vy = vert[vIndex * 2 + 1]; in drawTriangles()
72 float fx2 = vx, fy2 = vy, fz2 = c; in drawTriangles()
76 vy = vert[vIndex * 2 + 1]; in drawTriangles()
78 float fx1 = vx, fy1 = vy, fz1 = c; in drawTriangles()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java271 public void flingScroll(int vx, int vy); in flingScroll() argument
DWebView.java2117 public void flingScroll(int vx, int vy) { in flingScroll() argument
2119 mProvider.flingScroll(vx, vy); in flingScroll()
/frameworks/base/core/java/android/view/
DViewRootImpl.java6539 final float vy = mVelocityTracker.getYVelocity(mActivePointerId);
6540 if (!startFling(time, vx, vy)) {
6650 private boolean startFling(long time, float vx, float vy) {
6652 Log.d(LOCAL_TAG, "Considering fling: vx=" + vx + ", vy=" + vy
6660 && Math.abs(vy) < mConfigMinFlingVelocity) {
6668 && Math.abs(vy) < mConfigMinFlingVelocity) {
6675 if (-vy >= mConfigMinFlingVelocity
6677 mFlingVelocity = -vy;
6683 if (vy >= mConfigMinFlingVelocity
6685 mFlingVelocity = vy;
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4795 public void smoothScrollBy(int dx, int dy, int vx, int vy) { in smoothScrollBy() argument
4796 smoothScrollBy(dx, dy, computeScrollDuration(dx, dy, vx, vy)); in smoothScrollBy()
4805 private int computeScrollDuration(int dx, int dy, int vx, int vy) { in computeScrollDuration() argument
4809 final int velocity = (int) Math.sqrt(vx * vx + vy * vy); in computeScrollDuration()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp2746 float vx, vy; in preparePointerGestures() local
2747 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()
2748 float speed = hypotf(vx, vy); in preparePointerGestures()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password61 { S`���� `��V�C��Ce���@�[�iN�҂/nE�+�H~�@��\4f��R�*�/F��-H�v��3a�6���JϤ��vy�7M2�w��eGb�#EY��b����…