aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BaseKeyboard.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-10-22 01:24:23 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-10-22 21:58:45 +0900
commit0b1cb2d039466acaeb5f1f180cf2fc60b5482b1e (patch)
treec1710ef8d3d3dfc2d30294f116177662299aa622 /java/src/com/android/inputmethod/latin/BaseKeyboard.java
parentd0ed8ec9332e7b337b2eb18367e2520a8aef3554 (diff)
downloadlatinime-0b1cb2d039466acaeb5f1f180cf2fc60b5482b1e.tar.gz
latinime-0b1cb2d039466acaeb5f1f180cf2fc60b5482b1e.tar.xz
latinime-0b1cb2d039466acaeb5f1f180cf2fc60b5482b1e.zip
Refactor BaseKeyboardParser as Recursive Descendent Parser
Bug: 3082538 Change-Id: Ic0d72c6fe08cfc20db86aeffb10a27efe678095e
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BaseKeyboard.java')
-rw-r--r--java/src/com/android/inputmethod/latin/BaseKeyboard.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/BaseKeyboard.java b/java/src/com/android/inputmethod/latin/BaseKeyboard.java
index 517bfbfda..cb41ad047 100644
--- a/java/src/com/android/inputmethod/latin/BaseKeyboard.java
+++ b/java/src/com/android/inputmethod/latin/BaseKeyboard.java
@@ -121,7 +121,7 @@ public class BaseKeyboard {
/**
* Container for keys in the keyboard. All keys in a row are at the same Y-coordinate.
- * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
+ * Some of the key size defaults can be overridden per row from what the {@link BaseKeyboard}
* defines.
*/
public static class Row {
@@ -135,7 +135,7 @@ public class BaseKeyboard {
public int verticalGap;
/**
* Edge flags for this row of keys. Possible values that can be assigned are
- * {@link Keyboard#EDGE_TOP EDGE_TOP} and {@link Keyboard#EDGE_BOTTOM EDGE_BOTTOM}
+ * {@link BaseKeyboard#EDGE_TOP EDGE_TOP} and {@link BaseKeyboard#EDGE_BOTTOM EDGE_BOTTOM}
*/
public int rowEdgeFlags;
@@ -217,8 +217,8 @@ public class BaseKeyboard {
/**
* Flags that specify the anchoring to edges of the keyboard for detecting touch events
* that are just out of the boundary of the key. This is a bit mask of
- * {@link Keyboard#EDGE_LEFT}, {@link Keyboard#EDGE_RIGHT}, {@link Keyboard#EDGE_TOP} and
- * {@link Keyboard#EDGE_BOTTOM}.
+ * {@link BaseKeyboard#EDGE_LEFT}, {@link BaseKeyboard#EDGE_RIGHT},
+ * {@link BaseKeyboard#EDGE_TOP} and {@link BaseKeyboard#EDGE_BOTTOM}.
*/
public int edgeFlags;
/** Whether this is a modifier key, such as Shift or Alt */
@@ -274,7 +274,7 @@ public class BaseKeyboard {
* the XML parser.
* @param res resources associated with the caller's context
* @param parent the row that this key belongs to. The row must already be attached to
- * a {@link Keyboard}.
+ * a {@link BaseKeyboard}.
* @param x the x coordinate of the top-left
* @param y the y coordinate of the top-left
* @param parser the XML parser containing the attributes for this key