aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Refactor LatinKeyboard and LatinKey•••This change also moves KeyboardSwitcher and related classes to com.android.inputmethod.keyboard package. Multi project change with Ib23017b2 Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24 Tadashi G. Takaoka2010-12-021-644/+0
* Move some inner static class to top class in new package•••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 Tadashi G. Takaoka2010-12-021-134/+13
* Load keyboard only when subtype is keyboard mode•••Bug: 3224990 Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603 Tadashi G. Takaoka2010-12-011-8/+15
* Cleanup unused Java import•••This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f Tadashi G. Takaoka2010-11-291-1/+0
* Preload SharedPreferences at start.•••bug: 3207554 Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f Ken Wakasa2010-11-261-5/+4
* Update tablet keyboard layout to the latest design•••This change introduces shiftedIcon attribute for Key which specifies icon to draw the shift key while the key is in shifted state. This change also intriduces new configurable dimension value key_label_horizontal_alignment_padding which represents horizontal padding for left or right alignment of key label. Bug: 3216592 Bug: 3201839 Change-Id: I3aa7392227ce573c404517678e6340a8d1fcb328 Tadashi G. Takaoka2010-11-251-0/+2
* Call showInputMethodPicker instead of showInputMethodSubtypePicker•••- because showInputMethodSubtypePicker will be removed. Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45 satok2010-11-251-1/+4
* Fix a bug at showing warning dialog at the first time when IME is trigerred i...•••bug: 3226268 Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34 satok2010-11-241-0/+1
* Support dedicated number/date keyboard layout•••Bug: 3009716 Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea Tadashi G. Takaoka2010-11-241-8/+21
* Support imeOptions condition in <case>•••Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a Tadashi G. Takaoka2010-11-231-2/+4
* Support colorScheme <case/> condition in Keyboard XML•••Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490 Tadashi G. Takaoka2010-11-231-56/+28
* Fix odd "more" key behavior on tablet phone number keyboard•••Bug: 3176540 Change-Id: Iaa1f3776d5ac236b2655910ede7522ceac36a9a1 Tadashi G. Takaoka2010-11-231-2/+11
* Fix caps lock release in non-distinct multi touch device•••Bug: 3221869 Change-Id: I7c5d407c465f22945cba37e42683345913b43acc Tadashi G. Takaoka2010-11-221-2/+17
* Make F1 and Symbol keys static in XML file•••Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6 Tadashi G. Takaoka2010-11-211-20/+22
* Perform editor action IME_ACTION_NEXT/PREVIOUS by tab key•••Bug: 3122995 Change-Id: I44280fe1c6cc27f429b311edec71e1027178222d Tadashi G. Takaoka2010-11-191-6/+19
* Fix automatic temporary upper case mode behaviour•••This change is a followup of I948ef26f Automatic Temporary Upper Case mode acts like Normal mode until shift key is pressed. However, after shift key is pressed, it acts like Manual Temporary Upper Case mode. Bug: 3193390 Change-Id: Id3d7a38a1f5905322cd46ded36b1db26576d49af Tadashi G. Takaoka2010-11-191-4/+4
* Cleanup drawable-xlarge resources into drawable-mdpi•••Change-Id: I2db335a601ddb0062a637a71289e14cf1d375a1e Tadashi G. Takaoka2010-11-191-3/+9
* Implement both automatic and manual temporary upper cases•••With this change, - Shift and Shift lock state of keyboard is maintained by LatinKeyboard.ShiftState. - Shift key state is maintained by ShiftKeyState object in KeyboardSwitcher. - LatinIME informs KeyboardSwitcher that shift key press, release and long press and KeyboardSwitcher determines which state LatinKeyboard and ShiftLeyState should be. Bug: 3193390 Change-Id: I948ef26fda512eb1cb0ebddc89d322c4f4f4d670 Tadashi G. Takaoka2010-11-181-43/+107
* Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitcher•••Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e satok2010-11-181-1/+0
* Move functions related to LanguageSwitcher to LatinIMESubtypeSwitcher•••Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9 satok2010-11-181-16/+24
* Refactor KeyboardSwitcher and LatinIME•••Bug: 3193390 Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1 Tadashi G. Takaoka2010-11-161-50/+116
* Refactor shift key state into KeyboardSwitcher•••Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466 Tadashi G. Takaoka2010-11-161-1/+27
* Refactor symbol key state into KeyboardSwitcher•••Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f Tadashi G. Takaoka2010-11-161-0/+18
* Get rid of the reference to LatinKeyboard from LatinIME•••Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370 Tadashi G. Takaoka2010-11-131-3/+33
* Keyboard XML supports switch-case-default tags to select rows and keys•••Change-Id: I0d92e513757e765d9de98561205754af5a143650 Tadashi G. Takaoka2010-11-121-116/+46
* Rename KeyboardSwitcher.setKeyboardMode to loadKeyboard•••This change also eliminates KeyboardSwitcher.refreshKeyboardCache, LatinIME.reloadKeyboards() and LanguageSwicther.getLocales(). Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b Tadashi G. Takaoka2010-11-111-130/+147
* Refactor KeyboardSwitch.KeyboardId class•••This change defers determining which keyboard should be loaded and holds the information in KeyboardId object as much as possible. At keyboard loading time, the determination deferred will be made depending on the information of KeyboardId. Change-Id: Ice2455d9e5b21671a250c342c06c043e4baa5355 Tadashi G. Takaoka2010-11-101-86/+89
* Refactor to remove KeyboardSwitcher.setVoiceMode•••This change also renames KeyboardSwitcher.makeKeyboards to refreshKeyboardCache. Change-Id: I76897562d5876a53364dc378e7800ab92fb2a37b Tadashi G. Takaoka2010-11-101-31/+27
* Refactor calling KeyboardSwitcher.setKeyboardMode•••This change also eliminates unnecessary recursive call in KeyboardSwitcher.setKeyboardMode. Change-Id: Iff25fe23b34227d526dee0bbe8710842545c2afa Tadashi G. Takaoka2010-11-081-2/+2
* Make sure there are no modes with settings key on tablet.•••Follow-up change to I73b8a502 bug: 3095814 Change-Id: I79bb05c61dc73b036331e17d02c791f08a0168fc Ken Wakasa2010-11-021-14/+16
* Follow-up change to revise Caps Lock sequence.•••bug: 3122877 Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87 Ken Wakasa2010-10-261-8/+7
* Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoring•••Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842 Ken Wakasa2010-10-251-1/+4
* Make "show settings key option" dependent to device configuration•••Bug: 3095814 Change-Id: I73b8a5023b398621a910c953eade252dc6412923 Tadashi G. Takaoka2010-10-221-6/+9
* Manual merge of the following Gingerbread changes logically•••I8b38e280 Ia3929bb0 If925b546 I1062763d I901e36aa bug: 3100311 Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2 Ken Wakasa2010-10-201-71/+92
* Make sure to set symbol keyboard shifted•••To avoid a corner case of bug#3070963, in toggleShift() method of KeyboardSwitcher, the shifted symbol keyboard will be set if current keyboard is symbol keyboard or is not shifted symbol keyboard. This change also implements mini keyboard cache with WeakHashMap. Bug: 3070963 Change-Id: I868fc072e2f21bddded1622b800a53b9a6a43e91 Tadashi G. Takaoka2010-10-091-6/+13
* Fix issue space key preview remains on screen and would not dismiss•••The space key preview should be displayed one of the following case. - Popup preview is enabled - Language switcher is in action, whether popup preview is enabled or not. For phone number keyboard, popup preview is never displayed even if popup preview is enabled. Bug: 3006612 Bug: 3021091 Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5 Tadashi G. Takaoka2010-09-221-27/+17
* Add a new preference item to show/hide the settings key.•••bug: 2998722 Change-Id: Iac1641c338388fd8f85e0cf47e31afdaeb34c0c0 Ken Wakasa2010-09-161-20/+86
* Keep Keyboard in cache through SoftReference•••This change also adds final to attributes Change-Id: Ie2b9a1b1f83606b24ad4e35ad72a28d55ed0423e Tadashi G. Takaoka2010-09-091-16/+21
* Fix ALT key light behavior•••This change also cleanups some imports, unnecessary cast and null check. Bug: 2977256 Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9 Tadashi G. Takaoka2010-09-061-11/+14
* Support multi-touch only when device has distinct multi-touch panel•••Bug: 2973373 Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef Tadashi G. Takaoka2010-09-061-0/+4
* Change symbol on space bar when autocompletion is activated•••bug: 2959279 Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769 satok2010-09-031-5/+14
* Change the preference name for a theme and remove a preference settings•••Change-Id: I5ad980559477775eb44df022e54ce5ef32398601 satok2010-09-021-1/+1
* Add a new theme for Gingerbread•••bug: 2959293 Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2 satok2010-09-011-3/+3
* Add settings button•••- delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6 satok2010-08-311-16/+1
* Remove extension keyboard•••Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958 Tadashi G. Takaoka2010-08-301-9/+0
* Clean up LatinIME java•••- remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894 satok2010-08-241-1/+0
* Fix an NPE found in KeyboardSwitcher.isAlphabetMode()•••Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239 Ken Wakasa2010-08-201-0/+3
* DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963 satok2010-08-201-48/+172
* Clarify licensing•••-use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4 Jean-Baptiste Queru2010-04-051-1/+1
* Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986 Amith Yamasani2010-03-091-0/+351