aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix when to show important noticeTadashi G. Takaoka2014-09-221-0/+222
| | | | | | | | | | | | This CL introduces a timeout duration to show an important notice message. When the timeout has passed, the important notice message will be suppressed without user intervention. This CL also adds unit tests and fixes a bug in getNextImportantNoticeTitle(). Bug: 17181982 Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
* Fix a bug where recorrection would stop on connectorsJean Chalard2014-09-081-18/+22
| | | | | Bug: 16733686 Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
* Refactor action label/icon definitionsTadashi G. Takaoka2014-09-053-3/+29
| | | | | Bug: 15782668 Change-Id: Ibf1205d46e9293d516a56030ba10841128f57450
* Add unit tests for enter key's more keysTadashi G. Takaoka2014-09-043-0/+380
| | | | | Bug: 15681452 Change-Id: I3070c46bb2c0cb8ccaae66eaea132b41c567e135
* Add shared abstract test class for action label testTadashi G. Takaoka2014-09-033-154/+179
| | | | | Bug: 15681452 Change-Id: I0ad21e6979aed1b5c8c210399c4edfd5993adbdc
* Merge "Fix the order of keys on more keys keyboard" into lmp-devTadashi G. Takaoka2014-08-293-3/+2469
|\
| * Fix the order of keys on more keys keyboardTadashi G. Takaoka2014-08-293-3/+2469
| | | | | | | | | | | | | | | | | | | | This CL fixes the behavior of !autoColumnOrder!<n> flag in a more keys specification. Formerly the <n> value specifies the maximum number of column of more keys. With this CL, the <n> value specifies the exact number of column of more keys. Bug: 16603887 Change-Id: I2120620fa512ee30043bb146ad675a942a375129
* | Fix an IOOB exceptionJean Chalard2014-08-291-0/+10
|/ | | | | Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b
* Clear keyboard cache when system locale is changedTadashi G. Takaoka2014-08-281-4/+11
| | | | | Bug: 17310080 Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e
* Add action label tests in other locale than subtype'sTadashi G. Takaoka2014-08-283-122/+177
| | | | | | | This unit test can catch the bug: 17310080. Bug: 17310080 Change-Id: I931561217647fd558929b954ee1ef58c1d49df07
* Fix a bug where the top prediction would disappear.Jean Chalard2014-08-262-10/+11
| | | | | | | | | | This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
* Merge "Fix the bottom row of tablet keyboard layout" into lmp-devTadashi G. Takaoka2014-08-2519-88/+517
|\
| * Fix the bottom row of tablet keyboard layoutTadashi G. Takaoka2014-08-2519-88/+517
| | | | | | | | | | | | | | | | | | This CL eliminates "_" and "/" keys from the bottom row of tablet keyboard. This CL also reorganizes the bottom row of tablet Dvorak keyboard. Bug: 16603887 Change-Id: Ic1570836dea1a475bed5d43aeb6a351507bf5428
* | Indroduce SuggestedWords#getTypedWordInfoOrNullYohei Yukawa2014-08-241-21/+67
|/ | | | | | | This is a groundwork for subsequent CLs whith need to do certain things for and only for the typed word. Change-Id: I374b79cbc79470f57f523c996010301ea5701a61
* Support Accept typed word UITadashi G. Takaoka2014-08-221-0/+221
| | | | Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
* Add the input style to SuggestedWords.Jean Chalard2014-08-141-2/+4
| | | | Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
* Use light emoji icon for Material light tablet keyboardTadashi G. Takaoka2014-08-1410-135/+52
| | | | | Bug: 16808603 Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
* Add BuildCompatUtils to get an effective platfrom API versionTadashi G. Takaoka2014-08-131-3/+1
| | | | | | | This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT. Bug: 13888366 Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
* Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"Tadashi G. Takaoka2014-08-131-1/+3
| | | | | | This reverts commit 5380acfd04342b35289599f0bda3eaae1ddac642. Bug: 13888366 Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
* Remove reference of VERSION_CODES.CUR_DEVELOPMENTTadashi G. Takaoka2014-08-121-3/+1
| | | | | Bug: 13888366 Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
* (DO NOT MERGE) Disable Sinhala keyboard for L-releaseTadashi G. Takaoka2014-08-113-5/+5
| | | | | | | | This CL also disables Tamil (Sri Lanka) subtype in conjunction with Sinhala (Sri Lanka) subtype. Bug: 6911143 Bug: 9978106 Change-Id: I686b4e5d2c79039ca8d837d3227448d69c7e47de
* Fix Tamil keyboardTadashi G. Takaoka2014-08-116-24/+150
| | | | | | | | | This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes. This CL also fixes Sinhala Keyboard's currency symbol. Bug: 9978106 Bug: 6911143 Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
* Fix Kannada keyboardTadashi G. Takaoka2014-08-111-3/+4
| | | | | Bug: 10029252 Change-Id: I5ae056ca6ada4ffb921e9882bf57ad21a9bb4d47
* (DO NOT MERGE) Enable InScript keyboards for LTadashi G. Takaoka2014-08-118-15/+15
| | | | | | | | | | | | | | | | | | | | This CL enables the followin InScript keyboards for L-release. - Sinhala - Tamil - Bengali - Telugu - Marathi - Kannada - Malayalam Bug: 6911143 Bug: 9978106 Bug: 10028755 Bug: 10028759 Bug: 10028772 Bug: 10029252 Bug: 10417006 Change-Id: Id8962b429fbb58b5c2c90a65849af6a6fe84a8c9
* Rename distracter filter class.Keisuke Kuroyanagi2014-08-081-3/+3
| | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
* Use suggestions in the distracter filter.Keisuke Kuroyanagi2014-08-081-8/+54
| | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
* (DO NOT MERGE) Remove preliminary keyboards from LTadashi G. Takaoka2014-08-079-18/+18
| | | | Change-Id: I9e1209b80b8919669b4496102b967220ab16146b
* Merge "Revert "Introduce onEvent() to improve testability"" into lmp-devKen Wakasa2014-08-051-7/+3
|\
| * Revert "Introduce onEvent() to improve testability"Ken Wakasa2014-08-061-7/+3
| | | | | | | | | | | | | | | | This reverts commit ef74e737f580f7ac0b3bd70d6255dde3c87d9078. Apparently, this CL broke several unit tests. Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
* | Deactivate tests for MyanmarJean Chalard2014-08-061-0/+3
|/ | | | | | | | | They are pretty extensive already and require an implementation that works pretty well. However ours is based on an old architecture and updating them will take time, so for the time being it's best to just deactivate the tests. Change-Id: I649a220d13fc455b4306706bb964602c27a5a28c
* Introduce onEvent() to improve testabilityJean Chalard2014-08-061-3/+7
| | | | | | ...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
* Make dict log cleanup.Akifumi Yoshimoto2014-08-061-10/+3
| | | | | | Delete unneeded output when creating a dictionary Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179
* Clean up compatible utility classesTadashi G. Takaoka2014-08-041-1/+1
| | | | Change-Id: I95a682052037d292801477db0f05e04926b61412
* Make "Show correction suggestions" as a binary optionTadashi G. Takaoka2014-07-271-11/+9
| | | | | | | | | | | | Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
* Update Hindi Compact keyboard layoutTadashi G. Takaoka2014-07-191-2/+4
| | | | | Bug: 13779052 Change-Id: I350e5521b41d2a0b1cc17b6d4a48e6a816db916c
* Enable StringUtils to split CharSequence like String#splitYohei Yukawa2014-07-191-0/+170
| | | | | | | | | | | | This is a groundwork for enabling LocaleSpan. To enable LocaleSpan everywhere, we need to switch to CharSequence from String so that Span infromation can be preserved end-to-end. To achieve this, we need to have CharSequence version of String#split. BUG: 16029304 Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
* Clean up under the util package.Ken Wakasa2014-07-182-649/+0
| | | | | | | - Move util classes that are unused in AOSP - Remove unused methods Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
* Merge "Add some virama combinations and tall-a for Myanmar"Tadashi G. Takaoka2014-07-091-6/+38
|\
| * Add some virama combinations and tall-a for MyanmarTadashi G. Takaoka2014-07-091-6/+38
| | | | | | | | | | Bug: 7963632 Change-Id: I478ecdc3b7409ccd8dc729da28ad4816a2eda75e
* | Add Material Light themeTadashi G. Takaoka2014-07-101-22/+31
| | | | | | | | | | Bug: 15782668 Change-Id: Id2ae47cfb2065d73f13701b9c6a041129dfd08ae
* | Simplify the wrapper for TextInfo#getCharSequenceYohei Yukawa2014-07-091-1/+1
|/ | | | | | | | | This CL simplifies the wrapper method for TextInfo#getCharSequence() because in the almost all cases we want to use the result of TextInfo#getText() as the default value. BUG: 16029304 Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
* Merge "Fix test failur on pre-L devices"Yohei Yukawa2014-07-021-1/+2
|\
| * Fix test failur on pre-L devicesYohei Yukawa2014-07-091-1/+2
| | | | | | | | | | | | | | This is a follow up CL for Iafbf2877db393dbd040295c21d. BUG: 16029304 Change-Id: I0bfdcf901adb3178e6b9201d598ce9f588dcd253
* | Fix alphabet label of Kannada and TeluguTadashi G. Takaoka2014-07-092-8/+8
|/ | | | | | Bug: 10029252 Bug: 10028759 Change-Id: Iea9cc1b7cafa97280503b0236b005cea57ba2c3d
* Add Telugu keyboardTadashi G. Takaoka2014-07-093-1/+227
| | | | | Bug: 10028759 Change-Id: Id1bf030a9928124ead695aa7bf76db48ca58de4b
* Add Kannada keyboardTadashi G. Takaoka2014-07-093-1/+235
| | | | | Bug: 10029252 Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
* Merge "Add Malayalam keyboard"Tadashi G. Takaoka2014-07-023-1/+226
|\
| * Add Malayalam keyboardTadashi G. Takaoka2014-07-083-1/+226
| | | | | | | | | | Bug: 10417006 Change-Id: Ieb03fe1f08c85417b5d9ad4d62c8a5bc6d0632bc
* | Merge "Add a compatibility utility class for TextInfo"Yohei Yukawa2014-07-021-0/+85
|\ \ | |/ |/|
| * Add a compatibility utility class for TextInfoYohei Yukawa2014-07-081-0/+85
| | | | | | | | | | | | | | | | | | | | This is a groundwork for enabling LocaleSpan support in spell checker service. TextInfo#getCharSequence is supposed to be available in API Level 21 and later. We need some abstraction layer as usual. BUG: 16029304 Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f