OSDN Git Service

ScaleGestureDetector needs to query the displaymetrics
authorGrace Kloba <klobag@google.com>
Thu, 21 Jan 2010 07:06:43 +0000 (23:06 -0800)
committerGrace Kloba <klobag@google.com>
Thu, 21 Jan 2010 07:06:43 +0000 (23:06 -0800)
commitd5ada83c719d366d3063572ca6ce5ab8918fd39b
tree0b60b778c9edf86452b8bd88ab42db88310c6649
parente834722f547d13eaa453464502456892c6225e42
ScaleGestureDetector needs to query the displaymetrics
for the width/height on each touch down as orientation
can change.

This should fix the problem where we can't pinch on the
top right corner when device is in landscape mode.
core/java/android/view/ScaleGestureDetector.java