Searched refs:vt (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java38 VelocityTracker vt = VelocityTracker.obtain();
39 assertNotNull(vt);
40 vt.recycle();
50 VelocityTracker vt = VelocityTracker.obtain();
51 drag(vt, 100, 200, 100, 200, 10, t, 300);
52 vt.computeCurrentVelocity(1);
53 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f);
54 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f);
55 vt.clear();
56 vt
237 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration) argument
246 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration, Interpolator interpolator) argument
262 addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) argument
[all...]
/frameworks/rs/
H A Drsg_generator.c42 void printVarType(FILE *f, const VarType *vt) { argument
44 if (vt->isConst) {
48 switch (vt->type) {
53 fprintf(f, "int%i_t", vt->bits);
56 fprintf(f, "uint%i_t", vt->bits);
59 if (vt->bits == 32)
65 fprintf(f, "%s", vt->typeName);
69 if (vt->ptrLevel) {
71 for (ct=0; ct < vt->ptrLevel; ct++) {
77 void printVarTypeAndName(FILE *f, const VarType *vt) { argument
175 const VarType *vt = &api->params[ct]; local
229 const VarType *vt = &api->params[ct2]; local
243 const VarType *vt = &api->params[ct2]; local
263 const VarType *vt = &api->params[ct2]; local
280 const VarType *vt = &api->params[ct2]; local
301 const VarType *vt = &api->params[ct2]; local
363 const VarType *vt = &api->params[ct2]; local
418 const VarType *vt = &api->params[ct2]; local
[all...]
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DSpringActivity.java60 public VelocityTracker vt;
77 vt = VelocityTracker.obtain();
78 vt.clear();
81 vt.addMovement(motionEvent);
90 vt.computeCurrentVelocity(1000);
91 float velocity = vt.getYVelocity();
94 vt.recycle();
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DSpringActivity.java60 public VelocityTracker vt;
77 vt = VelocityTracker.obtain();
78 vt.clear();
81 vt.addMovement(motionEvent);
90 vt.computeCurrentVelocity(1000);
91 float velocity = vt.getYVelocity();
94 vt.recycle();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java142 private float getVelocity(VelocityTracker vt) { argument
143 return mSwipeDirection == X ? vt.getXVelocity() :
144 vt.getYVelocity();
153 private float getPerpendicularVelocity(VelocityTracker vt) { argument
154 return mSwipeDirection == X ? vt.getYVelocity() :
155 vt.getXVelocity();
/frameworks/av/include/media/
H A DVolumeShaper.h649 std::tuple<T /* volume */, S /* position */, bool /* active */> vt = local
652 mLastVolume = std::get<0>(vt);
653 mLastXOffset = std::get<1>(vt);
654 const bool active = std::get<2>(vt);
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java1678 final int vt = mChooserRowAdapter.getItemViewType(pos);
1679 if (vt != mCachedViewType) {
1687 if (vt >= 0) {
1688 mCachedViewType = vt;
/frameworks/base/media/tests/contents/media_api/music/
H A Dtest_amr_ietf.amr420 �<ء酙���8�S3���OR���Z�ܼ؀<~wxM;6�Ř���9�}�"t�y3���e�<�{���=+T�ȴ�%��.Q"4.x����`<��/�ε:Dl�4�6��-�k�Ui5�<��G����Q"*���e��_�i.�g�F3/%�<l�/�{�Dz�������3V8=�6���ڠ<�,���+U���ܧgG" �vt�!\���^�<Zmw���Ԫ�z������Y��P�_�<2lG��g&JenʕuV�lE@��dpI�<�]=HH���o�X�.����c��}�1��<�_���A�)��y�ϲş@=ّ��B=|0<5�����|��|q���
730 ՠ��6��<4otA�Z#�rL8�ֳ��i�>@�g���< �+m�����J�,=���� u�.4�� ]�Tp<N�~���W<+vtTL�������c���-�`<�(��m����m���l�K�e��Zr}/��<N�G���iw�T����iQ �-�+/���1)�<�6>��2� w.��� W�gi`�8�,�$���<Ti����l4��\~�܁�Da,��T��p �<D>?�1������ti���*M]a�� :��� <Hr'���4�����zc��ߊWO�Xo ]SX�<�Z%?�eNP���W*y��v�9�����6��`<(m��3�r̈́zf�\<��
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4591 final VelocityTracker vt = mVelocityTracker;
4593 if (vt == null || activeId == INVALID_POINTER) {
4597 vt.computeCurrentVelocity(1000, mMaximumVelocity);
4598 final float yvel = -vt.getYVelocity(activeId);

Completed in 819 milliseconds