aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove EditorInfo from KeyboardId•••Change-Id: I70919ff30622afa1d8c29ca45589fa617f2c1f0e Tadashi G. Takaoka2011-12-141-2/+1
* Cleanup settings key related stuff•••Change-Id: Ie0d1204e94fcdf9d578974256bf2ae3e87797f13 Tadashi G. Takaoka2011-12-141-1/+1
* Merge "Utilize KeyboardSet XML definitions"Tadashi G. Takaoka2011-12-131-4/+3
|\
| * Utilize KeyboardSet XML definitions•••This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86 Tadashi G. Takaoka2011-12-141-4/+3
* | Reorganize LatinIME native build directory structure. Now it got NDK friendly.•••Change-Id: I0f62ce8a6a4d2b6134db698f8b8d0576616e524d Ken Wakasa2011-12-131-0/+14
|/
* Add unit test of KeyboardState•••Bug: 5708602 Change-Id: I1a8a9f4320948bb500a96df8773b0bfa1a1d4167 Tadashi G. Takaoka2011-12-121-0/+260
* 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-092-12/+15
* 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-064-9/+14
* Remove code related to AutoText•••Bug: 5245751 Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41 satok2011-10-032-10/+9
* Rename PopupCharactersParser to MoreKeySpecParser•••Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926 Tadashi G. Takaoka2011-08-311-9/+9
* Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e Jean Chalard2011-08-291-2/+2
* Refactor and rename popup mini keyoard related classes•••Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc Tadashi G. Takaoka2011-08-231-2/+2
* Code cleanup•••Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf Ken Wakasa2011-08-162-158/+0
* 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-042-10/+17
* 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-022-83/+81
* 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
* Add orientation to regression tests•••Change-Id: Iaf2cb7841c4622eedeb4bf880d55988bfa61e823 Tadashi G. Takaoka2011-08-014-10/+25
* Remove enableShiftLock attribute from KeyboardId•••This change is a follow up of Ia72de236. Bug: 4311428 Change-Id: I0ad0f1fb93545ceb40df8dffe377240b020c2602 Tadashi G. Takaoka2011-07-281-1/+1
* Remove swipe gesture•••Bug: 4971680 Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7 Tadashi G. Takaoka2011-07-081-154/+0
* Move key hysteresis distance parameter to KeyDetector class•••Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34 Tadashi G. Takaoka2011-07-041-2/+2
* Remove top padding parameter from MiniKeyboardBuilder constructor•••To keep unit test simple, instead of specifying top padding in the constructor, make separate setter for it. Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062 Tadashi G. Takaoka2011-07-021-75/+75
* Add top padding to mini keyboard•••Because Key only has bottom padding, to make mini keyboard vertically symmetric and looks nicer, we should add mini keyboard top padding that equals to Key bottom padding (a.k.a. vertical gap). Change-Id: Icceb687d50edfa48e0f0830a60a1e230836c982f Tadashi G. Takaoka2011-07-011-75/+75
* Merge "Fix "Show settings key" option on 7" device"Tadashi G. Takaoka2011-06-231-1/+1
|\
| * Fix "Show settings key" option on 7" device•••Cherry-pic I993ac772 from Honeycomb-MR2. Bug: 4586882 Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05 Tadashi G. Takaoka2011-06-241-1/+1
* | Move Key class out of internal package•••Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c Tadashi G. Takaoka2011-06-231-1/+1
|/
* Remove colorScheme attribute from KeyboardView•••Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918 Tadashi G. Takaoka2011-06-221-5/+4
* Move icon declaration to Keyboard theme•••Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3 Tadashi G. Takaoka2011-06-221-135/+146
* Move keyboard related internal class to separate package•••Change-Id: Ic1459066b865cde5104b3734193f76c997959c68 Tadashi G. Takaoka2011-06-225-7/+9
* Add ArraysCompatUtils.binarySearch•••Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee Tadashi G. Takaoka2011-06-211-0/+103
* Fix arguments order of KeyboardId constructor•••Change-Id: I0b958f10e2146a3a70c9c0643f62ad48ae472631 Tadashi G. Takaoka2011-05-251-1/+1
* Merge "Reload keyboard after SoftInputWindow size changed"Tadashi G. Takaoka2011-05-202-4/+5
|\
| * Reload keyboard after SoftInputWindow size changed•••Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2 Tadashi G. Takaoka2011-05-202-4/+5
* | Show full display names in the popup of the spacebar language swicher•••- Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d satok2011-05-181-1/+3
|/
* Use user-history bigrams when no input if available.•••This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15 Jean Chalard2011-04-221-0/+67
* 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-152-207/+1311
* 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 createKeyboardId helper method•••Change-Id: Ibb356e95e4acd965a0dfbf695de1cebcefc5cd9e Tadashi G. Takaoka2011-02-254-8/+13
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-4/+4
* Add "passwordInput" attribute to case tag of Keyboard•••This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18 Tadashi G. Takaoka2011-02-201-3/+4
* Fix unit test failure•••Change-Id: I6814986f04a0cdf91837cfa60c7eca81a687236b Tadashi G. Takaoka2011-02-201-3/+3
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-1/+1
* Add method to retreive suggestions from SuggestionHelper•••Bug: 3414081 Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f Tadashi G. Takaoka2011-02-141-0/+5