summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-02-04 14:26:58 -0800
committerSvetoslav <svetoslavganov@google.com>2013-02-04 14:34:40 -0800
commit213c13aadd5bd4fd3876528f17f179379ca1c1f6 (patch)
treee2abfb94926ec60e5aa1245af10984e3a1292ac0 /graphics/java/android/renderscript/RenderScript.java
parent3b53da493440efbacd147d1aedcea8679c3a642b (diff)
Ensure touch explorer and magnifier get a well-formed event stream.
We use an input filter to manipulate the event stream in accessibility mode. Some input events, i.e. touch and hover events, are delivered to a touch explorer, if touch exploration is enabled, and to a magnifier, if screen magnification is enabled. It is possible that at the moment each of these features is enabled we are in the middle of a touch or hover gesture. The touch explorer and screen magnifier expect to receive an event stream that starts with an event that denotes the stream start. This change ensures that hover or touch events are dispatched to the touch explorer and the magnifier only after the start of the first well-formed hover or touch sequence. Change-Id: I8cd0ad8e1844c59fd55cf1dfacfb79af6a8916df
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions