Searched refs:NUM_PAST (Results 1 – 1 of 1) sorted by relevance
1504 static final int NUM_PAST = 4; field in KeyboardView.SwipeTracker1507 final float mPastX[] = new float[NUM_PAST];1508 final float mPastY[] = new float[NUM_PAST];1509 final long mPastTime[] = new long[NUM_PAST];1532 for (i=0; i<NUM_PAST; i++) { in addPoint()1539 if (i == NUM_PAST && drop < 0) { in addPoint()1547 final int count = NUM_PAST-drop-1; in addPoint()1557 if (i < NUM_PAST) { in addPoint()1577 while (N < NUM_PAST) { in computeCurrentVelocity()