diff options
author | 2012-03-27 15:21:54 +0900 | |
---|---|---|
committer | 2012-03-27 16:28:48 +0900 | |
commit | 01ab7c8b59a7f12862fbd95fb252e56719f1757f (patch) | |
tree | 3d52952e02de8a812449aad96766bbe00d005705 /java/src/com/android/inputmethod/latin/LastComposedWord.java | |
parent | b79064cbebf82edd61dd8b54361bb692181646bf (diff) | |
download | latinime-01ab7c8b59a7f12862fbd95fb252e56719f1757f.tar.gz latinime-01ab7c8b59a7f12862fbd95fb252e56719f1757f.tar.xz latinime-01ab7c8b59a7f12862fbd95fb252e56719f1757f.zip |
ongoing cleanup 2
Change-Id: I66b61cbe491cf8375144e834390beae3209a777d
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; |