aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor LatinKeyboard and LatinKeyTadashi G. Takaoka2010-12-021-644/+0
| | | | | | | | | 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-134/+13
| | | | | | | | | 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
* Load keyboard only when subtype is keyboard modeTadashi G. Takaoka2010-12-011-8/+15
| | | | | Bug: 3224990 Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603
* Cleanup unused Java importTadashi G. Takaoka2010-11-291-1/+0
| | | | | | This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
* Preload SharedPreferences at start.Ken Wakasa2010-11-261-5/+4
| | | | | bug: 3207554 Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f
* Update tablet keyboard layout to the latest designTadashi G. Takaoka2010-11-251-0/+2
| | | | | | | | | | | | | 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
* Call showInputMethodPicker instead of showInputMethodSubtypePickersatok2010-11-251-1/+4
| | | | | | - because showInputMethodSubtypePicker will be removed. Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45
* Fix a bug at showing warning dialog at the first time when IME is trigerred ↵satok2010-11-241-0/+1
| | | | | | | | in voice mode bug: 3226268 Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
* Support dedicated number/date keyboard layoutTadashi G. Takaoka2010-11-241-8/+21
| | | | | Bug: 3009716 Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
* Support imeOptions condition in <case>Tadashi G. Takaoka2010-11-231-2/+4
| | | | Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a
* Support colorScheme <case/> condition in Keyboard XMLTadashi G. Takaoka2010-11-231-56/+28
| | | | Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490
* Fix odd "more" key behavior on tablet phone number keyboardTadashi G. Takaoka2010-11-231-2/+11
| | | | | Bug: 3176540 Change-Id: Iaa1f3776d5ac236b2655910ede7522ceac36a9a1
* Fix caps lock release in non-distinct multi touch deviceTadashi G. Takaoka2010-11-221-2/+17
| | | | | Bug: 3221869 Change-Id: I7c5d407c465f22945cba37e42683345913b43acc
* Make F1 and Symbol keys static in XML fileTadashi G. Takaoka2010-11-211-20/+22
| | | | Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
* Perform editor action IME_ACTION_NEXT/PREVIOUS by tab keyTadashi G. Takaoka2010-11-191-6/+19
| | | | | Bug: 3122995 Change-Id: I44280fe1c6cc27f429b311edec71e1027178222d
* Fix automatic temporary upper case mode behaviourTadashi G. Takaoka2010-11-191-4/+4
| | | | | | | | | | | 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
* Cleanup drawable-xlarge resources into drawable-mdpiTadashi G. Takaoka2010-11-191-3/+9
| | | | Change-Id: I2db335a601ddb0062a637a71289e14cf1d375a1e
* Implement both automatic and manual temporary upper casesTadashi G. Takaoka2010-11-181-43/+107
| | | | | | | | | | | | | | 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
* Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitchersatok2010-11-181-1/+0
| | | | Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e
* Move functions related to LanguageSwitcher to LatinIMESubtypeSwitchersatok2010-11-181-16/+24
| | | | Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
* Refactor KeyboardSwitcher and LatinIMETadashi G. Takaoka2010-11-161-50/+116
| | | | | Bug: 3193390 Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
* Refactor shift key state into KeyboardSwitcherTadashi G. Takaoka2010-11-161-1/+27
| | | | Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466
* Refactor symbol key state into KeyboardSwitcherTadashi G. Takaoka2010-11-161-0/+18
| | | | Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
* Get rid of the reference to LatinKeyboard from LatinIMETadashi G. Takaoka2010-11-131-3/+33
| | | | Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370
* Keyboard XML supports switch-case-default tags to select rows and keysTadashi G. Takaoka2010-11-121-116/+46
| | | | Change-Id: I0d92e513757e765d9de98561205754af5a143650
* Rename KeyboardSwitcher.setKeyboardMode to loadKeyboardTadashi G. Takaoka2010-11-111-130/+147
| | | | | | | This change also eliminates KeyboardSwitcher.refreshKeyboardCache, LatinIME.reloadKeyboards() and LanguageSwicther.getLocales(). Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b
* Refactor KeyboardSwitch.KeyboardId classTadashi G. Takaoka2010-11-101-86/+89
| | | | | | | | | 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
* Refactor to remove KeyboardSwitcher.setVoiceModeTadashi G. Takaoka2010-11-101-31/+27
| | | | | | | This change also renames KeyboardSwitcher.makeKeyboards to refreshKeyboardCache. Change-Id: I76897562d5876a53364dc378e7800ab92fb2a37b
* Refactor calling KeyboardSwitcher.setKeyboardModeTadashi G. Takaoka2010-11-081-2/+2
| | | | | | | This change also eliminates unnecessary recursive call in KeyboardSwitcher.setKeyboardMode. Change-Id: Iff25fe23b34227d526dee0bbe8710842545c2afa
* Make sure there are no modes with settings key on tablet.Ken Wakasa2010-11-021-14/+16
| | | | | | | Follow-up change to I73b8a502 bug: 3095814 Change-Id: I79bb05c61dc73b036331e17d02c791f08a0168fc
* Follow-up change to revise Caps Lock sequence.Ken Wakasa2010-10-261-8/+7
| | | | | bug: 3122877 Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87
* Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoringKen Wakasa2010-10-251-1/+4
| | | | Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842
* Make "show settings key option" dependent to device configurationTadashi G. Takaoka2010-10-221-6/+9
| | | | | Bug: 3095814 Change-Id: I73b8a5023b398621a910c953eade252dc6412923
* Manual merge of the following Gingerbread changes logicallyKen Wakasa2010-10-201-71/+92
| | | | | | | | | | | I8b38e280 Ia3929bb0 If925b546 I1062763d I901e36aa bug: 3100311 Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
* Make sure to set symbol keyboard shiftedTadashi G. Takaoka2010-10-091-6/+13
| | | | | | | | | | | 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
* Fix issue space key preview remains on screen and would not dismissTadashi G. Takaoka2010-09-221-27/+17
| | | | | | | | | | | | | | 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
* Add a new preference item to show/hide the settings key.Ken Wakasa2010-09-161-20/+86
| | | | | | bug: 2998722 Change-Id: Iac1641c338388fd8f85e0cf47e31afdaeb34c0c0
* Keep Keyboard in cache through SoftReferenceTadashi G. Takaoka2010-09-091-16/+21
| | | | | | This change also adds final to attributes Change-Id: Ie2b9a1b1f83606b24ad4e35ad72a28d55ed0423e
* Fix ALT key light behaviorTadashi G. Takaoka2010-09-061-11/+14
| | | | | | | This change also cleanups some imports, unnecessary cast and null check. Bug: 2977256 Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
* Support multi-touch only when device has distinct multi-touch panelTadashi G. Takaoka2010-09-061-0/+4
| | | | | Bug: 2973373 Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
* Change symbol on space bar when autocompletion is activatedsatok2010-09-031-5/+14
| | | | | | bug: 2959279 Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
* Change the preference name for a theme and remove a preference settingssatok2010-09-021-1/+1
| | | | Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
* Add a new theme for Gingerbreadsatok2010-09-011-3/+3
| | | | | | bug: 2959293 Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
* Add settings buttonsatok2010-08-311-16/+1
| | | | | | - delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
* Remove extension keyboardTadashi G. Takaoka2010-08-301-9/+0
| | | | | Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
* Clean up LatinIME javasatok2010-08-241-1/+0
| | | | | | | | - remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
* Fix an NPE found in KeyboardSwitcher.isAlphabetMode()Ken Wakasa2010-08-201-0/+3
| | | | Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-201-48/+172
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* Clarify licensingJean-Baptiste Queru2010-04-051-1/+1
| | | | | | | | -use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-0/+351
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986