OSDN Git Service

Refinements to magnification for improved wearable support.
authorCasey Burkhardt <caseyburkhardt@google.com>
Wed, 18 Feb 2015 20:18:15 +0000 (12:18 -0800)
committerCasey Burkhardt <caseyburkhardt@google.com>
Wed, 18 Feb 2015 20:24:45 +0000 (12:24 -0800)
commit0944984c36934c6b5431383d1b6a719b64338074
tree243bcf5cccba733be02eff717dc4a30c0a7b3a27
parent8bd345f90d27d88a7929b874efd6fa57c0c38146
Refinements to magnification for improved wearable support.

This change refactors ScreenMagnifier to use resources for its triple-tap
adjustment and scale threshold values.  New values more appropriate for
wearable form factors are supplied.  This also fixes a bug in the triple-
tap detection logic where the incorrect ViewConfiguration value for the
tap threshold was used, prematurely disqualifying some touch events as
potential taps.

Change-Id: If47e556aadb5beb1bad24644122560c6fbe33bad
core/res/res/values-watch/config.xml
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/accessibility/java/com/android/server/accessibility/ScreenMagnifier.java