aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix native method signatureTadashi G. Takaoka2014-01-151-1/+3
| | | | Change-Id: Ia2d566f162f746c6b2b2b874f7278d86abd9e839
* Refactor LanguageModelParam class a bitTadashi G. Takaoka2014-01-151-0/+113
| | | | | | This change must be checked in together with I9ecfd1adc1. Change-Id: I26f8c17d6347b75dba6abb3d73239f4052327dae
* Consolidate LanguageModelParam constructorsTadashi G. Takaoka2014-01-151-11/+2
| | | | Change-Id: I142651d1f268456a5901da524cbe55d315f76d28
* Move LanguageModelParams class to utility packageTadashi G. Takaoka2014-01-151-0/+65
| | | | | | This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29
* Fix build.Jean Chalard2014-01-102-26/+28
| | | | Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7
* Passing SpacingAndPunctuations to StringUtils.looksValidForDictionaryInsertionTadashi G. Takaoka2014-01-091-6/+3
| | | | | | This change must be checked in together with Iec437d6df0. Change-Id: Idf745b8870965f3bdf690de7ff3b22f83f6204bf
* Passing SpacingAndPunctuations to CapsModeUtils.getCapsModeTadashi G. Takaoka2014-01-091-7/+7
| | | | Change-Id: I0b06e8cc75a403f7061864c5b7f3f6a2cacd60eb
* Add American typography boolean to SpacingAndPunctuationsTadashi G. Takaoka2014-01-091-2/+1
| | | | Change-Id: Ic2663eaef38fbe7c5bd1fb3a81771e94c2d4de52
* Revert "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-081-3/+3
| | | | | | This reverts commit 8bc427799a9b7a53103d1edba4a447033fbd8cfa. Change-Id: I34f509998afdb1a7c120fbfdb9f0a1b188224a4d
* Merge "Revert "Separate spacing and punctuation related settings values""Jean Chalard2014-01-081-3/+3
|\
| * Revert "Separate spacing and punctuation related settings values"Jean Chalard2014-01-081-3/+3
| | | | | | | | | | | | | | | | This is conflicting with later changes. Temporary revert for cherry-pick. This reverts commit 0b593ce858d4b406e949f0e809cb77f41da691f9. Change-Id: Id53eadb023a950cfcca496c0cfbfe583c7ec7b8c
* | Rename InputPointers.addPointer and ResizableIntArray.addTadashi G. Takaoka2014-01-081-2/+1
| | | | | | | | Change-Id: I5580250c91b29f93ed886b080ce33845b3b67ace
* | Fix ResizableIntArrayTests readabilityTadashi G. Takaoka2014-01-081-0/+1
|/ | | | Change-Id: I68862b98f228210f1d76fef4fd7454edbfd8e01d
* Separate spacing and punctuation related settings valuesTadashi G. Takaoka2014-01-081-3/+3
| | | | | Bug: 12179576 Change-Id: Ibafd824a0ea2251843b388e95dcbd8f9bca92d5c
* Fix possible NPE.Keisuke Kuroyanagi2014-01-061-1/+10
| | | | | Bug: 11933670 Change-Id: Ib0ce853e691bdadffb73874ea9f188cfbec8bc93
* Fix possible NPE in FileUtils.Keisuke Kuroyanagi2013-12-271-2/+8
| | | | Change-Id: I503f91e266c71e2370a5807d171e2254c334f7cb
* Move dict operations to Suggest.Keisuke Kuroyanagi2013-12-251-47/+0
| | | | | | Bug: 8187060 Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160
* Remove personalized dicts when the option is turned off.Keisuke Kuroyanagi2013-12-251-0/+15
| | | | | | Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
* [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-201-8/+6
| | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* [IL15] Some small refactoringJean Chalard2013-12-201-1/+1
| | | | | Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
* Fix a bug with languages without spaces and predictionsJean Chalard2013-12-161-0/+18
| | | | | | This is simpler and more correct. Change-Id: I41806d2fc12b4ca25f76e32972b38f91f3d05c2b
* Instead of ignoring PARAGRAPH spans, fix them.Jean Chalard2013-12-131-2/+7
| | | | | | | | I don't know what or when this flag is set, but it's only bad news. Luckily, we can just remove it. Bug: 12119393 Change-Id: I2952138c8ce517535b91e0fe25d2cf4960e02862
* Merge "Remove code for forgetting curve in Java side."Keisuke Kuroyanagi2013-12-131-242/+0
|\
| * Remove code for forgetting curve in Java side.Keisuke Kuroyanagi2013-12-131-242/+0
| | | | | | | | Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
* | Merge "Remove flags from Java side."Jean Chalard2013-12-131-2/+1
|\ \ | |/ |/|
| * Remove flags from Java side.Jean Chalard2013-12-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
| * Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-1315-186/+378
| | | | | | | | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* | Make ExpandableBinaryDictionary usable for offdevice tests.Keisuke Kuroyanagi2013-12-131-0/+1
| | | | | | | | | | Bug: 11956652 Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
* | Remove dependency from StringUtils to JsonJean Chalard2013-12-122-74/+103
| | | | | | | | Change-Id: I2a89497fb9ec12a37ba09f4598742e88f6700576
* | Merge "Rename deprecated locale directories"Tadashi G. Takaoka2013-12-111-4/+6
|\ \
| * | Rename deprecated locale directoriesKen Wakasa2013-12-111-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | cf. Ibe392f5f9dbc82c3cdff8e06b958bc3bcce3fa82 Also, cf. bug id 11340849 Change-Id: I43e84f8ca04eb1aa74037a705970a36434429a0f
* | | Fix typos.Jean Chalard2013-12-111-6/+6
|/ / | | | | | | | | | | One of these cost me a day and a half searching for a bug :( Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
* | Merge "[RF4] Actually remove ver4 dicts"Jean Chalard2013-12-061-0/+33
|\ \
| * | [RF4] Actually remove ver4 dictsJean Chalard2013-12-061-0/+33
| | | | | | | | | | | | | | | | | | | | | And fix a couple bugs. Bug: 11281748 Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
* | | Add a jni method to fetch unigram information.Keisuke Kuroyanagi2013-12-061-0/+82
|/ / | | | | | | | | | | Bug: 11956652 Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
* | Merge "Fix some more tests"Jean Chalard2013-12-021-5/+5
|\ \
| * | Fix some more testsJean Chalard2013-12-021-5/+5
| | | | | | | | | | | | | | | | | | Bug: 11960453 Bug: 11954718 Change-Id: I71e98cc6ab30cc89e921e9ef578d7f6366049d01
* | | Merge "Add config_ prefix to the resource names merged from dimens.xml"Tadashi G. Takaoka2013-12-021-4/+4
|\ \ \ | |/ / |/| |
| * | Add config_ prefix to the resource names merged from dimens.xmlTadashi G. Takaoka2013-12-021-4/+4
| | | | | | | | | | | | Change-Id: I6fb11b8cb52c06b805fb17d61450d7df50e4e20d
* | | Quit recording LastUserHistoryWriteTime.Keisuke Kuroyanagi2013-12-021-37/+0
|/ / | | | | | | Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
* | Rename StaticInnerHandlerWrapper to LeakGuardHandlerWrapperTadashi G. Takaoka2013-11-291-10/+10
| | | | | | | | Change-Id: I024f0ee9c7f7718afc8a4ca0c6c49f2e88b035ad
* | Merge "Remove compiler warnings from emoji related code"Tadashi G. Takaoka2013-11-271-30/+36
|\ \
| * | Remove compiler warnings from emoji related codeTadashi G. Takaoka2013-11-271-30/+36
| | | | | | | | | | | | Change-Id: I88ed0d25bee87c4dabcbc425589215b901345908
* | | Small optimizations for single code point stringsKen Wakasa2013-11-271-1/+1
|/ / | | | | | | Change-Id: I299c7622db291ea411e2b48dfdb622b407912ea6
* | Fix additional subtype id calculationTadashi G. Takaoka2013-11-142-22/+26
| | | | | | | | | | Bug: 11678247 Change-Id: I4a2061fae264473e1ebff6961aa897367ef9cc09
* | Add StringUtils.joinCommaSplittableTextTadashi G. Takaoka2013-11-141-4/+22
| | | | | | | | Change-Id: I80ad9d8b5aee53f1403486a56ffae8d09cbd4e28
* | Move reference char/digit width/height method to TypefaceUtilsTadashi G. Takaoka2013-11-071-11/+25
| | | | | | | | Change-Id: I3c94c23c31b273a07e145d381587ab0aa4ee8e68
* | Fix possible RuntimeException in parsing saved addtional subtypesTadashi G. Takaoka2013-11-061-12/+21
| | | | | | | | | | Bug: 11488129 Change-Id: I91f333aee9f3ae8d4b1d5e67d47de30f361947f3
* | Merge "Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting."Keisuke Kuroyanagi2013-10-291-0/+1
|\ \
| * | Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting.Keisuke Kuroyanagi2013-10-281-0/+1
| | | | | | | | | | | | Change-Id: I1bfeeafa002496bb98a385b87437e7f4eb0f6e1d