Home
last modified time | relevance | path

Searched refs:movement (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureUtils.java52 float movement = Float.MAX_VALUE; in distanceClosestPointerToPoint() local
56 if (movement > moveDelta) { in distanceClosestPointerToPoint()
57 movement = moveDelta; in distanceClosestPointerToPoint()
60 return movement; in distanceClosestPointerToPoint()
/frameworks/native/libs/input/
DVelocityTracker.cpp361 Movement& movement = mMovements[mIndex]; in addMovement() local
362 movement.eventTime = eventTime; in addMovement()
363 movement.idBits = idBits; in addMovement()
366 movement.positions[i] = positions[i]; in addMovement()
606 const Movement& movement = mMovements[index]; in getEstimator() local
607 if (!movement.idBits.hasBit(id)) { in getEstimator()
611 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator()
616 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()
889 Movement& movement = mMovements[mIndex]; in addMovement() local
890 movement.eventTime = eventTime; in addMovement()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DBaseTooltipView.java143 void setMovementMethod(MovementMethod movement) { in setMovementMethod() argument
144 mTextView.setMovementMethod(movement); in setMovementMethod()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java161 public boolean isTowardsMenu(float movement); in isTowardsMenu() argument
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2808 MovementMethod movement = eet.getMovementMethod(); in doMovementKey() local
2810 if (movement != null && layout != null) { in doMovementKey()
2814 if (movement.onKeyDown(eet, eet.getText(), keyCode, event)) { in doMovementKey()
2819 if (movement.onKeyUp(eet, eet.getText(), keyCode, event)) { in doMovementKey()
2823 if (movement.onKeyOther(eet, eet.getText(), event)) { in doMovementKey()
2827 if (movement.onKeyDown(eet, eet.getText(), keyCode, down)) { in doMovementKey()
2829 movement.onKeyUp(eet, eet.getText(), keyCode, up); in doMovementKey()
2831 movement.onKeyDown(eet, eet.getText(), keyCode, down); in doMovementKey()
2832 movement.onKeyUp(eet, eet.getText(), keyCode, up); in doMovementKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java439 public boolean isTowardsMenu(float movement) { in isTowardsMenu() argument
441 && ((isMenuOnLeft() && movement <= 0) in isTowardsMenu()
442 || (!isMenuOnLeft() && movement >= 0)); in isTowardsMenu()
/frameworks/native/services/inputflinger/docs/
Dpointer_capture.md5 [Pointer Capture](https://developer.android.com/training/gestures/movement#pointer-capture) is a fe…
/frameworks/base/packages/SystemUI/docs/
Dclock-plugins.md21 (clock movement) scheme and shape of the clock.
/frameworks/base/core/java/android/view/
DViewRootImpl.java6600 int movement = 0; in process() local
6603 movement = mX.generate(); in process()
6604 if (movement != 0) { in process()
6605 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_RIGHT in process()
6611 movement = mY.generate(); in process()
6612 if (movement != 0) { in process()
6613 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_DOWN in process()
6621 if (movement < 0) movement = -movement; in process()
6622 int accelMovement = (int)(movement * accel); in process()
6623 if (DEBUG_TRACKBALL) Log.v(mTag, "Move: movement=" + movement in process()
[all …]
/frameworks/base/core/java/android/widget/
DTextView.java2592 public final void setMovementMethod(MovementMethod movement) { in setMovementMethod() argument
2593 if (mMovement != movement) { in setMovementMethod()
2594 mMovement = movement; in setMovementMethod()
2596 if (movement != null && mSpannable == null) { in setMovementMethod()