android: minor comments change
Change-Id: Ib6522079f95fcf3f00212f848646c5cecfdfc296
This commit is contained in:
committed by
Miklos Vajna
parent
d7716c9927
commit
9dfaffabf1
@@ -15,7 +15,8 @@ import android.view.inputmethod.InputConnection;
|
|||||||
import org.mozilla.gecko.gfx.InputConnectionHandler;
|
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 {
|
public class LOKitInputConnectionHandler implements InputConnectionHandler {
|
||||||
private static String LOGTAG = LOKitInputConnectionHandler.class.getSimpleName();
|
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
|
@Override
|
||||||
public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) {
|
public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) {
|
||||||
|
@@ -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
|
* @param screenPosition - screen position of the selection
|
||||||
*/
|
*/
|
||||||
private void sendGraphicSelectionStart(PointF screenPosition) {
|
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
|
* @param screenPosition - screen position of the selection
|
||||||
*/
|
*/
|
||||||
private void sendGraphicSelectionEnd(PointF screenPosition) {
|
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 type - type of the graphic selection
|
||||||
* @param screenPosition - screen position of the selection
|
* @param screenPosition - screen position of the selection
|
||||||
*/
|
*/
|
||||||
|
@@ -58,7 +58,7 @@ public class GraphicSelectionHandle implements CanvasElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The position of the handle
|
* The position of the handle.
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public HandlePosition getHandlePosition() {
|
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) {
|
private void drawFilledCircle(Canvas canvas, float x, float y, float radius, Paint strokePaint, Paint fillPaint) {
|
||||||
canvas.drawCircle(x, y, radius, fillPaint);
|
canvas.drawCircle(x, y, radius, fillPaint);
|
||||||
|
Reference in New Issue
Block a user