summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/KeyboardParams.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor KeysCache to UniqueKeysCacheTadashi G. Takaoka2014-11-271-12/+12
| | | | Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41
* Add null analysis annotations to keyboard packageTadashi G. Takaoka2014-11-271-4/+18
| | | | Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
* 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
* Fix NPE in KeyboardParamsTadashi G. Takaoka2014-10-011-3/+9
| | | | | Bug: 17707885 Change-Id: Ie6a54ac5ab60f5d11363ac8da8eef850d65dba7c
* Add allowRedundantMoreKeys attributeTadashi G. Takaoka2014-09-251-0/+18
| | | | | | | This CL also adds a couple of custom layout tests of Nordic languages. Bug: 10787354 Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-4/+3
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Sort keys from top-left to bottom-right orderTadashi G. Takaoka2014-04-211-3/+18
| | | | Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
* Remove RTL aware !code and add corresponding !textTadashi G. Takaoka2014-02-131-1/+0
| | | | Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
* Add getters and copy constructor to Key classTadashi G. Takaoka2013-08-151-4/+4
| | | | Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Don't count Spacer into histogramsTadashi G. Takaoka2013-06-141-4/+9
| | | | Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e
* Add keyboardLetfPadding and keyboardRightPadding attributesTadashi G. Takaoka2013-01-301-2/+2
| | | | | | | This change splits keyboardHorizontalEdgesPadding attributes of Keyboard into two attributes. Change-Id: Iefdb358783b81af4027e8d9e991db36a6c429cf1
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-2/+2
| | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* Stabilize gesture recognition algorithm that looks for the nearest key.Ken Wakasa2012-09-111-2/+2
| | | | | | It relies on the order of the key array. Change-Id: I58fa71a7b330e59cd774fc208e5b6bc1a3decd2e
* Support per-Key and per-Keyboard key visual attributesTadashi G. Takaoka2012-08-311-7/+1
| | | | | | | 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-0/+143
| | | | Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-177/+0
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Add extra key icons to KeyboardIconsSetTadashi G. Takaoka2011-12-181-11/+0
| | | | | | | | | | | * Get rid of Key.keyIconShifted attribute. Add Keyboard.iconShiftKeyShifted to KeyboardIconsSet. * Get rid of LatinKeyboardView.disabledShortcutIcon attribute. Add Keyboard.iconShortcurKeyDisabled to KeyboardIconsSet. * Add Keyboard.iconSpaceKeyForNumber to KeyboardIconsSet. * Fix misplaced autoCorrectionSpacebarLedIcon resources. Change-Id: I381bff3789254977ab3cb18f58f95b3c433b1e1a
* Use Set to group Keys in Keyboard instead of ListTadashi G. Takaoka2011-12-161-4/+2
| | | | | | | | | | In deriving various shift stated alphabet keyboards from base/main keyboard, almost all keys should be shared among variants. Grouping keys in Set instead of List is a essential refactor to have. Bug: 5002108 Bug: 5679585 Change-Id: Idd5644d1c45a3276a24b61c984619c03d4e4c54c
* Pass the touch position correction flag from KeyboardSwitcher.Yusuke Nojima2011-10-031-3/+57
| | | | Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
* Add touch position correction data to resources.Yusuke Nojima2011-09-291-0/+4
| | | | Change-Id: I156205672f3935f70c250a6c538793f35c5d86b2
* Add themeId to KeyboardTadashi G. Takaoka2011-09-281-0/+1
| | | | Change-Id: I6abdeaf41459406cf9021efdf5bb96232ba104c7
* Fix keyboard row height calculationTadashi G. Takaoka2011-09-261-10/+31
| | | | | | | The keyboard height will be distrubuted as: top_padding + (key_height + vertical_gap) * row_count - vertical_gap + bottom_padding Change-Id: I841f356b9dbf8cfaf3756178bc9e4e6b2aa61364
* Remove Key.isStick, use backgroundType="stick" insteadTadashi G. Takaoka2011-09-151-1/+1
| | | | Change-Id: I50e88c0870a3fe360b81f19163ca2f64ec38d8e8
* Rename PopupCharactersParser to MoreKeySpecParserTadashi G. Takaoka2011-08-311-1/+1
| | | | | | Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926
* Rename PopupMiniKeyboardView to MiniKeyboardViewTadashi G. Takaoka2011-08-311-2/+2
| | | | Change-Id: Ic83cd1200cfb8f8c0b0cfbcad449031b8e8a29e0
* Cleanup keyboard related code a bitTadashi G. Takaoka2011-08-301-0/+15
| | | | Change-Id: I04f1014ab3b115bd457e25a267d2e46d306c8a0e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-28/+23
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Add KeyboardParams classTadashi G. Takaoka2011-08-011-0/+100
This object will hold all keyboard parameter while parsing XML file and act like a Keyboard. After finishing reading XML file, this will be passed as an argument for the Keyboard class constructor. Bug: 5023981 Change-Id: I2737b30036b6e4d204e8ed9984a1272e195209be