aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/PointerTracker.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Follow up change of If9472a2aTadashi G. Takaoka2010-10-131-4/+3
| | | | | | This change is follow up of If9472a2acb029e56790dc4d19ab62e608c970175 Change-Id: I0a474a130f49e2acccbb5a164bdf2984a5bd9042
* Fix merge that should have been manually mergedKenny Root2010-10-101-2/+1
| | | | | | | master was still using the deleted constants in different places and Java 6 didn't like the imports. Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175
* resolved conflicts for merge of 23d50bfb to masterKenny Root2010-10-101-12/+17
|\ | | | | | | Change-Id: Ia3fd85bd0c231f7b910b14caad38fa453a2336f6
| * Reduce delay before mini popup keyboard is shownTadashi G. Takaoka2010-10-081-12/+15
| | | | | | | | | | | | | | | | | | 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
* | Add keyHintIcon attribute to BaseKeyboard.Key classTadashi G. Takaoka2010-10-051-6/+31
| | | | | | | | | | | | | | 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-6/+5
|/ | | | Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
* Mini keyboard works even while shift is being pressedTadashi G. Takaoka2010-09-291-2/+3
| | | | | Bug: 3038861 Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a
* Fixed key code and key coordinates when move debounce has been in actionTadashi G. Takaoka2010-09-281-119/+129
| | | | | | | | | 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
* Fix issue space key preview remains on screen and would not dismissTadashi G. Takaoka2010-09-221-0/+5
| | | | | | | | | | | | | | 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
* All keys should be processed before processing modifier keyTadashi G. Takaoka2010-09-151-2/+10
| | | | | Bug: 2987077 Change-Id: I971c44be121d8780ec27aa1649fd0925e249fbbc
* Add keyHysteresisDistance xml attributeTadashi G. Takaoka2010-09-141-7/+6
| | | | | | | | | This change also introduces MiniKeyboardKeyDetector and mini_keyboad_slide_allowance parameter to tune the key detection behavior. Bug: 2993769 Change-Id: I1932b0a382e172cb77b9e098ae182049c834dfe0
* Symbol key acts as modifier keyTadashi G. Takaoka2010-09-091-10/+17
| | | | | | | | | | 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
* Dismiss mini keyboard when finger is released outside mini keyboardTadashi G. Takaoka2010-09-071-3/+7
| | | | | | Bug: 2978975 Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794
* Fixed extra periods when chording with shift and spaceTadashi G. Takaoka2010-09-071-4/+7
| | | | | | | | Actually it was caused by canceling repeat key (space and delete) when multiple pointer are touching. Bug: 2975041 Change-Id: If82183b9225efdace7b5418860b9664f1705b7ec
* Support multi-touch only when device has distinct multi-touch panelTadashi G. Takaoka2010-09-061-4/+30
| | | | | Bug: 2973373 Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
* One alternate is treated as key action, not open mini keyboardTadashi G. Takaoka2010-09-031-1/+7
| | | | | | | | This change also fixes bug#2973683. Bug: 2973546 Bug: 2973683 Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
* Fix NPE in LatinKeyboardBaseViewTadashi G. Takaoka2010-09-031-5/+9
| | | | | | | | This change also refactors some mini-keyboard related methods in LatinKeyboardBaseView and PointerTracker class. Bug: 2973236 Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
* Support sliding pop-up mini-keyboard inputTadashi G. Takaoka2010-09-031-1/+19
| | | | | | | | | | | 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
* Corresponding to TBR of Ie6cf6768Tadashi G. Takaoka2010-09-021-4/+3
| | | | | | | This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Bug: 2959169 Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
* Encapsulate vertical and horizontal correction values into KeyDetector.Tadashi G. Takaoka2010-09-021-30/+30
| | | | | Bug: 2959169 Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
* Add PointerTracker argument to long press related methodsTadashi G. Takaoka2010-09-021-6/+23
| | | | | | | This change also adds debugging log to PointerTracker class Bug: 2959169 Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
* Queuing PointerTracker to support n-key roll-over and shift modifier.Tadashi G. Takaoka2010-09-021-1/+21
| | | | | Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f
* Refactor PointerTracker to add isValidKeyIndex() predicate.Tadashi G. Takaoka2010-09-021-22/+32
| | | | | Bug: 2910379 Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
* Add new public attribute mPointerId to PointerTrackerTadashi G. Takaoka2010-09-021-1/+4
| | | | | | | | It is easier to track each pointer if a PointerTracker object keeps its pointer id. Bug: 2910379 Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
* Make abstract KeyDetector classTadashi G. Takaoka2010-09-021-2/+2
| | | | | | | | | | 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
* Track all pointers eventsTadashi G. Takaoka2010-09-011-18/+0
| | | | | Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
* Introduce multiple PointerTrackerTadashi G. Takaoka2010-09-011-1/+1
| | | | | Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
* Make KeyDebounce class a top-level class and rename it to PointerTrackerTadashi G. Takaoka2010-09-011-0/+400
Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440