summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/MiniKeyboard.java
Commit message (Collapse)AuthorAgeFilesLines
* Rename mini keyboard to more keys keyboardTadashi G. Takaoka2012-02-081-268/+0
| | | | Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5
* Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-021-2/+2
| | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* Remove BIDI mirroring hack from KeyTadashi G. Takaoka2012-02-011-1/+0
| | | | | | | This change also removes isRtlKeyboard attribute from <Keyboard/> Bug: 5948247 Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
* Change more key specification type to String from CharSequenceTadashi G. Takaoka2012-01-201-8/+6
| | | | Change-Id: I5e910f8225a248fc6403771836dec4c0b7294caa
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-4/+2
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-1/+1
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Utilize KeyboardSet XML definitionsTadashi G. Takaoka2011-12-141-1/+1
| | | | | | | | | This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
* Special handling of one key mini-keyboard to mitigate visual flickerTadashi G. Takaoka2011-10-141-4/+15
| | | | | | | | | | Use pre-computed width and height of mini keyboard if * Popup key preview is enabled * The mini keyboard has only one key * Pre-computed width and height are specified Bug: 5248783 Change-Id: I53475698e87d5bd67d36e63323c25a9e9f18fbb1
* Introduce hit box to Key and get rid of edge flagsTadashi G. Takaoka2011-09-281-7/+5
| | | | Change-Id: I2b78d2ca756223b5497d01127c3a0190dcc81e57
* Fix keyboard row height calculationTadashi G. Takaoka2011-09-261-3/+3
| | | | | | | The keyboard height will be distrubuted as: top_padding + (key_height + vertical_gap) * row_count - vertical_gap + bottom_padding Change-Id: I841f356b9dbf8cfaf3756178bc9e4e6b2aa61364
* Tune mini keyboard visualTadashi G. Takaoka2011-09-051-15/+6
| | | | | | | This change only gets rid of the surrounding paddings of the mini keyboard. Bug: 5248783 Change-Id: Idb95ac1467085c230fd60e4bc0f466fef5700bfb
* Rename PopupCharactersParser to MoreKeySpecParserTadashi G. Takaoka2011-08-311-11/+11
| | | | | | Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926
* Rename PopupMiniKeyboardView to MiniKeyboardViewTadashi G. Takaoka2011-08-311-2/+2
| | | | Change-Id: Ic83cd1200cfb8f8c0b0cfbcad449031b8e8a29e0
* Add outputText and icon to the Key constructorTadashi G. Takaoka2011-08-301-2/+2
| | | | | | | This is a follow up change for I737bacb1. Bug: 5023981 Change-Id: I980e3e993c81afe4fbdb95c9c263d7aa52aff66c
* Add Key constructor for suggestions paneTadashi G. Takaoka2011-08-301-1/+1
| | | | | Bug: 5023981 Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
* Revert "Add hintLabel to Key constructor"Tadashi G. Takaoka2011-08-301-1/+1
| | | | | | | This reverts commit be34d973349909196dc3427a5653f4e119092ea7. Bug: 5023981 Change-Id: I34f75cde035f04a9a82c9259442ed0e255cb7118
* Add hintLabel to Key constructorTadashi G. Takaoka2011-08-301-6/+5
| | | | | | | | This change also partialy reverts I5832421c, because of incorrect popup mini key width calculation. Bug: 5023981 Change-Id: I1acde090c01d3d861fcc5559cad81e638de2c2bb
* Clean up some MiniKeyboard.Builder codeTadashi G. Takaoka2011-08-291-10/+6
| | | | Change-Id: I5832421cab3d496d4bb8a5e9902d0b5f4929fd0b
* Refactor and rename popup mini keyoard related classesTadashi G. Takaoka2011-08-231-2/+248
| | | | Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
* Cleanup Keyboard related code and rename some classesTadashi G. Takaoka2011-08-021-2/+2
| | | | | | | This is a follow up change of I90ffbde0 Bug: 5023981 Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-21/+5
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Swap parenthesis-like character code on RTL keyboardTadashi G. Takaoka2011-07-241-0/+2
| | | | | Bug: 5047217 Change-Id: I1b88484825f5c035401cf083522bf95bbee30edb
* Cleanup key drawing codeTadashi G. Takaoka2011-06-291-18/+12
| | | | | | | | | | | | | | | | | | This change also modifies 9-patch drawables to fix the following issues. In order to draw key background drawable just on the coordinates we want, we have to know where an actual "visible" part is in the drawable. The only clue we can use is "padding" of the drawable. To achieve this, the 9-patch drawable must have its "visible" part marked as "content". Please refer the Bug: 4948171 for more detailed explanation. This change also reverts the following "black" drawables back from Gingerbread because recent change broke these (I70019a91). * drawable-hdpi/sym_bkeyboard_*.png * drawable-hdpi/btn_keyboard_key_*_stone.9.png Bug: 4948171 Change-Id: I6e4d03b3144caa95c793aac97af22df34c5f454f
* Move Key class out of internal packageTadashi G. Takaoka2011-06-231-2/+0
| | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-221-0/+2
| | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Merge "Reload keyboard after SoftInputWindow size changed"Tadashi G. Takaoka2011-05-201-2/+2
|\
| * Reload keyboard after SoftInputWindow size changedTadashi G. Takaoka2011-05-201-2/+2
| | | | | | | | | | Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
* | Fix copyright author from Google to AOSPTadashi G. Takaoka2011-05-201-1/+1
|/ | | | Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
* Refactor KeyboardView and create MiniKeyboardViewTadashi G. Takaoka2011-05-091-0/+17
| | | | Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
* Automatically layout mini keyboardTadashi G. Takaoka2011-01-251-0/+35
Bug: 2214959 Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0