Searched refs:vt (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 38 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() local 39 assertNotNull(vt); in testInitialCondiditions() 40 vt.recycle(); in testInitialCondiditions() 50 VelocityTracker vt = VelocityTracker.obtain(); in testClear() local 51 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear() 52 vt.computeCurrentVelocity(1); in testClear() 53 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear() 54 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear() 55 vt.clear(); in testClear() 56 vt.computeCurrentVelocity(1); in testClear() [all …]
|
/frameworks/rs/ |
D | rsg_generator.c | 42 void printVarType(FILE *f, const VarType *vt) { in printVarType() argument 44 if (vt->isConst) { in printVarType() 48 switch (vt->type) { in printVarType() 53 fprintf(f, "int%i_t", vt->bits); in printVarType() 56 fprintf(f, "uint%i_t", vt->bits); in printVarType() 59 if (vt->bits == 32) in printVarType() 65 fprintf(f, "%s", vt->typeName); in printVarType() 69 if (vt->ptrLevel) { in printVarType() 71 for (ct=0; ct < vt->ptrLevel; ct++) { in printVarType() 77 void printVarTypeAndName(FILE *f, const VarType *vt) { in printVarTypeAndName() argument [all …]
|
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/ |
D | SpringActivity.java | 60 public VelocityTracker vt; in onCreate() 77 vt = VelocityTracker.obtain(); in onCreate() 78 vt.clear(); in onCreate() 81 vt.addMovement(motionEvent); in onCreate() 90 vt.computeCurrentVelocity(1000); in onCreate() 91 float velocity = vt.getYVelocity(); in onCreate() 94 vt.recycle(); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 142 private float getVelocity(VelocityTracker vt) { in getVelocity() argument 143 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity() 144 vt.getYVelocity(); in getVelocity() 153 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity() argument 154 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity() 155 vt.getXVelocity(); in getPerpendicularVelocity()
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 649 std::tuple<T /* volume */, S /* position */, bool /* active */> vt = in getVolume() local 652 mLastVolume = std::get<0>(vt); in getVolume() 653 mLastXOffset = std::get<1>(vt); in getVolume() 654 const bool active = std::get<2>(vt); in getVolume()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 1678 final int vt = mChooserRowAdapter.getItemViewType(pos); in onChanged() local 1679 if (vt != mCachedViewType) { in onChanged() 1687 if (vt >= 0) { in onChanged() 1688 mCachedViewType = vt; in onChanged()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 4591 final VelocityTracker vt = mVelocityTracker; 4593 if (vt == null || activeId == INVALID_POINTER) { 4597 vt.computeCurrentVelocity(1000, mMaximumVelocity); 4598 final float yvel = -vt.getYVelocity(activeId);
|