diff options
author | 2012-03-27 01:16:48 -0700 | |
---|---|---|
committer | 2012-03-27 01:16:48 -0700 | |
commit | e0e3e8bb26825d9186fc1eb6a69044d0e4da9f68 (patch) | |
tree | e516d8e752b1d9c9260125239791b89bf292ee80 /java/src/com/android/inputmethod/latin/LastComposedWord.java | |
parent | 93070d085d1972be621b0b64901d2ba7fb652bd7 (diff) | |
parent | 01ab7c8b59a7f12862fbd95fb252e56719f1757f (diff) | |
download | latinime-e0e3e8bb26825d9186fc1eb6a69044d0e4da9f68.tar.gz latinime-e0e3e8bb26825d9186fc1eb6a69044d0e4da9f68.tar.xz latinime-e0e3e8bb26825d9186fc1eb6a69044d0e4da9f68.zip |
Merge "ongoing cleanup 2"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LastComposedWord.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LastComposedWord.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LastComposedWord.java b/java/src/com/android/inputmethod/latin/LastComposedWord.java index bc0792434..af0ef4b37 100644 --- a/java/src/com/android/inputmethod/latin/LastComposedWord.java +++ b/java/src/com/android/inputmethod/latin/LastComposedWord.java @@ -18,8 +18,6 @@ package com.android.inputmethod.latin; import android.text.TextUtils; -import java.util.ArrayList; - /** * This class encapsulates data about a word previously composed, but that has been * committed already. This is used for resuming suggestion, and cancel auto-correction. @@ -42,7 +40,7 @@ public class LastComposedWord { public static final int NOT_A_SEPARATOR = -1; - public final ArrayList<int[]> mCodes; + public final int[] mPrimaryKeyCodes; public final int[] mXCoordinates; public final int[] mYCoordinates; public final String mTypedWord; @@ -56,10 +54,10 @@ public class LastComposedWord { // Warning: this is using the passed objects as is and fully expects them to be // immutable. Do not fiddle with their contents after you passed them to this constructor. - public LastComposedWord(final ArrayList<int[]> codes, final int[] xCoordinates, + public LastComposedWord(final int[] primaryKeyCodes, final int[] xCoordinates, final int[] yCoordinates, final String typedWord, final String committedWord, final int separatorCode) { - mCodes = codes; + mPrimaryKeyCodes = primaryKeyCodes; mXCoordinates = xCoordinates; mYCoordinates = yCoordinates; mTypedWord = typedWord; |