Searched defs:vt (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java39 VelocityTracker vt = VelocityTracker.obtain();
40 assertNotNull(vt);
41 vt.recycle();
51 VelocityTracker vt = VelocityTracker.obtain();
52 drag(vt, 100, 200, 100, 200, 10, t, 300);
53 vt.computeCurrentVelocity(1);
54 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f);
55 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f);
56 vt.clear();
57 vt
234 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration) argument
243 drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, long startime, int duration, Interpolator interpolator) argument
259 addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) argument
[all...]
/frameworks/rs/
H A Drsg_generator.c24 void printVarType(FILE *f, const VarType *vt) { argument
26 if (vt->isConst) {
30 switch (vt->type) {
35 fprintf(f, "int%i_t", vt->bits);
38 fprintf(f, "uint%i_t", vt->bits);
41 if (vt->bits == 32)
47 fprintf(f, "%s", vt->typeName);
51 if (vt->ptrLevel) {
53 for (ct=0; ct < vt->ptrLevel; ct++) {
59 void printVarTypeAndName(FILE *f, const VarType *vt) { argument
165 const VarType *vt = &api->params[ct]; local
219 const VarType *vt = &api->params[ct2]; local
232 const VarType *vt = &api->params[ct2]; local
253 const VarType *vt = &api->params[ct2]; local
306 const VarType *vt = &api->params[ct2]; local
314 const VarType *vt = &api->params[ct2]; local
322 const VarType *vt = &api->params[ct2]; local
332 const VarType *vt = &api->params[ct2]; local
340 const VarType *vt = &api->params[ct2]; local
393 const VarType *vt = &api->params[ct2]; local
445 const VarType *vt = &api->params[ct2]; local
484 const VarType *vt = &api->params[ct2]; local
492 const VarType *vt = &api->params[ct2]; local
506 const VarType *vt = &api->params[ct2]; local
529 const VarType *vt = &api->params[ct2]; local
538 const VarType *vt = &api->params[ct2]; local
545 const VarType *vt = &api->params[ct2]; local
561 const VarType *vt = &api->params[ct2]; local
567 const VarType *vt = &api->params[ct2]; local
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A Drsg_generator.c24 void printVarType(FILE *f, const VarType *vt) { argument
26 if (vt->isConst) {
30 switch (vt->type) {
35 fprintf(f, "int%i_t", vt->bits);
38 fprintf(f, "uint%i_t", vt->bits);
41 if (vt->bits == 32)
47 fprintf(f, "%s", vt->typeName);
51 if (vt->ptrLevel) {
53 for (ct=0; ct < vt->ptrLevel; ct++) {
59 void printVarTypeAndName(FILE *f, const VarType *vt) { argument
165 const VarType *vt = &api->params[ct]; local
219 const VarType *vt = &api->params[ct2]; local
232 const VarType *vt = &api->params[ct2]; local
253 const VarType *vt = &api->params[ct2]; local
306 const VarType *vt = &api->params[ct2]; local
314 const VarType *vt = &api->params[ct2]; local
322 const VarType *vt = &api->params[ct2]; local
332 const VarType *vt = &api->params[ct2]; local
340 const VarType *vt = &api->params[ct2]; local
393 const VarType *vt = &api->params[ct2]; local
445 const VarType *vt = &api->params[ct2]; local
484 const VarType *vt = &api->params[ct2]; local
492 const VarType *vt = &api->params[ct2]; local
506 const VarType *vt = &api->params[ct2]; local
529 const VarType *vt = &api->params[ct2]; local
538 const VarType *vt = &api->params[ct2]; local
545 const VarType *vt = &api->params[ct2]; local
561 const VarType *vt = &api->params[ct2]; local
567 const VarType *vt = &api->params[ct2]; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java111 private float getVelocity(VelocityTracker vt) { argument
112 return mSwipeDirection == X ? vt.getXVelocity() :
113 vt.getYVelocity();
122 private float getPerpendicularVelocity(VelocityTracker vt) { argument
123 return mSwipeDirection == X ? vt.getYVelocity() :
124 vt.getXVelocity();

Completed in 292 milliseconds