diff options
| author | Jeff Brown <jeffbrown@google.com> | 2011-05-24 01:07:44 -0700 |
|---|---|---|
| committer | Jeff Brown <jeffbrown@google.com> | 2011-05-24 14:39:19 -0700 |
| commit | 80fd47ce75253dcdc2cfa85d7a3f42634b923a47 (patch) | |
| tree | 1edece586e3143d7f4e27e2f497f6d629365628a /core/java/android/view/MotionEvent.java | |
| parent | ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3 (diff) | |
Input device protocol enhancements.
Added support for Linux multitouch protocol B (slots).
Added support for using the device's input properties as a hint
to determine the intended usage of a touch device.
Added support for the ABS_MT_DISTANCE axis.
Fixed a bug reporting the presence of the orientation axis.
Change-Id: Icf7b5a5a0f1a9cdf6ad2b35be8ea0c1a35815d48
Diffstat (limited to 'core/java/android/view/MotionEvent.java')
| -rw-r--r-- | core/java/android/view/MotionEvent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/MotionEvent.java b/core/java/android/view/MotionEvent.java index 82fd581cb46a..3436cd1df94f 100644 --- a/core/java/android/view/MotionEvent.java +++ b/core/java/android/view/MotionEvent.java @@ -883,8 +883,8 @@ public final class MotionEvent extends InputEvent implements Parcelable { * <p> * <ul> * <li>For a stylus, reports the distance of the stylus from the screen. - * The value is normalized to a range from 0.0 (direct contact) to 1.0 (furthest measurable - * distance). + * The value is nominally measured in millimeters where 0.0 indicates direct contact + * and larger values indicate increasing distance from the surface. * </ul> * </p> * |
