summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-01 00:32:05 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-01 00:37:20 +0200
commite63165c685e96acb7939b15db61328eef79ff920 (patch)
tree0a3b5fa4e9683d440998f3f7d41b4df245a9d658 /android
parent18df08f974074c4263c357351beabda4fad6cb1b (diff)
Pass touch events on to the ScaleGestureDetector
Note that the listener doesn't do anything with the scale gestures yet, though. I guesss either a new type of VCL event is needed for zooming, or then we could fake entering of Control-+ and Control-- key events (or whatever the default bindings for zoom in and out are). Change-Id: Ib2ba138dd3e7874f85e9fc9fb7ac7198fa6212d3
Diffstat (limited to 'android')
-rw-r--r--android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java2
1 files changed, 2 insertions, 0 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 e471a7d08a8d..997a94263c9f 100644
--- a/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java
+++ b/android/experimental/desktop/src/org/libreoffice/experimental/desktop/Desktop.java
@@ -226,6 +226,8 @@ public class Desktop
@Override public boolean onTouchEvent(MotionEvent event)
{
+ gestureDetector.onTouchEvent(event);
+
if (!renderedOnce)
return super.onTouchEvent(event);