aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't re-allocate KeyDebouncer when keyboard is switched.Tadashi G. Takaoka2010-08-281-94/+94
| | | | | | | | This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
* Revert "Show key preview instantaneously"Tadashi G. Takaoka2010-08-271-4/+28
| | | | | | This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
* Show key preview instantaneouslyTadashi G. Takaoka2010-08-271-28/+4
| | | | | | | | | | | This change will display the key board preview instantaneously when the key is pressed. Dismissing the key preview will be delayed slightly after the key is released, as we do now. Because in multi touch mode, we should instantaneously change keyboard layout when modifier key, such as shit and symbol, is pressed. Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
* Refactor onModifiedTouchEvent into several methods.Tadashi G. Takaoka2010-08-271-102/+115
| | | | | | | | This change eliminates the need of extra MotionEvent allocation. Also this will lead to the easy way to handle multi touch events. Bug: 2910379 Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
* Refactor getKeyIndexAndNearbyCodes into independent classTadashi G. Takaoka2010-08-261-66/+9
| | | | | Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
* Refactor SwipeTracker classTadashi G. Takaoka2010-08-261-1/+0
| | | | | | | | | This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
* Add a log for getting coordinates of keyssatok2010-08-261-5/+14
| | | | Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
* Refactor gesture detector logicTadashi G. Takaoka2010-08-261-23/+9
| | | | | | | | | | | GestureDetector listener's onFling method will not call detectAndSendKey anymore. Make gesture detector be ignoring multitouch. Refactoring GestureDetector out of LatinKeyboardBaseView class change will follow. Bug: 2910379 Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
* Fix bugs in key repeat logicTadashi G. Takaoka2010-08-261-6/+8
| | | | | Bug: 2950714 Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
* Refactor SwipeTracker to top level classTadashi G. Takaoka2010-08-251-110/+0
| | | | | Bug: 2910379 Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
* Refactor key repeating related codeTadashi G. Takaoka2010-08-251-35/+50
| | | | | | | | | This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into UIHandler class. Also this eliminates mCurrentKey and mLastTapTime dependency from repeatKey method. Bug: 2910379 Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
* Refactor long press related codeTadashi G. Takaoka2010-08-251-18/+13
| | | | | | | | This change eliminates mCurrentKey dependency from openPopupIfRequired method. Also slightly cleanup onModifiedTouchEvent. Bug: 2910379 Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
* Refactor onModifiedTouchEvent of LatinKeyboardBaseViewTadashi G. Takaoka2010-08-251-34/+36
| | | | | | | | | | | This change simplifies onModifierTouchEvent to focus on handling motion event related to a key event. Other refactoring will follow in order to support multi touch. Bug: 2910379 Change-Id: I036be64168d951a535600a7910b36bc109f88490
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-201-0/+1633
TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963