diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-04 12:41:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-04 12:46:23 +0200 |
commit | 5f63a1ab95d64d25f241779a6a361fef01f2502a (patch) | |
tree | 6459e5377a7ffe79906176b5053ac3dc878ae96f | |
parent | 66f426b8fa1ceff10ac26319796af73ab0ef198d (diff) |
Field can be moved into the inner class
Change-Id: I053f7d4a17aec9c8b24b92a40de635c71492a3dc
-rw-r--r-- | android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java b/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java index 8b46be740f49..b30f74def2e4 100644 --- a/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java +++ b/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java @@ -134,7 +134,6 @@ public class Desktop boolean scalingInProgress; GestureDetector gestureDetector; ScaleGestureDetector scaleDetector; - long lastGestureEventTime; public BitmapView() { @@ -167,6 +166,8 @@ public class Desktop scaleDetector = new ScaleGestureDetector(Desktop.this, new ScaleGestureDetector.SimpleOnScaleGestureListener() { + long lastGestureEventTime; + @Override public boolean onScaleBegin(ScaleGestureDetector detector) { scalingInProgress = true; |