aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/MoreSuggestions.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-09-01 14:54:28 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-09-01 15:41:34 +0900
commit913e2aeef26f172d500a4ebfc644b5f47778841a (patch)
treec70db4369aa761942fa9656d9e1aee15c557f3bf /java/src/com/android/inputmethod/latin/MoreSuggestions.java
parentb17300e2f03d2712bc3aae4a6bf548eb836a27ae (diff)
downloadlatinime-913e2aeef26f172d500a4ebfc644b5f47778841a.tar.gz
latinime-913e2aeef26f172d500a4ebfc644b5f47778841a.tar.xz
latinime-913e2aeef26f172d500a4ebfc644b5f47778841a.zip
Rename CandidateView to SuggestionsView
Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
Diffstat (limited to 'java/src/com/android/inputmethod/latin/MoreSuggestions.java')
-rw-r--r--java/src/com/android/inputmethod/latin/MoreSuggestions.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/MoreSuggestions.java
index 0446fb2a8..a9e75b7b3 100644
--- a/java/src/com/android/inputmethod/latin/MoreSuggestions.java
+++ b/java/src/com/android/inputmethod/latin/MoreSuggestions.java
@@ -43,10 +43,10 @@ public class MoreSuggestions extends Keyboard {
private int mToPos;
public static class MoreSuggestionsParam extends KeyboardParams {
- private final int[] mWidths = new int[CandidateView.MAX_SUGGESTIONS];
- private final int[] mRowNumbers = new int[CandidateView.MAX_SUGGESTIONS];
- private final int[] mColumnOrders = new int[CandidateView.MAX_SUGGESTIONS];
- private final int[] mNumColumnsInRow = new int[CandidateView.MAX_SUGGESTIONS];
+ private final int[] mWidths = new int[SuggestionsView.MAX_SUGGESTIONS];
+ private final int[] mRowNumbers = new int[SuggestionsView.MAX_SUGGESTIONS];
+ private final int[] mColumnOrders = new int[SuggestionsView.MAX_SUGGESTIONS];
+ private final int[] mNumColumnsInRow = new int[SuggestionsView.MAX_SUGGESTIONS];
private static final int MAX_COLUMNS_IN_ROW = 3;
private int mNumRows;
@@ -60,7 +60,7 @@ public class MoreSuggestions extends Keyboard {
int row = 0;
int pos = fromPos, rowStartPos = fromPos;
- final int size = Math.min(suggestions.size(), CandidateView.MAX_SUGGESTIONS);
+ final int size = Math.min(suggestions.size(), SuggestionsView.MAX_SUGGESTIONS);
while (pos < size) {
final CharSequence word = suggestions.getWord(pos);
// TODO: Should take care of text x-scaling.