Searched refs:movement (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewFilterAlgorithm.java | 102 int movement = 0; 121 // Use the movement of the new views to calculate the duration of the animation 122 movement = Math.max(movement, 144 int movement = 0; 164 // Use the movement of the visible views to calculate the duration of the animation 165 movement = Math.max(movement, Math.abs(toTransform.translationY -
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 270 // Clear all pointers on down before adding the new movement. 274 // Start a new movement trace for a pointer that just went down. 287 // pointer movement. We also want to preserve the last known velocity of the pointers. 293 // before adding the movement. 382 Movement& movement = mMovements[mIndex]; local 383 movement.eventTime = eventTime; 384 movement.idBits = idBits; 387 movement.positions[i] = positions[i]; 561 // Iterate over movement samples in reverse time order and collect samples. 570 const Movement& movement 838 Movement& movement = mMovements[mIndex]; local 893 const Movement& movement = mMovements[index]; local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 2327 final int movement = getMovement(direction); 2328 if (movement != PREV_ITEM && movement != NEXT_ITEM) { 2344 int index = movement == NEXT_ITEM ? i : count - 1 - i; 2353 (movement == NEXT_ITEM && position > focusedPos) 2354 || (movement == PREV_ITEM && position < focusedPos)) { 2406 int movement = getMovement(direction); 2410 if (movement == NEXT_ITEM) { 2420 } else if (movement == PREV_ITEM){ 2436 if (movement [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1795 * addition, in fullscreen mode only, it will consume DPAD movement 1827 * in fullscreen mode, where it will consume DPAD movement 1843 * addition, in fullscreen mode only, it will consume DPAD movement 1925 MovementMethod movement = eet.getMovementMethod(); 1927 if (movement != null && layout != null) { 1928 // We want our own movement method to handle the key, so the 1931 if (movement.onKeyDown(eet, 1937 if (movement.onKeyUp(eet, 1942 if (movement.onKeyOther(eet, (Spannable)eet.getText(), event)) { 1946 if (movement [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 4123 // It has been too long since the last movement, 4160 // Generate DPAD events based on the trackball movement. 4167 int movement = 0; 4170 movement = mX.generate(); 4171 if (movement != 0) { 4172 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_RIGHT 4178 movement = mY.generate(); 4179 if (movement != 0) { 4180 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_DOWN 4188 if (movement < [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 304 // that if a user is holding down a movement key to traverse text, we shouldn't also traverse 305 // the view hierarchy. On the other hand, if the user is using the movement key to traverse views 306 // (i.e. the first movement was to traverse out of this view, or this view was traversed into by 307 // the user holding the movement key down) then we shouldn't prevent the focus from changing. 1317 * However, TextViews that have input or movement methods *are* 1495 * Subclasses override this to specify a default movement method. 1628 * Be warned that if you want a TextView with a key listener or movement 1630 * key listener or movement method to be focusable, you must call 1678 * @return the movement method being used for this TextView. 1686 * Sets the movement metho 1696 setMovementMethod(MovementMethod movement) argument [all...] |
Completed in 310 milliseconds