Searched defs:maxVelocity (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
H A D | KeyboardView.java | 1563 public void computeCurrentVelocity(int units, float maxVelocity) { argument 1594 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) 1595 : Math.min(accumX, maxVelocity); 1596 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) 1597 : Math.min(accumY, maxVelocity);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | KeyboardView.java | 1465 public void computeCurrentVelocity(int units, float maxVelocity) { argument 1496 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) 1497 : Math.min(accumX, maxVelocity); 1498 mYVelocity = accumY < 0.0f ? Math.max(accumY, -maxVelocity) 1499 : Math.min(accumY, maxVelocity);
|
Completed in 138 milliseconds