summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardParser.java
Commit message (Collapse)AuthorAgeFilesLines
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-221-712/+0
| | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Tab key is shown when editor navigation flag is setTadashi G. Takaoka2011-06-171-4/+4
| | | | | | | | | | Previously tab key is shown only when the input type variant says that it is web input. In addition to that, this change also shows tab key when the IME option includes editor action (next and/or previous) flag. Bug: 3094312 Change-Id: I3f8841fdbcee918a0f93f3259090f24e70d96471
* Tune up 7 inch keyboard layoutTadashi G. Takaoka2011-06-171-3/+7
| | | | | Bug: 4479212 Change-Id: I25c48ef474f6198dde9b670b23509c087acae149
* Make Keyboard aware of themeTadashi G. Takaoka2011-06-151-6/+6
| | | | | | | | | | This change is needed to introduce new theme easily. As a starter this change introduces Keyboard.popupHintIcon attribute and Key.keyLabelOption.popupHint flag to show popup hint icon that is previously specified by Key.keyHintIcon attribute. Bug: 4436327 Change-Id: I6b1c5c1b88eece541141b2d2cedd164ee02e5c2a
* Keep tablet keyboard in sync with Honeycomb-MR2Tadashi G. Takaoka2011-06-031-1/+1
| | | | | | | | | | This change removes Russian keyboard layout exceptions and make it compatible with other Latin's. Also tweaks some locales' keyboard layout to match with standard PC's keyboard layout at most. Change-Id: I305201fb850b4f94ae7e746ab4c039473d09da70
* Implement logical or to Keyboard switch-case matchingTadashi G. Takaoka2011-06-031-13/+53
| | | | Change-Id: Iab615459c21fa5799a7b30b8649d75347e46c804
* Adaptive keyboard width/position parserTadashi G. Takaoka2011-05-311-15/+39
| | | | | | | | | | | | | | | | | | | This change introduces the following features to Keyboard XML format. * "keyXPos" can specify the key X coordinate directly. * "keyXPos" can be negative. The X coordinate will be calcluated from the right edge of the keyboard toward left. * "keyWidth" can be zero to be filled up to the right side. * "keyWidth can be negative. The key will be filled up to both sides. * Spacer's horizontalGap is renamed as keyWidth, and can be inherited from key-style. * Spacer can have keyXPos attribute. Using these syntax, all keyboard layouts have been re-written. Cherry-Pick: I314b2e8ca2aa145ff9506cbf927140a15685af42 Bug: 4442045 Change-Id: I048fe5eaef020d8472ab577e9d326042bae2f3fa
* Remove web mode and add webInput booleanTadashi G. Takaoka2011-05-271-4/+8
| | | | | | Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
* Fix copyright author from Google to AOSPTadashi G. Takaoka2011-05-201-1/+1
| | | | Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
* Add minKeyboardHeight attribute to Keyboard layoutTadashi G. Takaoka2011-05-121-3/+14
| | | | | Bug: 4411676 Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28
* Check the availability of layouts for showing the input languages in the ↵satok2011-04-211-0/+22
| | | | | | | | settings Bug: 4316889 Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
* Increase the horizontal gap between shift/delete and normal keysTadashi G. Takaoka2011-04-081-2/+12
| | | | | | | | This change also adds capability to add horizontal padding to the keyboard. Bug: 4269094 Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56
* Move a debug utility function to EditorInfoCompatUtilssatok2011-03-251-1/+2
| | | | | | - imeOptionName Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
* Hide shortcut key when the shortcut IME is not enabledTadashi G. Takaoka2011-03-031-1/+2
| | | | | Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
* Add countryCode attribute to case tag of KeyboardTadashi G. Takaoka2011-02-231-2/+5
| | | | Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
* Disable non-ASCII symbol keys in password inputTadashi G. Takaoka2011-02-201-3/+3
| | | | | | Bug: 3384942 Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
* Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka2011-02-201-4/+7
| | | | | | | | This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
* Add "languageCode" attribute to "case" tag in Keyboard XMLTadashi G. Takaoka2011-02-181-2/+12
| | | | | bug: 3451586 Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826
* Rename imeOptions attribute of Keyboard to imeAction.Tadashi G. Takaoka2011-02-181-6/+7
| | | | | Bug: 3384942 Change-Id: I3ce01b83f0ae37f447de8a7fcdb5d7fe06b108c6
* Disable shortcut key when network is not availableTadashi G. Takaoka2011-01-261-2/+0
| | | | | Bug: 3345931 Change-Id: I1deef774598b8e78da4404535b6d3814464a9d2d
* Remove multi-tap featureTadashi G. Takaoka2010-12-201-4/+4
| | | | Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
* Add popupKeyboardTemplate attribute to KeyboardTadashi G. Takaoka2010-12-171-74/+75
| | | | | | | | | | | | | | This change - introduces the popupKeyboardTemplate attribute of Keyboard to specify XML Keyboard file for popup mini keyboard. - introduces the maxPopupKeyboardColumn attribute of Keyboard to specify the maximum column of popup mini keyboard. - changes the content format of the popupCharacters attribute of Key. It now represents keyLabel, codes and keyTextOutput of each key of popup mini keyboard using CSV format. Bug: 2214959 Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-16/+16
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Support keyboardHeight and maxKeyboardHeight to Keyboard XMLTadashi G. Takaoka2010-12-081-6/+14
| | | | | | | | | | | | | This change introduces, - new attribute keyboardHeight to specify default keyboard height. - new attribute maxKeyboardHeight to specify maximum keyboard height, usually specified by percentage to the screen height. - keyHeight attribute is obsoleted - new attribute rowHeight to specify a row height, can be specifed as percentage of the keyboard height. And verticalGap is included to the row height (row height = key height + vertical gap). Change-Id: I48a2f2661e8a91a998503a847437c1baf1de9b9c
* Refactor LatinKeyboard and LatinKeyTadashi G. Takaoka2010-12-021-3/+5
| | | | | | | | | This change also moves KeyboardSwitcher and related classes to com.android.inputmethod.keyboard package. Multi project change with Ib23017b2 Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-021-0/+569
This change introduces new package com.android.inputmethod.keyboard which hosts keyboard related classes. Also adds missing @Override and @SuppressWarning("unused") annotation Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05