aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-05 16:56:58 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-05 17:24:30 +0900
commitc208f4dfb7abe1b7a83c725d515edb3615d5d927 (patch)
treedb46cbe5ab71872bd263366aedebc7fd1f2fa581 /java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
parente5cbc94d10b4d92e6f57ba154b7167a962af301a (diff)
downloadlatinime-c208f4dfb7abe1b7a83c725d515edb3615d5d927.tar.gz
latinime-c208f4dfb7abe1b7a83c725d515edb3615d5d927.tar.xz
latinime-c208f4dfb7abe1b7a83c725d515edb3615d5d927.zip
Make SuggestedWords immutable
Change-Id: I26bd82aee5ead84e40abfc3db5a48ed6d1e42361
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
index e5638ef21..20eb55ce8 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
@@ -307,7 +307,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
}
if (LatinImeLogger.sDBG) {
if (index == mCenterSuggestionIndex && suggestions.mHasAutoCorrectionCandidate
- && suggestions.shouldBlockAutoCorrectionBySafetyNet()) {
+ && suggestions.mShouldBlockAutoCorrectionBySafetyNet) {
return 0xFFFF0000;
}
}
@@ -335,7 +335,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
public void layout(SuggestedWords suggestions, ViewGroup stripView, ViewGroup placer,
int stripWidth) {
- if (suggestions.isPunctuationSuggestions()) {
+ if (suggestions.mIsPunctuationSuggestions) {
layoutPunctuationSuggestions(suggestions, stripView);
return;
}