LatinIME/java/src/com/android/inputmethod/latin
Jean Chalard 90d300c770 Clarify some code and fix a bug (A41)
The test against hasMainDictionary is a test to know if we should
auto-correct or not. Its result should be recorded in
hasAutoCorrection, not in allowsToBeAutoCorrected.

Actually, this value being inserted in allowsToBeAutoCorrected was
causing a bug that nobody noticed: when typing in a language with
no dictionary, the word in the middle of the suggestion strip would
always be bold, as if it was going to auto-correct to itself !
This change fixes this bug.

Change-Id: Ia1f08efd7089b9c5cbede910c5b0951d83e698d2
2012-07-02 15:46:03 +09:00
..
define
makedict Small performance tweak 2012-06-08 17:09:40 +09:00
spellcheck Remove a meaningless separation (A18) 2012-06-26 17:59:04 +09:00
suggestions Remove old debug code that has been long broken (A34) 2012-06-29 19:47:00 +09:00
AdditionalSubtype.java Fix build 2012-05-24 17:13:35 +09:00
AdditionalSubtypeSettings.java Check duplicated entry of "custom input style" 2012-05-17 20:20:41 +09:00
AssetFileAddress.java
AudioAndHapticFeedbackManager.java
AutoCorrection.java Rename a method for readability (A23) 2012-06-29 15:45:24 +09:00
BackupAgent.java
BinaryDictionary.java Add input pointers 2012-06-29 18:58:51 +09:00
BinaryDictionaryFileDumper.java Notify the dictionary pack about copy failures 2012-05-23 18:46:51 +09:00
BinaryDictionaryGetter.java Remove an updated dictionary that changed locales 2012-05-23 15:59:49 +09:00
BoundedTreeSet.java Use a TreeSet to sort suggestions instead of doing it by hand (A1) 2012-06-28 18:54:14 +09:00
Constants.java Change auto caps mode argument to int type 2012-05-18 17:46:05 +09:00
ContactsBinaryDictionary.java Move constants to a better place. 2012-06-27 18:08:08 +09:00
DebugSettings.java Use InputMethodSettingsFragment for IME settings 2012-04-13 19:56:47 +09:00
DebugSettingsActivity.java Use InputMethodSettingsFragment for IME settings 2012-04-13 19:56:47 +09:00
Dictionary.java Remember the source dictionary for each suggestion. 2012-06-27 18:17:28 +09:00
DictionaryCollection.java Cleanup the dictionary type. 2012-06-27 17:31:09 +09:00
DictionaryFactory.java Move constants to a better place. 2012-06-27 18:08:08 +09:00
DictionaryPackInstallBroadcastReceiver.java Wipe the application cache selectively 2012-05-25 18:56:13 +09:00
ExpandableBinaryDictionary.java Cleanup the dictionary type. 2012-06-27 17:31:09 +09:00
ExpandableDictionary.java Add input pointers 2012-06-29 18:58:51 +09:00
FileTransforms.java
ImfUtils.java Check duplicated entry of "custom input style" 2012-05-17 20:20:41 +09:00
InputAttributes.java Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified 2012-05-08 13:20:39 +09:00
InputPointers.java Add input pointers 2012-06-29 18:58:51 +09:00
InputTypeUtils.java Cleanup InputTypeCompatUtils to InputTypeUtils 2012-04-03 17:42:19 +09:00
InputView.java
JniUtils.java
LastComposedWord.java Add input pointers 2012-06-29 18:58:51 +09:00
LatinIME.java Remove a duplicate method (A36) 2012-07-02 12:12:16 +09:00
LatinImeLogger.java Update the prototype of onAddSuggestedWord - calling side. 2012-06-27 16:17:14 +09:00
LocaleUtils.java Fix "no language" subtype name (DO NOT MERGE) 2012-04-26 11:50:28 +09:00
NativeUtils.java Add NativeUtils.powf() 2012-06-08 20:46:19 +09:00
ResearchLogger.java Update log and make a variable private (A35). 2012-07-02 12:11:27 +09:00
RichInputConnection.java Refactoring and groundwork to fix a bug with older apps 2012-06-25 16:32:25 +09:00
Settings.java Remove "Key popup dismiss delay" when "Popup on keypress" is suppressed 2012-06-26 00:40:53 +09:00
SettingsActivity.java Add custom subtype settings 2012-04-19 19:33:51 +09:00
SettingsValues.java Remove a useless parameter (A29) 2012-06-29 17:00:56 +09:00
StaticInnerHandlerWrapper.java
StringUtils.java fix IllegalOutOfBoundsException 2012-06-25 22:40:56 -07:00
SubtypeLocale.java Keep subtypes in method.xml the same as pre-JellyBean 2012-06-28 13:44:09 +09:00
SubtypeSwitcher.java Check duplicated entry of "custom input style" 2012-05-17 20:20:41 +09:00
Suggest.java Clarify some code and fix a bug (A41) 2012-07-02 15:46:03 +09:00
SuggestedWords.java Make the autocorrection scheme more straightforward (A37) 2012-07-02 15:45:34 +09:00
SuggestionSpanPickedNotificationReceiver.java
SynchronouslyLoadedContactsBinaryDictionary.java Cleanup the dictionary type. 2012-06-27 17:31:09 +09:00
SynchronouslyLoadedUserBinaryDictionary.java Remove the callback argument to getWords() (A15) 2012-06-26 17:36:47 +09:00
TargetApplicationGetter.java Fix a possible NPE. 2012-05-31 19:33:39 +09:00
UserBinaryDictionary.java Move constants to a better place. 2012-06-27 18:08:08 +09:00
UserHistoryDictionary.java Move constants to a better place. 2012-06-27 18:08:08 +09:00
UserHistoryDictionaryBigramList.java Cache UserHistoryDictionary for each language 2012-06-06 20:02:00 +09:00
UserHistoryForgettingCurveUtils.java Add NativeUtils.powf() 2012-06-08 20:46:19 +09:00
Utils.java Do away with Utils#addAllSuggestions (A14) 2012-06-26 17:36:47 +09:00
VibratorUtils.java
WhitelistDictionary.java Move constants to a better place. 2012-06-27 18:08:08 +09:00
WordComposer.java Add input pointers 2012-06-29 18:58:51 +09:00
WordListInfo.java
XmlParseUtils.java