diff options
author | 2014-02-09 20:13:36 -0800 | |
---|---|---|
committer | 2014-02-09 20:13:36 -0800 | |
commit | 20083cce070a8544a3973dcfc6609e1bcf0abac8 (patch) | |
tree | d3a7ffa8adb32bac62bf561c3c3f3c86a7d65d2e /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | |
parent | 6fa4705c062850e9fba2047676c1986b8674dac3 (diff) | |
parent | f70bcf3d323b13b60c0567c69768ed986647f86a (diff) | |
download | latinime-20083cce070a8544a3973dcfc6609e1bcf0abac8.tar.gz latinime-20083cce070a8544a3973dcfc6609e1bcf0abac8.tar.xz latinime-20083cce070a8544a3973dcfc6609e1bcf0abac8.zip |
am f70bcf3d: Refactor Key constructors
* commit 'f70bcf3d323b13b60c0567c69768ed986647f86a':
Refactor Key constructors
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java index b96175f02..2f4c1839b 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java +++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java @@ -209,10 +209,10 @@ public final class MoreSuggestions extends Keyboard { final String word = mSuggestedWords.getWord(index); final String info = mSuggestedWords.getDebugString(index); final int indexInMoreSuggestions = index + SUGGESTION_CODE_BASE; - final Key key = new Key( - params, word, info, KeyboardIconsSet.ICON_UNDEFINED, indexInMoreSuggestions, - null /* outputText */, x, y, width, params.mDefaultRowHeight, - 0 /* labelFlags */, Key.BACKGROUND_TYPE_NORMAL); + final Key key = new Key(word, KeyboardIconsSet.ICON_UNDEFINED, + indexInMoreSuggestions, null /* outputText */, info, 0 /* labelFlags */, + Key.BACKGROUND_TYPE_NORMAL, x, y, width, params.mDefaultRowHeight, + params.mHorizontalGap, params.mVerticalGap); params.markAsEdgeKey(key, index); params.onAddKey(key); final int columnNumber = params.getColumnNumber(index); |