hg: openjfx/8/graphics/rt: [RT-32802] Lens: touch events are not handled corectly - step 3&4

hang.vo at oracle.com hang.vo at oracle.com
Mon Oct 21 03:05:12 PDT 2013


Changeset: 4d2baac37b29
Author:    Assaf Yavani
Date:      2013-10-21 12:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4d2baac37b29

[RT-32802] Lens: touch events are not handled corectly - step 3&4

Summary: step 3 - touch tap radius calculations also for MT, step 4 - distinguish between touch MOVE / STILL

LensApplication.java
1) Removal of Rich HYSTERESIS code and move it to native because:
a) it had a bug
b) it was implemented only for single touch
c) instead of dropping an event in java it better not to send it at all
2) Fix motion collapse mechanism to include STILL events

udevInput.c
1) Added multi touch support for tap radius and and move sensitivity (the main feature of this commit)
2) add property for touch move sensitivity
3) Fixed touch protocol analysis
4) Add some logging

Tested by: running helloworld.HelloSanity::controls and LinuxInputTests

Reviewed-by: David Hill (david.hill at oracle.com), Lisa Selle (lisa.selle at oracle.com), Rafi Tayar (rafi.tayar at oracle.com) and Daniel Blaukopf (Daniel.Blaukopf at Oracle.com)

Contributed-by:

! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensApplication.java
! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensTouchInputSupport.java
! modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c
! modules/graphics/src/main/native-glass/lens/wm/screen/dfbScreen.c



More information about the openjfx-dev mailing list