Home
last modified time | relevance | path

Searched refs:vt (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java37 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() local
38 assertNotNull(vt); in testInitialCondiditions()
39 vt.recycle(); in testInitialCondiditions()
49 VelocityTracker vt = VelocityTracker.obtain(); in testClear() local
50 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear()
51 vt.computeCurrentVelocity(1); in testClear()
52 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear()
53 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
54 vt.clear(); in testClear()
55 vt.computeCurrentVelocity(1); in testClear()
[all …]
/frameworks/rs/
Drsg_generator.c24 void printVarType(FILE *f, const VarType *vt) { in printVarType() argument
26 if (vt->isConst) { in printVarType()
30 switch (vt->type) { in printVarType()
35 fprintf(f, "int%i_t", vt->bits); in printVarType()
38 fprintf(f, "uint%i_t", vt->bits); in printVarType()
41 if (vt->bits == 32) in printVarType()
47 fprintf(f, "%s", vt->typeName); in printVarType()
51 if (vt->ptrLevel) { in printVarType()
53 for (ct=0; ct < vt->ptrLevel; ct++) { in printVarType()
59 void printVarTypeAndName(FILE *f, const VarType *vt) { in printVarTypeAndName() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSwipeHelper.java118 private float getVelocity(VelocityTracker vt) { in getVelocity() argument
119 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
120 vt.getYVelocity(); in getVelocity()
129 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity() argument
130 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
131 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java122 private float getVelocity(VelocityTracker vt) { in getVelocity() argument
123 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
124 vt.getYVelocity(); in getVelocity()
133 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity() argument
134 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
135 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/base/core/java/android/widget/
DAbsListView.java4399 final VelocityTracker vt = mVelocityTracker;
4401 if (vt == null || activeId == INVALID_POINTER) {
4405 vt.computeCurrentVelocity(1000, mMaximumVelocity);
4406 final float yvel = -vt.getYVelocity(activeId);