aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestHelper.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete testsTadashi G. Takaoka2012-03-021-150/+0
| | | | Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb
* Cleanup redundant methods of KeyboardSetTadashi G. Takaoka2012-01-311-9/+8
| | | | Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
* Use KeyboardSet for unit testTadashi G. Takaoka2012-01-131-9/+5
| | | | Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-4/+2
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-181-4/+8
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-2/+4
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Stop a flag from escaping.Jean Chalard2011-12-091-10/+12
| | | | | | | The ultimate intent is to close it up in the settings, as it does not change while typing, only when the keyboard is open again. Change-Id: I12ff56e7482c1584877fe5531473bf03e95a60f6
* Get rid of usage of key indexTadashi G. Takaoka2011-11-291-1/+0
| | | | Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f
* Resume suggestion when backspacing to the end of a wordJean Chalard2011-11-291-18/+1
| | | | | Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50
* Fix a bug with the whitelistJean Chalard2011-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This bug would kill the case where the whitelist contains a word to be autocorrected to an uppercased version of itself, and the user would enter the uppercase version. In this case, this bug would cause the typed word to be killed off the list of candidates, and possibly autocorrected to the *next* candidate. When the whitelist checks whether this the typed word is a candidate for whitelisting, this change has it check whether the whitelisting results in the typed word before returning. Hence, it can keep the case-insensitive behavior of the whitelist. Coincidentally, this change renames the method used to do this, because it does not comply with the general contract of Dictionary. This happens to be in the way of another upcoming change. Bug: 5420371 Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
* Make the whitelist an instanciable class.Jean Chalard2011-10-061-3/+5
| | | | | | | | This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
* Remove code related to AutoTextsatok2011-10-031-9/+8
| | | | | | Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
* Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-041-9/+16
| | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* Cleanup Keyboard related code and rename some classesTadashi G. Takaoka2011-08-021-6/+4
| | | | | | | This is a follow up change of I90ffbde0 Bug: 5023981 Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-3/+3
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Move key hysteresis distance parameter to KeyDetector classTadashi G. Takaoka2011-07-041-2/+2
| | | | | Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
* Move Key class out of internal packageTadashi G. Takaoka2011-06-231-1/+1
| | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-221-1/+1
| | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Reload keyboard after SoftInputWindow size changedTadashi G. Takaoka2011-05-201-2/+2
| | | | | Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
* Move language-specific keyboard setting to resources.Jean Chalard2011-04-201-1/+1
| | | | | | | | | | | | | | Some flag settings used to be stored in a keyboard layout extravalue setting. This change: - Introduces the capability of setting such specific flags in values/config.xml - Retains the ability to use extravalues (for layout-specific settings), though there is no more any such setting at the moment. - Fixes a bug where loading a dictionary from outside does not initialize the flags. - Moves Flag to another class. Note: this needs I705ec68c to avoid breaking the build Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
* Refactoring keyboard drawing code and KeyDetectorTadashi G. Takaoka2011-04-151-3/+2
| | | | Change-Id: I55009bf38b1422301223bd90463f837562559dc5
* Auto mini keyboard layoutTadashi G. Takaoka2011-04-151-1/+1
| | | | | Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
* Add different ways of reading the dictionary file.Jean Chalard2011-03-181-1/+3
| | | | | | | | | | | | | | | | | | This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
* Refactor BinaryDictionary a bitTadashi G. Takaoka2011-03-161-1/+1
| | | | | | | | | This changes: * Flag initialization code in BinaryDictionary to be more unit test friendly. * Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives. * Formatting normalized score neatly. Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
* Add whitelist dictionarysatok2011-03-081-1/+2
| | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* Fix unit test helperTadashi G. Takaoka2011-03-031-0/+1
| | | | Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
* Add proximity info to nativesatok2011-02-231-4/+4
| | | | | | Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
* Add method to retreive suggestions from SuggestionHelperTadashi G. Takaoka2011-02-141-0/+5
| | | | | Bug: 3414081 Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f
* Reorganize suggestion related unit testTadashi G. Takaoka2011-02-141-146/+74
| | | | | Bug: 3414081 Change-Id: Ie98c7935b25d17f1547955f8fb6ba2c5c1edb997
* Move and rename computeProximityThresholdTadashi G. Takaoka2011-02-081-1/+1
| | | | | | | | | | | Move and rename KeyboardView.computeProximityThreshold to KeyDetector.getMostCommonKeyWidth. And make it public for unit test use. This is a part of multi-project change (If751659a, Idb18f362) Bug: 3414081 Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
* Fix build breakageTadashi G. Takaoka2011-01-211-2/+2
| | | | Change-Id: I055d23c912f297c1958da0ba2c40b1d0843ff915
* Load main dic in nativeKen Wakasa2011-01-071-37/+3
| | | | | | | Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
* Fix auto correction threshold values array referenceTadashi G. Takaoka2010-12-131-8/+8
| | | | | | This change also removes unused argument from Suggest.getSuggestions(). Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
* Introduce SuggestedWords class to represent suggestions listTadashi G. Takaoka2010-12-121-10/+10
| | | | Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-9/+0
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* -UserBigramJae Yong Sung2010-08-101-0/+268
-UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516