Kaydet (Commit) e57a6494 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Miklos Vajna

android: touch pop-ups keyboard and sends mousebuttondown event

Change-Id: I98bf7c5ae4d31ab1a48321d1c5a3a4858cd3e00b
üst f6e82e2e
...@@ -164,6 +164,9 @@ public class LOKitThread extends Thread implements TileProvider.TileInvalidation ...@@ -164,6 +164,9 @@ public class LOKitThread extends Thread implements TileProvider.TileInvalidation
private void touch(String touchType, MotionEvent motionEvent, PointF mDocumentTouchCoordinate) { private void touch(String touchType, MotionEvent motionEvent, PointF mDocumentTouchCoordinate) {
LibreOfficeMainActivity.mAppContext.showSoftKeyboard(); LibreOfficeMainActivity.mAppContext.showSoftKeyboard();
float x = motionEvent.getX();
float y = motionEvent.getY();
mTileProvider.mouseButtonDown(mDocumentTouchCoordinate);
} }
private void createThumbnail(final ThumbnailCreator.ThumbnailCreationTask task) { private void createThumbnail(final ThumbnailCreator.ThumbnailCreationTask task) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment