aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix: NPE in DistracterFilterKeisuke Kuroyanagi2014-05-221-7/+9
| | | | Change-Id: I19a92d79cf547aae8f15e7e5fd5309812ae4f2d5
* Use enabled subtypes for Keyboard in DistracterFilter.Keisuke Kuroyanagi2014-05-212-51/+68
| | | | | | Bug: 13142176 Bug: 15094186 Change-Id: I142eeaa11f838080a4fc5a342155e5d470eab3d4
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-1/+1
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-1/+1
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-201-1/+1
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-192-18/+20
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Use dedicated DictionaryFacilitator for DistracterFilterKeisuke Kuroyanagi2014-05-173-10/+40
| | | | | Bug: 15002249 Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
* Merge "Revert "Use dedicated DictionaryFacilitator for DistracterFilter""Keisuke Kuroyanagi2014-05-163-50/+10
|\
| * Revert "Use dedicated DictionaryFacilitator for DistracterFilter"Keisuke Kuroyanagi2014-05-163-50/+10
| | | | | | | | | | | | This reverts commit 7122fe76e3ca48a12f1e069ee0c742788c1884b6. Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb
* | Merge "Use dedicated DictionaryFacilitator for DistracterFilter"Keisuke Kuroyanagi2014-05-163-10/+50
|\|
| * Use dedicated DictionaryFacilitator for DistracterFilterKeisuke Kuroyanagi2014-05-163-10/+50
| | | | | | | | | | Bug: 15002249 Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1
* | Fix: StringIndexOutOfBoundsException.Keisuke Kuroyanagi2014-05-162-3/+13
|/ | | | | Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
* Merge "Simplify StatsUtils"Yohei Yukawa2014-05-151-24/+5
|\
| * Simplify StatsUtilsYohei Yukawa2014-05-151-24/+5
| | | | | | | | | | | | | | | | | | | | | | With this CL, the implementation of StatsUtils no longer needs to know how to read settings from the system. Insted, the LatinIME class is now responsible for notifying StatsUtils whenever the settings is changed. BUG: 14324207 Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
* | Fix off-device buildXiaojun Bi2014-05-142-14/+40
| | | | | | | | | | | | | | | | | | This CL fixed the breakage caused by DistracterFilter. It should be checked in together with I8f53e9481c0f Bug: 14911612 Bug: 13142176 Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5
* | Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()Xiaojun Bi2014-05-131-7/+2
|/ | | | | Bug: 14904706 Change-Id: I3b52bb01b9c59cbba2eba0bd1d91dffb4419c019
* Merge "Implement the distracter filter"Xiaojun Bi2014-05-132-5/+92
|\
| * Implement the distracter filterXiaojun Bi2014-05-132-5/+92
| | | | | | | | | | | | Bug: 13142176 Change-Id: I85a048cdcbbad3d6020a25f900250d8d7a0fe3da
* | Create the path for specifying combining rules in the subtypeJean Chalard2014-05-121-0/+4
|/ | | | | | | | Also add the skeleton of the combining rules for Myanmar reordering as a pilot. Bug: 13945569 Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43
* 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