summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/Keyboard.java
Commit message (Collapse)AuthorAgeFilesLines
* Create a new KeyboardLayout class to represent the layout.Mohammadinamul Sheik2015-01-301-0/+11
| | | | Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b
* Add null analysis annotations to keyboard packageTadashi G. Takaoka2014-11-271-4/+18
| | | | Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
* Move util classes under commonJean Chalard2014-11-071-1/+1
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* [ML13] Fix the locale passing in ProximityInfoJean Chalard2014-10-031-4/+3
| | | | | | | | | | | | | | | | | | | The locale is used to determine additional proximity characters. This is dependent on the dictionary language, but was passed as a function of the layout, which is wrong and would have given bad suggestions in multi-lingual mode. Ideally, additional proximity characters should be inserted in the dictionary header, but for now it's a rather simple change to get it from the dictionary's locale instead of the proximity info locale. Also, that allows us to remove completely the locale parameter from proximity info, which is a much needed change. This change has zero effect on unit tests and on regression tests. Bug: 11230254 Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-5/+4
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Remove unnecessarily getKeyFromOutputText method from KeyboardTadashi G. Takaoka2014-04-211-9/+0
| | | | Change-Id: I61986ed65ce6696a8b0d885bdeb9668e6087bc47
* Sort keys from top-left to bottom-right orderTadashi G. Takaoka2014-04-211-9/+17
| | | | Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
* Use unmodifiable list to return keys from KeyboardTadashi G. Takaoka2014-04-211-4/+4
| | | | Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
* Use unmodifiable list to return the nearest keysTadashi G. Takaoka2014-04-211-2/+2
| | | | Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12
* Stop using modifiable Key arrayTadashi G. Takaoka2014-04-211-5/+7
| | | | Change-Id: I0f3e96672da4261ae5628d2d5ea39d60e6287ac0
* [IL69.1] Move a static method to a utility class.Jean Chalard2014-01-241-0/+17
| | | | | | This is a followup to IL69. Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f
* Fix Emoji recentsSatoshi Kataoka2013-09-181-0/+9
| | | | | | Bug: 10538430 Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b
* Add GridRows tag to support emoji keyboardTadashi G. Takaoka2013-08-261-0/+9
| | | | | Bug: 6370846 Change-Id: Ia68284b2402e52d835040da900a51cca669add2f
* Add copy constructor to KeyboardTadashi G. Takaoka2013-08-261-3/+29
| | | | Change-Id: Ib207039f53346f420cca050080e3c4f452e63ff6
* Add getters and copy constructor to Key classTadashi G. Takaoka2013-08-151-2/+2
| | | | Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Remove "dimension|fraction" format from Key and Keyboard attributesTadashi G. Takaoka2013-01-301-5/+5
| | | | Change-Id: Ieec8b7f5ccdf2a57bcc539dcb5313b6353f926d7
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Cosmetic source code formating changeTadashi G. Takaoka2012-11-011-2/+0
| | | | Change-Id: I3a53b49afab70dfb13f12027070635da6001eb79
* Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-69/+2
| | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* Replace immediate values with named constants for characters (A6)Jean Chalard2012-09-141-0/+2
| | | | Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015
* Support per-Key and per-Keyboard key visual attributesTadashi G. Takaoka2012-08-311-13/+3
| | | | | | | This change refactors KeyDrawParams and KeyPreviewDrawParams to separate KeyVisualAttributes. Change-Id: I4de549eef303e1debe4b8f84668e042445fc18da
* Separate inner classes of keyboard package out under internal packageTadashi G. Takaoka2012-08-301-1114/+8
| | | | Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
* Optimize rare Key attributes to separate classTadashi G. Takaoka2012-08-301-2/+2
| | | | | | This change also removes per-Key verticalGap and horizontalGap. Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775
* Revert "Revert "Fix key letter size of 5-rows Thai keyboard""Tadashi G. Takaoka2012-08-301-0/+20
| | | | | | | This reverts commit 7a5ca9982fae2c17df4e597d2c54c81782946ed1. Depends: Ia4fa5046b3106e2710b9d5df1a6cc5f2cf995ec7 Change-Id: I0b9d0125380efe898943dc26ae884378145c44a3
* Revert "Revert "Move resource related methods to ResourceUtils""Tadashi G. Takaoka2012-08-291-69/+21
| | | | | | | This reverts commit bfc02a7005ab9a2950cbe09a13a88e4edcbb051e. Change-Id: Ife4c0312ea3260211b1b5ee39b239e8e9d7db67e Depends: I3d862515568be36d5aa80d12e7e5c0a9bf4d06a6
* Revert "Move resource related methods to ResourceUtils"Ken Wakasa2012-08-291-21/+69
| | | | | | This reverts commit 160dc0f98e513819a6ebf11a2d65cdc851389344 Change-Id: Ic5a3d9c70b8f6f2993d8455799945ec2633cad66
* Move resource related methods to ResourceUtilsTadashi G. Takaoka2012-08-291-69/+21
| | | | Change-Id: I14535b030e58363315dd2daecaaef4edd6990cd9
* Use non-bold text for Arabic and Thai keyboardTadashi G. Takaoka2012-08-291-0/+18
| | | | | | | | The key text style can be specified in each keyboard layout in addition to by KeyboardView theme. Bug: 6753168 Change-Id: I4b5abda9322600eb8c6421f20ceef136ef103c05
* Add ResourceUtilsTadashi G. Takaoka2012-08-291-2/+2
| | | | Change-Id: Ia198f8d95eae8c007623cd52d73cc1528d22fee9
* Add static construct method for SparseArrayTadashi G. Takaoka2012-08-221-1/+1
| | | | Change-Id: I6da97f6ea23578318f403bb5d64c30b1663c69ee
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-3/+4
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Cosmetic fixesKen Wakasa2012-08-191-17/+28
| | | | Change-Id: I5460252af534d4455ba22273a06ac956bc904831
* Add toString() method to KeyboardTadashi G. Takaoka2012-08-081-0/+5
| | | | Change-Id: I74c8f006323ed78ec67414fd17849ab40966968e
* Fix multi-touch input in auto-caps fieldTadashi G. Takaoka2012-08-011-3/+0
| | | | | Bug: 6905194 Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
* A gesture should not start from the delete keyTadashi G. Takaoka2012-07-181-2/+1
| | | | Change-Id: I5c8c7665454b7f10f944f307431dfffe20cf3134
* Fix Keyboard.getKey as thread safeTadashi G. Takaoka2012-07-051-10/+12
| | | | | | This is a follow up of Id962e670. Change-Id: I9e8542bff9e8faf57f934051fe612463c99ad61f
* Use SparseArray<E> instead of HashMap<Integer,E>Tadashi G. Takaoka2012-06-291-15/+16
| | | | Change-Id: Id962e670ee1a5164e6c69deb84625139bf5e7974
* Merge "add research log ui control"Kurt Partridge2012-06-061-2/+4
|\
| * add research log ui controlKurt Partridge2012-06-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | - lets users flag a particular time in the research log - lets users delete the log for this session also makes the UsabilityLog setting control whether the ResearchLog logs or not. multi-project commit with I89067e7d3b8daca7179333f1dbe82224c26920fe Bug: 6188932 Change-Id: I89864ef3ab53b0efe1ea8d75247be08712f0c399
* | am 59dae7e1: am 907ba593: Can specify Key.backgroundType in <Row> and ↵Tadashi G. Takaoka2012-06-061-9/+28
|\ \ | | | | | | | | | | | | | | | | | | <include> attribute * commit '59dae7e141b6d6a8bea287f6699e34137390c5f9': Can specify Key.backgroundType in <Row> and <include> attribute
| * | Can specify Key.backgroundType in <Row> and <include> attributeTadashi G. Takaoka2012-06-061-9/+28
| |/ | | | | | | | | Bug: 6568834 Change-Id: I138464b5445e13eaf062ce84a1ba332dfd1afafa
* / Fix xml tag in commentTadashi G. Takaoka2012-06-061-41/+41
|/ | | | | Bug: 6620122 Change-Id: I2852f77d78b242c1a96c53cdd1e4c0e299f8ea4f
* Fix stale key drawingTadashi G. Takaoka2012-05-171-0/+14
| | | | | Bug: 6509479 Change-Id: I49988ac951f6b37b14192ef1113a0d668a84f1a2
* Remove "fillBoth" enum value from keyWidth attribute of KeyTadashi G. Takaoka2012-05-151-10/+0
| | | | Change-Id: Icc5ffb8286aeda298b46aeba05e44608e342bc57
* Add language switch key to symbols and symbols shifted layoutTadashi G. Takaoka2012-04-201-2/+5
| | | | | Bug: 6370179 Change-Id: I061559ea5d0cb11a059de4b6e741f9c17ee69a27
* Fix confusable "label" usage, use "text" insteadTadashi G. Takaoka2012-04-201-5/+5
| | | | | | | | * Rename makelabel tool to maketext * Rename KeyboardLablesSet class to KeyboardTextsSet * Rename "!label/name" to "!text/name" Change-Id: Ia9494a89fe56f20ca8e8fedb253adbcf8b771bd3
* Remove useless key event handling methodsTadashi G. Takaoka2012-04-181-8/+0
| | | | Change-Id: I8c42fba79aba643ab7a145e6fd54ef23855a3ad0
* Utilize InputMethodSubtype and additional subtypeTadashi G. Takaoka2012-04-131-1/+1
| | | | | | | * Remove de_QY and fr_CH from supported subtypes * Add de-qwerty and fr-qwertz predefined additional subtypes instead. Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897