LatinIME/java/src/com/android/inputmethod/latin
Jean Chalard 4370ff0998 Fix some flaky tests.
In tests, we create many instances of LatinIME, but we never
destroy them. That means we never close the dictionaries nor
the handlers.
This change calls onDestroy, which closes all dictionaries, and
adds some code to finish the handlers.

Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
2014-04-10 17:32:05 +09:00
..
about Fix the security related API change for PreferenceActivity 2013-10-09 02:59:32 -07:00
debug Use platform default theme for activities and dialogs 2014-04-04 17:13:54 +09:00
define Add a new production flag for Cursor/Anchor monitor 2014-04-09 21:13:34 +09:00
inputlogic Fix some flaky tests. 2014-04-10 17:32:05 +09:00
makedict Fix unit tests by adding @UsedForTesting. 2014-03-28 15:02:00 +09:00
personalization Always close binary dicts for personalized dicts. 2014-04-03 18:08:23 +09:00
settings Use platform default theme for activities and dialogs 2014-04-04 17:13:54 +09:00
setup Revert "Use ViewCompat support library" 2014-01-27 18:14:40 +09:00
spellcheck Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
suggestions Remove unused argument in SuggestionStripLayoutHelper 2014-03-20 11:06:55 +09:00
userdictionary Remove a call to a deprecated method 2014-02-20 14:40:38 +09:00
utils [CB25] Refactor some array copying 2014-04-09 18:38:29 +09:00
AssetFileAddress.java Reset to 9bd6dac470 2013-12-13 17:13:32 +09:00
AudioAndHapticFeedbackManager.java Thin out audio and haptic feedback while key repeat 2013-08-14 18:37:58 +09:00
BackupAgent.java Fix Apache license comment 2013-01-21 22:23:37 +09:00
BinaryDictionary.java [CB25] Refactor some array copying 2014-04-09 18:38:29 +09:00
BinaryDictionaryFileDumper.java Straighten out database cursors behavior. 2014-02-18 19:58:23 +09:00
BinaryDictionaryGetter.java Use BinaryDictionaryUtils to read dictionary header. 2014-03-05 19:42:53 +09:00
Constants.java [IL122] Put the code, x and y in the transaction 2014-03-06 12:50:07 +09:00
ContactsBinaryDictionary.java Always close binary dicts for personalized dicts. 2014-04-03 18:08:23 +09:00
Dictionary.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
DictionaryCollection.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
DictionaryDumpBroadcastReceiver.java Add dictionary dump buttons in debug settings. 2014-02-04 21:29:09 +09:00
DictionaryFacilitatorForSuggest.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
DictionaryFactory.java Reset to 9bd6dac470 2013-12-13 17:13:32 +09:00
DictionaryPackInstallBroadcastReceiver.java Move util classes to the latin/utils directory 2013-06-24 17:04:40 +09:00
DicTraverseSession.java Change cache capacity depending on the dictionary size. 2013-09-12 18:47:56 +09:00
ExpandableBinaryDictionary.java Always close binary dicts for personalized dicts. 2014-04-03 18:08:23 +09:00
ImportantNoticeDialog.java Use platform default theme for activities and dialogs 2014-04-04 17:13:54 +09:00
InputAttributes.java Merge "Refactor InputAttributes a bit" 2014-02-18 02:25:46 +00:00
InputPointers.java Check timestamp for each pointer. 2014-02-04 14:04:26 +09:00
InputView.java Stop overriding InputView.dispatchTouchEvent 2014-02-17 19:51:47 +09:00
LastComposedWord.java Revert "[CB15] Remove a redundant variable." 2014-03-27 09:43:45 +00:00
LatinIME.java Fix some flaky tests. 2014-04-10 17:32:05 +09:00
LatinImeLogger.java Clean up PREF_USABILITY_STUDY_MODE 2013-03-04 12:05:03 -08:00
PunctuationSuggestions.java Add PunctuationSuggestions class 2014-02-14 14:13:39 +09:00
ReadOnlyBinaryDictionary.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
RichInputConnection.java Rework the logic that tells if the cursor touches words 2014-03-20 23:16:53 +09:00
RichInputMethodManager.java Fix InputMethodInfo cache in RichInputMethodManager 2014-03-03 23:36:35 +09:00
SubtypeSwitcher.java Remove country name from space bar text when appropriate 2014-04-02 12:50:52 +09:00
Suggest.java [CB14.5] Stop copying WordComposers. 2014-03-28 15:26:27 +09:00
SuggestedWords.java [IL111] Remove a member. 2014-03-04 14:31:47 +09:00
SuggestionSpanPickedNotificationReceiver.java Clean up SuggestionSpanUtils for API level 14+ 2012-12-17 19:41:44 +09:00
SynchronouslyLoadedContactsBinaryDictionary.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
SynchronouslyLoadedUserBinaryDictionary.java Add languageWeight as an argument of getSuggestions. 2014-04-03 00:47:28 +09:00
UserBinaryDictionary.java Remove unused method. 2014-03-27 17:46:38 +09:00
WordComposer.java [CB25] Refactor some array copying 2014-04-09 18:38:29 +09:00
WordListInfo.java Fix Apache license comment 2013-01-21 22:23:37 +09:00