Changeset: c81922444345
Author:    Assaf Yavani
Date:      2013-10-24 14:37 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/c81922444345

[RT-32802] Lens: touch events are not handled corectly - step 5

Summary: make sure all touch events go to the same window, mark primary touch 
point for mouse event emulationThis patch resolved:
RT-32548 Lens: Long press on Touch keyboard not working well on the Beagle
RT-33687 Lens:some touch events are been dropepd in native causing exceptions 
to be thrown
RT-33731 Lens:DND is not working with touch screen
RT-32580 Lens: release event is not posted to the Java/Lens layer on the 
Beagleboard

The main points of this patch are:
1) make sure that all touch events going to the same window until released
2) make sure that the same index point is used for coordinates calculation

Tested by: Tested with: HelloSanity, HelloDragAndDrop, LinuxInputTests and 
other toys. Touch and mouse a like

Reviewed-by: David Hill (david.h...@oracle.com), Lisa Selle 
(lisa.se...@oracle.com), Rafi Tayar (rafi.ta...@oracle.com) and Daniel Blaukopf 
(daniel.blauk...@oracle.com)

Contributed-by:

! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensApplication.java
! modules/graphics/src/main/native-glass/lens/LensApplication.c
! modules/graphics/src/main/native-glass/lens/input/android/androidLens.c
! modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c
! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c
! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.h

Reply via email to