aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/PointerTracker.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-546/+0
* Key release event should be sent when finger sliding•••This change is cherry-pick I1a020e3d from Gingerbread-MR Bug: 3132881 Change-Id: I885eab7744369dfb841f9b34d210b6c2aef8f19a Tadashi G. Takaoka2010-12-011-6/+10
* 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-3/+3
* Implement temporary upper case hint icon•••This change partially implements the requested feature. The following are not supported yet. - Non-letter key handling on automatic temporary upper case layout. - Non-letter key handling on shift chording in caps lock layout. - Hint icons for manual temporary upper case layout are not final ones. Bug: 3193390 Change-Id: I636da99d1be05b1337935d87c6f4d140661e1cc8 Tadashi G. Takaoka2010-11-161-10/+4
* Should cancel both normal and shift long press timers•••Bug: 3132881 Change-Id: Ib89e2efa4e68e7d57ac1123df2ec6241f1b902d1 Tadashi G. Takaoka2010-11-101-2/+2
* Using distance to the edge of key as proximity detection•••Because there may be very long key, such as space bar on tablet, we should not use the distance between the touch point and the center of key as proximity detection. Instead of that, this change uses the distance between the point and the nearest edge of key as proximity detection. Also this change fixes the bug that space key (code 32) was not counted in proximity detection. Bug: 3164020 Bug: 3168138 Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278 Tadashi G. Takaoka2010-11-061-13/+1
* Rename LatinKeyboardBaseView class to KeyboardBaseView•••Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8 Tadashi Takaoka2010-11-051-3/+3
* am e32a77c6: am 9dce586e: Bugfix: IME gives haptic feedback when button wasn\...•••* commit 'e32a77c691567bdb3031d877e80786508bd47e4a': Bugfix: IME gives haptic feedback when button wasn't pressed Ken Wakasa2010-10-281-5/+6
|\
| * Bugfix: IME gives haptic feedback when button wasn't pressed•••bug: 3142416 Change-Id: If7630b89d6c2a8ec38e191c263c03f8f11d3c498 Ken Wakasa2010-10-291-5/+6
* | Revise caps lock sequences•••This change also fixes that the popup preview of ALT on symbol keyboard is not showing. Bug: 3122877 Bug: 3127255 Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211 Tadashi G. Takaoka2010-10-251-14/+24
* | Follow up change of If9472a2a•••This change is follow up of If9472a2acb029e56790dc4d19ab62e608c970175 Change-Id: I0a474a130f49e2acccbb5a164bdf2984a5bd9042 Tadashi G. Takaoka2010-10-131-4/+3
* | Fix merge that should have been manually merged•••master was still using the deleted constants in different places and Java 6 didn't like the imports. Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175 Kenny Root2010-10-101-2/+1
* | resolved conflicts for merge of 23d50bfb to master•••Change-Id: Ia3fd85bd0c231f7b910b14caad38fa453a2336f6 Kenny Root2010-10-101-12/+17
|\|
| * Reduce delay before mini popup keyboard is shown•••Before this change, the delay was 500 ms that came from ViewConfiguration.getLongPressTimeout(). This change reduces the delay to 400 ms. Bug: 3074984 Change-Id: Ia5af5e877a3c4bb29211ef4040c728ac09a9fe85 Tadashi G. Takaoka2010-10-081-12/+15
* | Add keyHintIcon attribute to BaseKeyboard.Key class•••This keyHintIcon attribute is used to specify hint icon drawable at top right corner of Key. Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c Tadashi G. Takaoka2010-10-051-6/+31
* | Unbundle Keyboard.java to BaseKeyboard.java•••Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c satok2010-10-021-6/+5
|/
* Mini keyboard works even while shift is being pressed•••Bug: 3038861 Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a Tadashi G. Takaoka2010-09-291-2/+3
* Fixed key code and key coordinates when move debounce has been in action•••This change refactors a key index and pointer position variables into a separate static inner class KeyState . This change also disables time debouncing. Bug: 3033737 Change-Id: Ie4fc37316c260330d8f0861e0771ea903a99cfce Tadashi G. Takaoka2010-09-281-119/+129
* 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-0/+5
* All keys should be processed before processing modifier key•••Bug: 2987077 Change-Id: I971c44be121d8780ec27aa1649fd0925e249fbbc Tadashi G. Takaoka2010-09-151-2/+10
* Add keyHysteresisDistance xml attribute•••This change also introduces MiniKeyboardKeyDetector and mini_keyboad_slide_allowance parameter to tune the key detection behavior. Bug: 2993769 Change-Id: I1932b0a382e172cb77b9e098ae182049c834dfe0 Tadashi G. Takaoka2010-09-141-7/+6
* Symbol key acts as modifier key•••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 Tadashi G. Takaoka2010-09-091-10/+17
* Dismiss mini keyboard when finger is released outside mini keyboard•••Bug: 2978975 Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794 Tadashi G. Takaoka2010-09-071-3/+7
* Fixed extra periods when chording with shift and space•••Actually it was caused by canceling repeat key (space and delete) when multiple pointer are touching. Bug: 2975041 Change-Id: If82183b9225efdace7b5418860b9664f1705b7ec Tadashi G. Takaoka2010-09-071-4/+7
* Support multi-touch only when device has distinct multi-touch panel•••Bug: 2973373 Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef Tadashi G. Takaoka2010-09-061-4/+30
* One alternate is treated as key action, not open mini keyboard•••This change also fixes bug#2973683. Bug: 2973546 Bug: 2973683 Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2 Tadashi G. Takaoka2010-09-031-1/+7
* Fix NPE in LatinKeyboardBaseView•••This change also refactors some mini-keyboard related methods in LatinKeyboardBaseView and PointerTracker class. Bug: 2973236 Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db Tadashi G. Takaoka2010-09-031-5/+9
* Support sliding pop-up mini-keyboard input•••TODO: - Remove close button on mini-keyboard - Dismiss mini-keyboard when finger leave the screen while no key is selected This change also renames some instance variables to have more meaningful name. Bug: 2959169 Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6 Tadashi G. Takaoka2010-09-031-1/+19
* Corresponding to TBR of Ie6cf6768•••This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Bug: 2959169 Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266 Tadashi G. Takaoka2010-09-021-4/+3
* Encapsulate vertical and horizontal correction values into KeyDetector.•••Bug: 2959169 Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Tadashi G. Takaoka2010-09-021-30/+30
* Add PointerTracker argument to long press related methods•••This change also adds debugging log to PointerTracker class Bug: 2959169 Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Tadashi G. Takaoka2010-09-021-6/+23
* Queuing PointerTracker to support n-key roll-over and shift modifier.•••Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f Tadashi G. Takaoka2010-09-021-1/+21
* Refactor PointerTracker to add isValidKeyIndex() predicate.•••Bug: 2910379 Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220 Tadashi G. Takaoka2010-09-021-22/+32
* Add new public attribute mPointerId to PointerTracker•••It is easier to track each pointer if a PointerTracker object keeps its pointer id. Bug: 2910379 Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba Tadashi G. Takaoka2010-09-021-1/+4
* Make abstract KeyDetector class•••The KeyDetector abstracts key detection algorithm. The ProximityKeyDetector is one of its concrete implementations. Another one that might be called XAxisKeyDetector will follow to realize the pop-up mini-keyboard behavior described in bug#2959169. Bug: 2959169 Change-Id: Idd3fc53282e6b721ec7a4ce500af8aba21ce07a3 Tadashi G. Takaoka2010-09-021-2/+2
* Track all pointers events•••Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01 Tadashi G. Takaoka2010-09-011-18/+0
* Introduce multiple PointerTracker•••Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2 Tadashi G. Takaoka2010-09-011-1/+1
* Make KeyDebounce class a top-level class and rename it to PointerTracker•••Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440 Tadashi G. Takaoka2010-09-011-0/+400