aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardView.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-021-376/+0
| | | | | | | | | 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
* Fix a bug at showing warning dialog at the first time when IME is trigerred ↵satok2010-11-241-0/+7
| | | | | | | | in voice mode bug: 3226268 Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
* Support dedicated number/date keyboard layoutTadashi G. Takaoka2010-11-241-9/+5
| | | | | Bug: 3009716 Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
* Make F1 and Symbol keys static in XML fileTadashi G. Takaoka2010-11-211-1/+1
| | | | Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
* Implement both automatic and manual temporary upper casesTadashi G. Takaoka2010-11-181-1/+1
| | | | | | | | | | | | | | 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
* Refactor KeyboardSwitcher and LatinIMETadashi G. Takaoka2010-11-161-7/+0
| | | | | Bug: 3193390 Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
* Rename LatinKeyboardBaseView class to KeyboardBaseViewTadashi Takaoka2010-11-051-3/+3
| | | | Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8
* Get rid of references to BaseKeyboard in Latin-specific classesKen Wakasa2010-10-251-19/+23
| | | | Change-Id: I6871a24967b1410bdb14e902bdd311ef82fd4f0b
* Revise caps lock sequencesTadashi G. Takaoka2010-10-251-6/+7
| | | | | | | | | This change also fixes that the popup preview of ALT on symbol keyboard is not showing. Bug: 3122877 Bug: 3127255 Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211
* Add keyHintIcon attribute to BaseKeyboard.Key classTadashi G. Takaoka2010-10-051-2/+2
| | | | | | | This keyHintIcon attribute is used to specify hint icon drawable at top right corner of Key. Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c
* Unbundle Keyboard.java to BaseKeyboard.javasatok2010-10-021-8/+8
| | | | Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
* Long press mic/comma key bring mini keyboard with settingsTadashi G. Takaoka2010-10-011-10/+0
| | | | | | Bug: 3050703 Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
* Long pressing mic/comma key will show settings menueTadashi G. Takaoka2010-09-301-10/+20
| | | | | Bug: 3050703 Change-Id: I62773c10f435d13174f6ff6574912cb99303e83c
* Fix issue space key preview remains on screen and would not dismissTadashi G. Takaoka2010-09-221-0/+10
| | | | | | | | | | | | | | 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 lightweight visual indication for numbers.Ken Wakasa2010-09-221-1/+2
| | | | | | | | | This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q' Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets). bug: 3004632 Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
* Symbol key acts as modifier keyTadashi G. Takaoka2010-09-091-3/+0
| | | | | | | | | | On a device that has distinct multi-touch panel, pressing '123?' key will change keyboard layout to symbol mode. While pressing '123?' key, you can press other symbol key to input. Then releasing '123?' key will change keyboard layout back to alphabet mode. Bug: 2973383 Change-Id: I3b069fb19141820def8060db4766a08c7c0a6ff0
* Disable pop-up preview on mini keyboardTadashi G. Takaoka2010-09-061-18/+0
| | | | | | | | | | | This change also disable the special behavior of long press a key that has only one digit alternate. If the visual design of both the pop-up preview and the mini keyboard will look like same, I think that showing mini keyboard is enough for the key that has one digit alternate. Bug: 2973546 Change-Id: I04f138c120aa58526fe054626dac856171fb7a58
* Fix ALT key light behaviorTadashi G. Takaoka2010-09-061-1/+1
| | | | | | | This change also cleanups some imports, unnecessary cast and null check. Bug: 2977256 Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
* One alternate is treated as key action, not open mini keyboardTadashi G. Takaoka2010-09-031-16/+39
| | | | | | | | This change also fixes bug#2973683. Bug: 2973546 Bug: 2973683 Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
* Add a showing input method picker option by longpressing setting keysatok2010-09-031-1/+7
| | | | | | Bug: 2959271 Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
* Remove extension keyboardTadashi G. Takaoka2010-08-301-175/+9
| | | | | Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
* Disable long-press on shift and symbol keysTadashi G. Takaoka2010-08-271-13/+1
| | | | | | | | | Long-press on shift and symbol keys will conflict with press-and-hold these keys and press normal key (a.k.a. multi touch support). Bug: 2910379 Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
* Add a log for getting coordinates of keyssatok2010-08-261-6/+12
| | | | Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-201-21/+61
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* am 938c1782: Fix for hanging extension keyboard. Bug: 2593488Amith Yamasani2010-04-151-2/+4
|\ | | | | | | | | | | | | Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp * commit '938c178215d38c6f085b32b0994598f9e8bc5ab5': Fix for hanging extension keyboard. Bug: 2593488
| * Fix for hanging extension keyboard. Bug: 2593488Amith Yamasani2010-04-151-2/+4
| | | | | | | | | | | | | | | | | | Sometimes the only motion event that is above the keyboard is the UP event. In that case we can't expect one more event to come that will dismiss the extension. So don't show the extension if the only Y < 0 event is an UP event. Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
* | am c2b8c16b: Possible fix for monkey bug: 2529350Amith Yamasani2010-04-061-0/+4
|\| | | | | | | | | | | | | Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp * commit 'c2b8c16bdf392c81785031483d21740c5e883046': Possible fix for monkey bug: 2529350
| * Possible fix for monkey bug: 2529350Amith Yamasani2010-04-061-0/+4
| | | | | | | | | | | | Don't try to show the extension if the main keyboard is not showing. Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
* | am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymoreAmith Yamasani2010-04-061-1/+9
|\| | | | | | | | | | | | | Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp * commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb': Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
| * Fix for 2568664 : Slide gesture on spacebar is not reliable anymoreAmith Yamasani2010-04-061-1/+9
| | | | | | | | | | | | | | | | This was due to the multi-touch error correction code that was recently added. Make sure that one of the move points is in the upper 3 rows to allow for fast swipe on spacebar. Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
* | Clarify licensingJean-Baptiste Queru2010-04-051-1/+1
|/ | | | | | | | -use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
* Treat fast moves as multi-touch. Bug: 2561786Amith Yamasani2010-03-311-3/+111
| | | | | | | | | | | | | | | | Detect sudden moves that have a large delta that would not be a typical drag by the user when hunting for a key. Drop move events until the user releases the touch and register both starting and ending keys instead of only the ending key. This reduces the frequency of dropped keys on touch hardware that isn't able to detect multi-touch reliably. This also takes into account diagonal moves or right angled moves due to pseudo-multi-touch. It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully, otherwise it will trigger 2 keys) Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
* Potential fix for extension keyboard not cleaning up bubbles sometimes.Amith Yamasani2010-03-191-7/+36
| | | | | | This might also fix the keyboard closing suddenly when using the extension. Re-enable bubble for landscape extension keyboard, since the framework can now display it to the side.
* Remove popup for extension keyboard in landscape. bug: 2519903Amith Yamasani2010-03-171-0/+5
| | | | | | | Also add a summary text in the input language list for languages with a dictionary so that users don't feel cheated when they pick a language that doesn't happen to have a dictionary. Remove greek as it isn't an extension of the QWERTY keyboard.
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-0/+332
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986