summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/LatinKeyboard.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-181-53/+0
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move spacebar drawing code from LatinKeyboard to LatinKeyboardViewTadashi G. Takaoka2011-12-181-211/+2
| | | | | | | | | Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
* Remove LatinKeyboard.adjustLabelCase overrideTadashi G. Takaoka2011-12-181-10/+0
| | | | Change-Id: If032605c1cd6bb8e913d465e20dec70798c4b8fb
* Add LatinKeyboardView styleTadashi G. Takaoka2011-12-181-18/+1
| | | | | | | As a result, this change moves shortcut related update code to LatinKeyboardView from LatinKeyboard. Change-Id: I1882672577f61e73c90d6c018b7dbb61f3fe21e4
* Get rid of Key.needsSpecialPopupHint and relatedTadashi G. Takaoka2011-12-181-11/+1
| | | | Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
* Merge "Add LatinKeyboard.spacebarTextRatio attribute"Tadashi G. Takaoka2011-12-171-37/+11
|\
| * Add LatinKeyboard.spacebarTextRatio attributeTadashi G. Takaoka2011-12-181-37/+11
| | | | | | | | | | Bug: 5776979 Change-Id: Ia568d1170ed33a000eb3bb02ecdf611e4b5ff2d5
* | Fix broken buildTadashi G. Takaoka2011-12-181-0/+6
|/ | | | | | This is a followup change of I8376f4f5 Change-Id: I4de4cbc903beb71d805e62b5172076a949854bc0
* Get rid of LatinKeyboardParam classTadashi G. Takaoka2011-12-181-32/+5
| | | | Change-Id: I8376f4f570e72929679c5e4955986c48881abd75
* Preparatory small clean up for bug: 5776979Ken Wakasa2011-12-171-1/+7
| | | | Change-Id: I96b20d3775180366fac50c2bb4e0b47a92ee4cdb
* Get rid of key index from ProxymityInfoTadashi G. Takaoka2011-12-161-3/+3
| | | | Change-Id: I9bee0a643d09cdd89e42ae913285c9e78d875c1c
* Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-2/+4
| | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* Fix auto correction spacebar LEDTadashi G. Takaoka2011-12-151-27/+26
| | | | Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
* Minor refactoring of KeyboardTadashi G. Takaoka2011-12-051-1/+1
| | | | | | | | | * Remove isAlphaKeyboard(). * Remove isPhoneKeyboard(). * Remove getKeyboardShiftState(). Bug: 5708602 Change-Id: I8bf5009bf499ecb0501d1379f72e43406080062a
* Fix missing TypedArray.recycle callsTadashi G. Takaoka2011-10-191-4/+5
| | | | Change-Id: I333e55b4e7925dac5495e2e73ac57ffcef4fabb4
* Release bitmap buffer when KeyboardView is detached from WindowTadashi G. Takaoka2011-10-141-8/+8
| | | | | Bug: 5450387 Change-Id: I3e60edd8c0ea70aff9e484f6e00dadcc8f8981f6
* Merge "Move some static methods from SubtypeSwitcher to Utils"Tadashi G. Takaoka2011-08-231-3/+3
|\
| * Move some static methods from SubtypeSwitcher to UtilsTadashi G. Takaoka2011-08-241-3/+3
| | | | | | | | Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
* | Implement "forceAscii" private IME optionTadashi G. Takaoka2011-08-241-5/+4
|/ | | | | | | | | | | | | This change also introduces "AsciiCapable" extra value for subtype that indicates the subtype can input any ASCII code point from its keyboard layout. Only if the input field has "forceAscii" private IME option and the current subtype doesn't have "AsciiCapable" extra value, the en_US keyboard layout will be used for the input field. Bug: 3384942 Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
* Rename LatinKeyboardBaseView to LatinKeyboardViewTadashi G. Takaoka2011-08-231-2/+2
| | | | | Bug: 5182291 Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
* Extract sudden jumping touch event hack into separate classTadashi G. Takaoka2011-08-231-1/+1
| | | | | Bug: 5182291 Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
* Move some methods from LatinKeyboardView up into LatinKeyboardBaseViewTadashi G. Takaoka2011-08-231-1/+1
| | | | | Bug: 5182291 Change-Id: I699ecef6fb8ea492d96fca1939f51faf0aac7fa6
* Ellipsis for "Space" key for triggering the IME switcherKen Wakasa2011-08-101-2/+13
| | | | | bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca
* 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-23/+44
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* Remove sliding spacebar language switcherTadashi G. Takaoka2011-07-191-96/+3
| | | | | Bug: 4971680 Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
* Cleanup key drawing codeTadashi G. Takaoka2011-06-291-0/+10
| | | | | | | | | | | | | | | | | | 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
* Render sliding spacebar language switch arrows by textTadashi G. Takaoka2011-06-281-61/+18
| | | | Change-Id: Ief1a4f12a3d4840c36aa7a082f44b5b1ff894dd1
* Remove reference to system themeTadashi G. Takaoka2011-06-271-11/+19
| | | | | | | | This change also introduces * Background for space key preview * Tune stone theme Change-Id: I84fca0baf2392582da870d2ff77b3e99c28faf7b
* Fix NPE with the unit testKen Wakasa2011-06-241-1/+1
| | | | Change-Id: I0836f8b7191287bcff65cdc8a8ce0ff7484e9f65
* Move Key class out of internal packageTadashi G. Takaoka2011-06-231-2/+1
| | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* New IceCreamSandwich assets and themeTadashi G. Takaoka2011-06-231-4/+9
| | | | | | | | | | | | This change instroduces new IceCreamSandwich assets and renames Honeycomb theme to IceCreamSandwich. Though checked only on hdpi-phone and mdpi-10"-tablet. File another bug (Bug: 4852048) to fine tune keyboard layout for all possible combination of devices and themes. Bug: 4436327 Change-Id: I4f8dc1dd6b798a39204702bbcbebf17a199dc82f
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-221-0/+2
| | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Fix NPE in LatinKeyboardTadashi G. Takaoka2011-06-211-6/+12
| | | | | Bug: 4727778 Change-Id: I9d5b7185d75408a8af6d302fb348e118c0f9721e
* Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka2011-06-201-18/+19
| | | | | | | | | | | | | | | | | | When using the sliding spacebar language switch on ICS, both LatinIME.toggleLanguage() and InputMethodService.onCurrentInputMethodSubtypeChanged() invoke LatinIME.onRefreshKeyboard(). This change eliminates the first one if it isn't necessary. This change also cleans up the followings. * reuse theme Context when the keyboard theme hasn't been changed. * clear the Keyboard cache when theme has been switched. * eliminates unnecessary Context reference from LatinKeyboard and SlidingLocaleDrawable. * recycle Bitmap and reuse Canvas in KeyboardView. Bug: 4725930 Change-Id: I87366e9304879d94d12b7345adea768d86d43519
* Make LatinKeyboard aware of themeTadashi G. Takaoka2011-06-161-25/+29
| | | | | Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
* 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
* | Show full display names in the popup of the spacebar language swichersatok2011-05-181-1/+1
|/ | | | | | | - Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
* Merge "Display the language name on the spacebar if the full display locale ↵satok2011-04-251-12/+15
|\ | | | | | | name is too longer than the space bar"
| * Display the language name on the spacebar if the full display locale name is ↵satok2011-04-251-12/+15
| | | | | | | | | | | | | | too longer than the space bar Bug: 4329512 Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
* | Disable sliding language switch on phone and number layoutTadashi G. Takaoka2011-04-251-2/+9
|/ | | | | Bug: 4331621 Change-Id: Id02c64bb2724a5f990d6dcc548a8d98a1034d531
* Narrower the language switch threshold to key width x 1.25Tadashi G. Takaoka2011-04-221-2/+2
| | | | Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
* Fix language switch previewTadashi G. Takaoka2011-04-221-7/+12
| | | | | | This change also makes the delay after key preview longer to 60ms. Change-Id: If7cf3b493824bb12e0bf44aa0bc3c186b15b51f6
* Move sliding language switch code to PointerTrackerTadashi G. Takaoka2011-04-221-70/+29
| | | | | | | This change is hack and temporal. Big: 4328445 Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
* Rename and reorganize key codeTadashi G. Takaoka2011-04-211-1/+4
| | | | Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
* Don't show spacebar preview if key preview is disabledTadashi G. Takaoka2011-04-151-25/+66
| | | | | | | This change also introduces soft reference cache of spacebar Drawable. Bug: 4307333 Change-Id: I4d2c500bb47d794aa4f8dfa6ec415dbcb9ab0b74
* Support language bar swich for InputMethodSubtypesatok2011-04-131-1/+1
| | | | Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
* Fix popup key preview on tabletTadashi G. Takaoka2011-04-071-1/+1
| | | | | | | | This change temporally enable popup key preview option on tablet. (config_enable_show_popup_on_keypress_option). Bug: 3286117 Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85
* Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka2011-02-201-0/+2
| | | | | | | | This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18