From 9dfaffabf10df636c130ef5b0f6a91c202ff5ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Tue, 31 Mar 2015 13:24:32 +0900 Subject: [PATCH] android: minor comments change Change-Id: Ib6522079f95fcf3f00212f848646c5cecfdfc296 --- .../java/org/libreoffice/LOKitInputConnectionHandler.java | 6 ++++-- .../src/java/org/libreoffice/canvas/GraphicSelection.java | 6 +++--- .../java/org/libreoffice/canvas/GraphicSelectionHandle.java | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitInputConnectionHandler.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitInputConnectionHandler.java index 6e82692972ea..804e7263594f 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitInputConnectionHandler.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitInputConnectionHandler.java @@ -15,7 +15,8 @@ import android.view.inputmethod.InputConnection; import org.mozilla.gecko.gfx.InputConnectionHandler; /** - * Implementation of InputConnectionHandler.When a key event happens it is directed to this class which is then directed further to LOKitThread. + * Implementation of InputConnectionHandler. When a key event happens it is + * directed to this class which is then directed further to LOKitThread. */ public class LOKitInputConnectionHandler implements InputConnectionHandler { private static String LOGTAG = LOKitInputConnectionHandler.class.getSimpleName(); @@ -52,7 +53,8 @@ public class LOKitInputConnectionHandler implements InputConnectionHandler { } /** - * When key multiple event happens. Key multiple event is triggered when non-ascii characters are entered on soft keyboard + * When key multiple event happens. Key multiple event is triggered when + * non-ascii characters are entered on soft keyboard. */ @Override public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelection.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelection.java index 3fa46192846e..fbccf1d8c30a 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelection.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelection.java @@ -214,7 +214,7 @@ public class GraphicSelection implements CanvasElement { } /** - * Send graphic selection start event to LOKitTread + * Send graphic selection start event to LOKitTread. * @param screenPosition - screen position of the selection */ private void sendGraphicSelectionStart(PointF screenPosition) { @@ -222,7 +222,7 @@ public class GraphicSelection implements CanvasElement { } /** - * Send graphic selection end event to LOKitTread + * Send graphic selection end event to LOKitTread. * @param screenPosition - screen position of the selection */ private void sendGraphicSelectionEnd(PointF screenPosition) { @@ -230,7 +230,7 @@ public class GraphicSelection implements CanvasElement { } /** - * Send graphic selection event to LOKitTread + * Send graphic selection event to LOKitTread. * @param type - type of the graphic selection * @param screenPosition - screen position of the selection */ diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java index 13487f65de87..2c9f7ed23205 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/canvas/GraphicSelectionHandle.java @@ -58,7 +58,7 @@ public class GraphicSelectionHandle implements CanvasElement { } /** - * The position of the handle + * The position of the handle. * @return */ public HandlePosition getHandlePosition() { @@ -80,7 +80,7 @@ public class GraphicSelectionHandle implements CanvasElement { } /** - * Draw a filled and stroked circle to the canvas + * Draw a filled and stroked circle to the canvas. */ private void drawFilledCircle(Canvas canvas, float x, float y, float radius, Paint strokePaint, Paint fillPaint) { canvas.drawCircle(x, y, radius, fillPaint);