aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Code cleanup•••Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b Ken Wakasa2010-09-101-25/+16
* Dismiss mini keyboard when finger is released outside mini keyboard•••Bug: 2978975 Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794 Tadashi G. Takaoka2010-09-071-0/+9
* 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-21/+18
* Disable pop-up preview on mini keyboard•••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 Tadashi G. Takaoka2010-09-061-1/+2
* Support multi-touch only when device has distinct multi-touch panel•••Bug: 2973373 Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef Tadashi G. Takaoka2010-09-061-1/+50
* 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/+1
* Move inflating mini keyboard code into separate method•••Change-Id: Iba8e43ba6125e559d4c7d9cadb6bcb13b8eefc83 Tadashi G. Takaoka2010-09-031-82/+93
* 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-37/+30
* Propagate preview enable attribute to mini-keyboard•••Bug: 2959169 Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51 Tadashi G. Takaoka2010-09-031-0/+1
* Remove close button from mini keyboard•••Bug: 2959169 Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393 Tadashi G. Takaoka2010-09-031-12/+1
* 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-29/+55
* Encapsulate vertical and horizontal correction values into KeyDetector.•••Bug: 2959169 Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Tadashi G. Takaoka2010-09-021-27/+17
* 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-9/+10
* Queuing PointerTracker to support n-key roll-over and shift modifier.•••Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f Tadashi G. Takaoka2010-09-021-3/+64
* 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-2/+1
* 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-14/+9
* Track all pointers events•••Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01 Tadashi G. Takaoka2010-09-011-36/+26
* Introduce multiple PointerTracker•••Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2 Tadashi G. Takaoka2010-09-011-26/+54
* Make KeyDebounce class a top-level class and rename it to PointerTracker•••Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440 Tadashi G. Takaoka2010-09-011-421/+40
* Fix ArrayIndexOutOfBoundsException.•••bug: 2964045 Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f Ken Wakasa2010-09-011-3/+5
* Refactor KeyDebounce class•••This change moves the following methods into KeyDebounce class. - MotionEvent handling methods (onDownEvent etc.). - Keyboard action event generator method (detectAndSendKey). - Multi-tap key support methods (resetMultiTap etc.). - Key preview text generator method (getPreviewText). The change that makes KeyDebounce a top-level class will follow. Bug: 2910379 Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be Tadashi G. Takaoka2010-09-011-258/+304
* Refactor key preview methods•••Extract key press and release handling out of previewKey() to KeyDebouncer class. And pass Key object as argument of previewKey() instead of key index. Bug: 2910379 Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341 Tadashi G. Takaoka2010-08-311-48/+75
* Remove mAbortKey flag completely•••These three conditions assign true to the mAbortKey flag. 1. setKeyboard() sets the new keyboard layout. 2. long press shows the pop-up mini keyboard. 3. ACTION_CANCEL event is occurred. In the case 1, in LatinIME so far, only "symbol key" and "language switch" cause keyboard layout change. In both cases, the event is occurred in onUpEvent(), so we do not need to worry about aborting event. In the case 2, long press is used only to pop-up mini-keyboard and at that time mMiniKeyboardOnScreen could be used as a flag. In the case 3, though I'm not sure when this case occurs, in onCancelEvent() all the things that should be canceled are canceled in onCancelEvent(). Bug: 2910379 Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc Tadashi G. Takaoka2010-08-311-22/+3
* Don't re-allocate KeyDebouncer when keyboard is switched.•••This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e Tadashi G. Takaoka2010-08-281-94/+94
* Revert "Show key preview instantaneously"•••This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86 Tadashi G. Takaoka2010-08-271-4/+28
* Show key preview instantaneously•••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 Tadashi G. Takaoka2010-08-271-28/+4
* Refactor onModifiedTouchEvent into several methods.•••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 Tadashi G. Takaoka2010-08-271-102/+115
* Refactor getKeyIndexAndNearbyCodes into independent class•••Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1 Tadashi G. Takaoka2010-08-261-66/+9
* Refactor SwipeTracker class•••This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402 Tadashi G. Takaoka2010-08-261-1/+0
* Add a log for getting coordinates of keys•••Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2 satok2010-08-261-5/+14
* Refactor gesture detector logic•••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 Tadashi G. Takaoka2010-08-261-23/+9
* Fix bugs in key repeat logic•••Bug: 2950714 Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4 Tadashi G. Takaoka2010-08-261-6/+8
* Refactor SwipeTracker to top level class•••Bug: 2910379 Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2 Tadashi G. Takaoka2010-08-251-110/+0
* Refactor key repeating related code•••This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into UIHandler class. Also this eliminates mCurrentKey and mLastTapTime dependency from repeatKey method. Bug: 2910379 Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c Tadashi G. Takaoka2010-08-251-35/+50
* Refactor long press related code•••This change eliminates mCurrentKey dependency from openPopupIfRequired method. Also slightly cleanup onModifiedTouchEvent. Bug: 2910379 Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c Tadashi G. Takaoka2010-08-251-18/+13
* Refactor onModifiedTouchEvent of LatinKeyboardBaseView•••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 Tadashi G. Takaoka2010-08-251-34/+36
* DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963 satok2010-08-201-0/+1633