LatinIME/java/src/com/android/inputmethod/latin
Jean Chalard d631651b12 Avoid the removal of high-ranking exactly typed candidates.
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).

The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.

In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.

bug: 4100269

Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
..
AccessibilityUtils.java Added support for speaking keys through accessibility service. 2011-02-23 18:16:43 -08:00
AutoCorrection.java Add whitelist dictionary 2011-03-08 11:29:10 +09:00
AutoDictionary.java Add whitelist dictionary 2011-03-08 11:29:10 +09:00
BackupAgent.java Remove LatinIME prefix from classes 2010-12-09 21:54:51 +09:00
BinaryDictionary.java Use translation of fallback umlauts digraphs for German. 2011-03-03 11:52:23 +09:00
CandidateView.java Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords 2011-03-02 22:03:29 -08:00
ContactsDictionary.java Remove Tutorial class and unused debug feature 2010-12-10 18:24:00 +09:00
DebugSettings.java Rename a member to comply to the member naming policy. 2011-02-03 18:38:55 +09:00
Dictionary.java Remove next letters frequency handling 2011-02-17 13:59:41 +09:00
EditingUtils.java Remove Tutorial class and unused debug feature 2010-12-10 18:24:00 +09:00
ExpandableDictionary.java Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1 2011-03-04 22:43:16 -08:00
InputLanguageSelection.java Fix privateImeOptions parsing 2011-02-23 20:00:08 +09:00
LanguageSwitcher.java Remove LatinIME prefix from classes 2010-12-09 21:54:51 +09:00
LatinIME.java Add whitelist dictionary 2011-03-08 11:29:10 +09:00
LatinImeLogger.java Fix miss spelling 2010-12-28 19:49:43 +09:00
Settings.java Fix subtype settings activity string 2011-02-01 01:16:32 +09:00
SharedPreferencesCompat.java Eliminate compiler warning 2010-09-30 12:43:43 +09:00
SubtypeLocale.java Add SubtypeLocale class 2011-01-14 16:12:36 +09:00
SubtypeSwitcher.java Hide shortcut key when the shortcut IME is not enabled 2011-03-03 01:18:08 -08:00
Suggest.java Avoid the removal of high-ranking exactly typed candidates. 2011-03-15 21:12:38 -07:00
SuggestedWords.java Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords 2011-03-02 22:03:29 -08:00
TextEntryState.java Disable debug flag in TextEntryState 2011-03-08 12:11:47 -08:00
UserBigramDictionary.java Remove Tutorial class and unused debug feature 2010-12-10 18:24:00 +09:00
UserDictionary.java Remove next letters frequency handling 2011-02-17 13:59:41 +09:00
Utils.java Change how to load native lib to be on the safe side 2011-02-25 18:21:02 +09:00
WhitelistDictionary.java Add whitelist dictionary 2011-03-08 11:29:10 +09:00
WordComposer.java Add proximity info to native 2011-02-23 23:04:00 +09:00