aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use DistracterFilter when getting Language Model Param of a wordXiaojun Bi2014-05-072-10/+18
| | | | | | | | | | A preparation for implementing Distracter Filter. This CL should be checked in together with Icfefa0463180 Bug: 13142176 Change-Id: If9e5ca840c4a81cb0339ab70f146b42fbfa7af5d
* Fix unit tests by adding @UsedFortesting.Keisuke Kuroyanagi2014-04-291-0/+3
| | | | Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
* Simplify asyncFlushBinaryDictionary.Keisuke Kuroyanagi2014-04-281-33/+0
| | | | | | | We no longer write files when the dict has not been updated. Bug: 8187060 Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095
* Merge "Prepare to implement distracter filter"Xiaojun Bi2014-04-251-0/+48
|\
| * Prepare to implement distracter filterXiaojun Bi2014-04-251-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was implemented according to the Plan B in the design doc: http://go/ime-misspelling-filter This CL is to create a DistracterFilter instance and pass it to PersonalizationDictionarySessionRegistrar. This patch should be checked in together with Id633b4fd45693 Bug: 13142176 Change-Id: Ia4957e64218c9619fcf9bb91795a187617c72a2e
* | Quit creating empty dictionary file in ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-221-0/+1
|/ | | | | Bug: 14166482 Change-Id: I7b7a25141851d7bb14744567639d8e5d8f04a036
* Stop using Configuration.setLocaleTadashi G. Takaoka2014-04-221-7/+7
| | | | | | | | The call for method Configuration.setLocale that is introduce by If60877b29b should be remove to be compatible with API 14 and later. Bug: 14239862 Change-Id: I3815c2b56bd9c655b8bde6f93143adf3ff08c35d
* Refactor RunInLocale a bitTadashi G. Takaoka2014-04-171-12/+10
| | | | Change-Id: If60877b29bb1263161ec85c99320ad07b7dd4245
* Shuwdown executors after executing all tasks.Keisuke Kuroyanagi2014-04-171-2/+7
| | | | | Bug: 14113276 Change-Id: Ie42ef30ffe5767ca434db4669efad2027b474e74
* Refactor SubtypeLocaleUtils a bitTadashi G. Takaoka2014-04-102-17/+27
| | | | Change-Id: If8b7fd5ef0b4ff3791deeacc12abb256a10176bf
* [CB25] Refactor some array copyingJean Chalard2014-04-091-2/+31
| | | | | Bug: 13406701 Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6
* Fix build breakage caused by I0218dd07Yohei Yukawa2014-04-081-1/+1
| | | | | BUG: 11746191 Change-Id: I0b693c4b22793f6e8fd77a9f045f205aa8fe4050
* Merge "Add StatsUtils for checking state"Yohei Yukawa2014-04-081-0/+53
|\
| * Add StatsUtils for checking stateYohei Yukawa2014-04-081-0/+53
| | | | | | | | | | BUG: 11746191 Change-Id: I0218dd07dde1d09321009ea1497258fc4235a1e8
* | Use platform default theme for activities and dialogsTadashi G. Takaoka2014-04-041-0/+34
|/ | | | | Bug: 13698528 Change-Id: Ib904c911452525e3749c0eb287434b504576db5f
* [CB17] Remove a member.Jean Chalard2014-04-021-8/+9
| | | | | Bug: 13406701 Change-Id: I2e271f637f6b529a4191a7adc5cdfa5af437761b
* Add SpacebarLanguageUtils classTadashi G. Takaoka2014-04-012-35/+61
| | | | | | | | The SpacebarLanguageUtils class is separated from SubtypeLocaleUtils and handles the language name on the spacebar. Bug: 8084704 Change-Id: I82f79a061d4f0cc2895263298c3ebf8ee444c61d
* Merge "Dictionary migration in Java side."Keisuke Kuroyanagi2014-03-281-0/+27
|\
| * Dictionary migration in Java side.Keisuke Kuroyanagi2014-03-271-0/+27
| | | | | | | | | | | | Bug: 13406708 Change-Id: If83938e4b4810d2e8353c70cdd8ef3ea97a29571
* | Merge "Stop displaying locale string on short space bar"Tadashi G. Takaoka2014-03-281-26/+17
|\ \
| * | Stop displaying locale string on short space barTadashi G. Takaoka2014-03-281-26/+17
| | | | | | | | | | | | | | | Bug: 12070355 Change-Id: I2d6fa20431bc56d5139caeac33e396b73906d075
* | | Fix: NPE after onDestroy().Keisuke Kuroyanagi2014-03-281-0/+6
|/ / | | | | | | | | Bug: 13671513 Change-Id: I06aa14870ff5422ad514356ee406600b247858c5
* | Merge "Move code only used for dicttool and tests under tests."Keisuke Kuroyanagi2014-03-272-83/+0
|\ \ | |/ |/|
| * Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi2014-03-272-83/+0
| | | | | | | | | | Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
* | Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi2014-03-253-50/+77
|/ | | | | | | | | | | Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
* Suppress important notice when its title message is emptyTadashi G. Takaoka2014-03-201-1/+12
| | | | | Bug: 13422608 Change-Id: Ied16e87381e82d8539269ddd90d737f80c2a94c0
* Merge "Separate WeightedString from FusionDictionary."Keisuke Kuroyanagi2014-03-071-1/+1
|\
| * Separate WeightedString from FusionDictionary.Keisuke Kuroyanagi2014-03-061-1/+1
| | | | | | | | | | | | Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
* | Add ActualKeyboardBuilder for testing keyboard layoutsTadashi G. Takaoka2014-03-071-0/+40
| | | | | | | | | | Bug: 13017434 Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf
* | Merge "Use BinaryDictionaryUtils to read dictionary header."Keisuke Kuroyanagi2014-03-062-2/+42
|\|
| * Use BinaryDictionaryUtils to read dictionary header.Keisuke Kuroyanagi2014-03-052-2/+42
| | | | | | | | | | | | Bug: 8187060 Bug:13035567 Change-Id: I90a5e0665c367f5a1bd786f4babf0d03e79e68fa
* | Merge "Separate utility methods from BinaryDictionary."Keisuke Kuroyanagi2014-03-052-4/+88
|\|
| * Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-052-4/+88
| | | | | | | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* | Add additional subtypes testTadashi G. Takaoka2014-03-031-0/+2
|/ | | | Change-Id: I2994fd72bc284c84757f5a2bfa8045aa574a8fbc
* Use NOT_A_PROBABILITY for adding OOV words.Keisuke Kuroyanagi2014-02-261-3/+3
| | | | | Bug: 13197276 Change-Id: I23f453c2c1deea70eab552f8d433fe264adf68b3
* Create a utils class for executors.Jean Chalard2014-02-241-0/+55
| | | | | | | Preliminary refactoring to fix Bug: 13082957 Change-Id: I9f1283c37089bc96140b774b1c559d58031de004
* Support versioned important noticeTadashi G. Takaoka2014-02-211-14/+14
| | | | | | | This change must be checked in together with If38a754d00. Bug: 10587358 Change-Id: I91580f9468bc5ee7ed1694d7852a60dc6793dac0
* Change important notice version preference fileTadashi G. Takaoka2014-02-201-11/+20
| | | | | | | This CL also reset the notice version to 1. This CL must be checked in together with Iea8d9ff038. Change-Id: I838f7b5b295388d64d6aba90f50b06654eba16e5
* Turn personalization on when important notice dialog is displayedTadashi G. Takaoka2014-02-191-1/+20
| | | | | | | This change must be checked in together with Ifde70b1d3b. Bug: 10587358 Change-Id: I9dc48f9d521e0e6f6269e4f184389ba805f3053f
* Don't resume suggestion on links.Jean Chalard2014-02-172-2/+17
| | | | | Bug: 11447084 Change-Id: I5bd558b9dd85d1505aa918f44e8ac3e52ec42d97
* Don't show important notice on password fieldTadashi G. Takaoka2014-02-171-3/+11
| | | | | Bug: 10587358 Change-Id: Ieff7960e5e2b8609fddeb173af578a5d9b2c4d98
* Show the suggestion strip for the important noticeJean Chalard2014-02-121-3/+4
| | | | | Bug: 10587358 Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4
* Fix possible NPE while finding device override value from resourceTadashi G. Takaoka2014-02-101-41/+7
| | | | | Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
* Add debug settings for keypress popup animationsTadashi G. Takaoka2014-02-071-0/+4
| | | | | Bug: 12928125 Change-Id: I49faab754c7d1dcf4a791dfc535d3a78b62ce67a
* Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-061-3/+3
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* Use CombinedFormatUtils to convert dict elements to strings.Keisuke Kuroyanagi2014-02-061-0/+99
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ib631f75eab73abc9877a7698171c45e8f2fc7600
* Consolidate WordProperty and Word.Keisuke Kuroyanagi2014-02-061-127/+0
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5
* Make WeightedString have ProbabilityInfo.Keisuke Kuroyanagi2014-02-051-2/+2
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a
* Separate ProbabilityInfo form WordProperty.Keisuke Kuroyanagi2014-02-051-24/+9
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: I0c77d976c915bdf2a2cddabd0cbedc2fb6691c7b
* Add a utility method to StringUtils.Keisuke Kuroyanagi2014-02-042-17/+24
| | | | | Bug: 12810574 Change-Id: I607803e924b9e99855df7690e67488b2861c120e