aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/SuggestHelper.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove obsolete tests•••Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb Tadashi G. Takaoka2012-03-021-150/+0
* Cleanup redundant methods of KeyboardSet•••Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d Tadashi G. Takaoka2012-01-311-9/+8
* Use KeyboardSet for unit test•••Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2 Tadashi G. Takaoka2012-01-131-9/+5
* Move KeyboardBuilder and KeyboardParams classes into Keyboard class•••This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614 Tadashi G. Takaoka2011-12-181-4/+2
* Remove LatinKeyboard class•••Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81 Tadashi G. Takaoka2011-12-181-4/+8
* Move KeyboardSwitcher.getKeyboard to KeyboardSet•••This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404 Tadashi G. Takaoka2011-12-161-2/+4
* Stop a flag from escaping.•••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 Jean Chalard2011-12-091-10/+12
* Get rid of usage of key index•••Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f Tadashi G. Takaoka2011-11-291-1/+0
* Resume suggestion when backspacing to the end of a word•••Bug: 5515381 Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50 Jean Chalard2011-11-291-18/+1
* Fix a bug with the whitelist•••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 Jean Chalard2011-10-071-1/+1
* Make the whitelist an instanciable class.•••This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754 or it will break the build Bug: 5402436 Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a Jean Chalard2011-10-061-3/+5
* Remove code related to AutoText•••Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41 satok2011-10-031-9/+8
* Create a way to pass the proximity info to the dictionary•••This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7 Jean Chalard2011-08-041-9/+16
* Cleanup Keyboard related code and rename some classes•••This is a follow up change of I90ffbde0 Bug: 5023981 Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e Tadashi G. Takaoka2011-08-021-6/+4
* Make Keyboard object immutable except shift state•••This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904 Tadashi G. Takaoka2011-08-011-3/+3
* Move key hysteresis distance parameter to KeyDetector class•••Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34 Tadashi G. Takaoka2011-07-041-2/+2
* Move Key class out of internal package•••Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c Tadashi G. Takaoka2011-06-231-1/+1
* Move keyboard related internal class to separate package•••Change-Id: Ic1459066b865cde5104b3734193f76c997959c68 Tadashi G. Takaoka2011-06-221-1/+1
* Reload keyboard after SoftInputWindow size changed•••Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2 Tadashi G. Takaoka2011-05-201-2/+2
* Move language-specific keyboard setting to resources.•••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 Jean Chalard2011-04-201-1/+1
* Refactoring keyboard drawing code and KeyDetector•••Change-Id: I55009bf38b1422301223bd90463f837562559dc5 Tadashi G. Takaoka2011-04-151-3/+2
* Auto mini keyboard layout•••Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66 Tadashi G. Takaoka2011-04-151-1/+1
* Add different ways of reading the dictionary file.•••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 Jean Chalard2011-03-181-1/+3
* Refactor BinaryDictionary a bit•••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 Tadashi G. Takaoka2011-03-161-1/+1
* Add whitelist dictionary•••Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f satok2011-03-081-1/+2
* Fix unit test helper•••Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c Tadashi G. Takaoka2011-03-031-0/+1
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-4/+4
* Add method to retreive suggestions from SuggestionHelper•••Bug: 3414081 Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f Tadashi G. Takaoka2011-02-141-0/+5
* Reorganize suggestion related unit test•••Bug: 3414081 Change-Id: Ie98c7935b25d17f1547955f8fb6ba2c5c1edb997 Tadashi G. Takaoka2011-02-141-146/+74
* Move and rename computeProximityThreshold•••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 Tadashi G. Takaoka2011-02-081-1/+1
* Fix build breakage•••Change-Id: I055d23c912f297c1958da0ba2c40b1d0843ff915 Tadashi G. Takaoka2011-01-211-2/+2
* Load main dic in native•••Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66 Ken Wakasa2011-01-071-37/+3
* Fix auto correction threshold values array reference•••This change also removes unused argument from Suggest.getSuggestions(). Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1 Tadashi G. Takaoka2010-12-131-8/+8
* Introduce SuggestedWords class to represent suggestions list•••Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46 Tadashi G. Takaoka2010-12-121-10/+10
* Remove Tutorial class and unused debug feature•••This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5 Tadashi G. Takaoka2010-12-101-9/+0
* -UserBigram•••-UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516 Jae Yong Sung2010-08-101-0/+268