summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardSet.java
Commit message (Collapse)AuthorAgeFilesLines
* Use keyboardSet extra value of subtype to specify layout typeTadashi G. Takaoka2012-04-051-407/+0
| | | | Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
* Refactor to utilize InputMethodSubtypeTadashi G. Takaoka2012-04-051-1/+5
| | | | Change-Id: I76fbc8a395eb8dab996c02c86d7328f07865f8cf
* Use no language "zz" to disable shortcut keyTadashi G. Takaoka2012-04-041-7/+2
| | | | Change-Id: Ifba5bbd4298ecf84cc5e0ebdb4fc8494eafff62e
* Use language agnostic QWERTY for forceAsciiTadashi G. Takaoka2012-04-041-1/+3
| | | | | Bug: 6286208 Change-Id: I1b3b6f04c9033e7dc57a30e8dce43e01428b8e4e
* Merge "Add RunInLocale class to guard locale switching"Tadashi G. Takaoka2012-04-031-27/+35
|\
| * Add RunInLocale class to guard locale switchingTadashi G. Takaoka2012-04-031-27/+35
| | | | | | | | | | Bug: 6128216 Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
* | Cleanup InputTypeCompatUtils to InputTypeUtilsTadashi G. Takaoka2012-04-031-2/+2
|/ | | | | Bug: 6129704 Change-Id: I45e19e456ef7c6e61fe877ea544fef1b9f896e95
* Remove InputMethodSubtypeCompatWrapperTadashi G. Takaoka2012-04-031-1/+0
| | | | | Bug: 6129704 Change-Id: I8f84f0f61a2205ac1fcd1cd40e3a586ee535282d
* Add language agnostic QWERTY subtypeTadashi G. Takaoka2012-03-301-3/+9
| | | | | Bug: 6010147 Change-Id: I705e38ac889172ae8b7c2a68e5c688f2ffc28320
* Remove the "deprecated" classesKen Wakasa2012-03-301-26/+0
| | | | | bug: 6129704 Change-Id: Ib27f2774444e1f084b19be3fe6f56d25dffa7084
* Don't send touch coordinates if proximity characters correction is disabledTadashi G. Takaoka2012-03-291-13/+24
| | | | | Bug: 6225317 Change-Id: I4fa65e020d838f53066d4a071f58fb6f40583e0b
* Remove SupportTouchPositionCorrection from subtype extra valueTadashi G. Takaoka2012-03-281-5/+7
| | | | Change-Id: Ieedff9ec212f5567405ca276b0f2194132ba7b0c
* Small performance improvement by removing interface accesses.Ken Wakasa2012-03-171-3/+2
| | | | Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
* Rename keyboard XML filesTadashi G. Takaoka2012-03-121-0/+2
| | | | | | | | | * Slavic to East Slavic * Serbian to South Slavic * Scandinavian to Nordic Bug: 6150183 Change-Id: I8f5641aa07b83cbb225f5fd73e351a6f8abe0784
* Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-081-6/+46
| | | | Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
* Add language switch key only to the phone layoutsTadashi G. Takaoka2012-03-071-2/+5
| | | | | Bug: 5759092 Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
* Support time, date, and datetime keyboardTadashi G. Takaoka2012-03-021-0/+3
| | | | | Bug: 6030364 Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
* Settings key always exists in more keys of shortcut/f1 keyTadashi G. Takaoka2012-02-171-6/+3
| | | | | | | | | This change also * Fix comman/f1 key for Arabic keyboard. * Removes "show settings key option" and related stuff. * Renames and simplifies F2 key to shortcut key on 7 inch tablet. Change-Id: Ib1cf99ad00d9780a2f0d170260e756771e161521
* Shift+Smiley key will register newline character of textMultiLineTadashi G. Takaoka2012-02-081-10/+8
| | | | | | | | | | | | | | This change also * Honors the custom action label in EditorInfo.actionLabel. * Invokes InputConnection.performeEditorAction if action is specifed at EditorInfo.imeOptions or actionLabel/actionId. * Stops using InputMethodService.sendKeyChar. Implements sendKeyCodePoint instead. Bug: 2498607 Bug: 5961809 Bug: 5368408 Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d
* Fix Key.equals(Key)Tadashi G. Takaoka2012-02-021-5/+10
| | | | | Bug: 5956068 Change-Id: I2901ae28bd9121ec4f4429a53b83aae128b75e0c
* Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka2012-02-011-3/+5
| | | | | | | | | | | | | This change also * Rename phone shift keyboard to phone symbols keyboard. Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard. * Remove phone symbols keyboard from tablet. * Introduces enableLongPress flag of Key.keyActionFlags attribute. * Remove clumsy long press code from PointerTracker. * Remove CODE_CAPSLOCK handling from LatinIME. * Make KeyboardSwitcher to invoke haptic and audio feedback. Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054
* Cleanup redundant methods of KeyboardSetTadashi G. Takaoka2012-01-311-9/+14
| | | | Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
* Auto generate various shift states alphabet keyboard automaticallyTadashi G. Takaoka2012-01-311-72/+43
| | | | | | | | | | | | | | | | | | If any shift state variants of alphabet keyboard layout is not specified in KeyboardSet.Element, it will be automatically generated from base alphabet keyboard definition. This change also * Eliminates KeyboardShiftState object from Keyboard. * Removes various set shift state methods from Keyboard. * Removes KeyboardSet.Element.elementAutoGenerate attribute. * Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn" * Add preserveCase flag to smiley, .com, and labeled special keys. * Rename KeyboardShiftState class to AlphabetShiftState. * Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*. * Introduce shiftedLetterActivated to Key.keyLabelFlags Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7
* Warn deprecated privateImeOptions, "nm" and "forceAscii"Tadashi G. Takaoka2012-01-261-4/+6
| | | | | | | Public API EditorInfo.IME_FLAG_FORCE_ASCII has been supported by I6665b483. Change-Id: I0ffdee15d8177d126cd8fe86a6bc4ab21be58c36
* Add Key preserveCase enum to keyLabelOptions attributeTadashi G. Takaoka2012-01-251-10/+35
| | | | | | | To support auto generate key depending keyboard element id, the KeysCache class is introduced to hold whole keys and reuse. Change-Id: Icb81b5f1c1b3aaa31968dcdb93aa0a856e737f78
* Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboardTadashi G. Takaoka2012-01-251-35/+54
| | | | | | | This is the first step to support separate Keyboard for elementName. This change is the second attempt of Icef66564. Change-Id: I78ea6cb9ea3d965ff89e0ff5d896a6b11ba5c670
* Revert "Add autoGenerateFromAlphabet enum to ↵Tadashi Takaoka2012-01-241-43/+33
| | | | | | | KeyboardSet.Element.elementKeyboard" This reverts commit b5b92f9b78295366c12b25d1b464a371401c3677 Bug: 5908440
* Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboardTadashi G. Takaoka2012-01-241-33/+43
| | | | | | This is the first step to support separate Keyboard for elementName. Change-Id: Icef66564b6938910fa06ecab664dce4be84c9505
* Support EditorInfo.IME_FLAG_FORCE_ASCIITadashi G. Takaoka2012-01-171-2/+4
| | | | | Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
* Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSetTadashi G. Takaoka2012-01-131-25/+42
| | | | Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-181-5/+3
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-181-13/+16
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-29/+102
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Use Params instead of Builder as an argument of KeyboardSet constructorTadashi G. Takaoka2011-12-161-41/+53
| | | | Change-Id: I4c576a0b0b632cdf413f2ccd5c69dbd37747fbd3
* Merge "Add XmlParseUtils class"Tadashi G. Takaoka2011-12-141-17/+12
|\
| * Add XmlParseUtils classTadashi G. Takaoka2011-12-141-17/+12
| | | | | | | | Change-Id: Ie288272bc75832db7d743262c4c4fbe73b6dca04
* | Cleanup settings key related stuffTadashi G. Takaoka2011-12-141-24/+5
|/ | | | Change-Id: Ie0d1204e94fcdf9d578974256bf2ae3e87797f13
* Utilize KeyboardSet XML definitionsTadashi G. Takaoka2011-12-141-10/+130
| | | | | | | | | This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
* Introduce KeyboardSet to hold related KeyboardIdsTadashi G. Takaoka2011-12-131-0/+134
This change moves * KeyboardSwitcher.getKeyboardId to KeyboardSet.<init> and KeyboardSet.getKeyboardId. * KeyboardSwitcher.getF2KeyMode to KeyboardSet. This is the first step to get rid of shift state from Keyboard. Bug: 5002108 Bug: 5679585 Change-Id: I2a5a97e5e89277bc606916d45c1afbc8d105d773