aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-07-24 16:26:12 +0900
committerSatoshi Kataoka <satok@google.com>2012-07-24 16:26:12 +0900
commit32555e832a5134ee6ef614175798b2a922e35d7f (patch)
tree85086d3b08329a88d7452238cc4f6945c99df9a8 /java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
parent540b535ba61091443e8dc45650c4e89586c4b23e (diff)
parent467f829bc890fbb5cde87540a8d54e10edbbdffb (diff)
downloadlatinime-32555e832a5134ee6ef614175798b2a922e35d7f.tar.gz
latinime-32555e832a5134ee6ef614175798b2a922e35d7f.tar.xz
latinime-32555e832a5134ee6ef614175798b2a922e35d7f.zip
Merge remote-tracking branch 'goog/master' into mergescriptpackage
Conflicts: java/res/values-da/strings.xml java/res/values-es-rUS/strings.xml java/res/values-fa/strings.xml java/res/values-ko/strings.xml java/res/values-pl/strings.xml java/res/values-sk/strings.xml java/res/values-sw/strings.xml Change-Id: I1d4be3df6c54c328011c448f31f163fafb2a909a
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
index c6fe43b69..58b01aa55 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/MoreSuggestions.java
@@ -42,10 +42,10 @@ public class MoreSuggestions extends Keyboard {
private int mToPos;
public static class MoreSuggestionsParam extends Keyboard.Params {
- 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 final int[] mWidths = new int[SuggestionStripView.MAX_SUGGESTIONS];
+ private final int[] mRowNumbers = new int[SuggestionStripView.MAX_SUGGESTIONS];
+ private final int[] mColumnOrders = new int[SuggestionStripView.MAX_SUGGESTIONS];
+ private final int[] mNumColumnsInRow = new int[SuggestionStripView.MAX_SUGGESTIONS];
private static final int MAX_COLUMNS_IN_ROW = 3;
private int mNumRows;
public Drawable mDivider;
@@ -63,7 +63,7 @@ public class MoreSuggestions extends Keyboard {
int row = 0;
int pos = fromPos, rowStartPos = fromPos;
- final int size = Math.min(suggestions.size(), SuggestionsView.MAX_SUGGESTIONS);
+ final int size = Math.min(suggestions.size(), SuggestionStripView.MAX_SUGGESTIONS);
while (pos < size) {
final String word = suggestions.getWord(pos).toString();
// TODO: Should take care of text x-scaling.