android: minor comments change

Change-Id: Ib6522079f95fcf3f00212f848646c5cecfdfc296
This commit is contained in:
Tomaž Vajngerl 2015-03-31 13:24:32 +09:00 committed by Miklos Vajna
parent d7716c9927
commit 9dfaffabf1
3 changed files with 9 additions and 7 deletions

View File

@ -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) {

View File

@ -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
*/

View File

@ -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);