aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Always present suggestion strip whenever in appropriate mode.Ken Wakasa2010-09-011-13/+14
|/ | | | | | | Some cleanups too. bug: 2959293 Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
* Fix ArrayIndexOutOfBoundsException.Ken Wakasa2010-09-011-3/+5
| | | | | bug: 2964045 Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
* Refactor KeyDebounce classTadashi G. Takaoka2010-09-011-258/+304
| | | | | | | | | | | | | 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
* Merge "Refactor key preview methods" into gingerbreadTadashi G. Takaoka2010-08-311-48/+75
|\
| * Refactor key preview methodsTadashi G. Takaoka2010-08-311-48/+75
| | | | | | | | | | | | | | | | | | 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
* | Add settings buttonsatok2010-08-311-16/+1
|/ | | | | | - delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
* Merge "Remove mAbortKey flag completely" into gingerbreadTadashi G. Takaoka2010-08-301-22/+3
|\
| * Remove mAbortKey flag completelyTadashi G. Takaoka2010-08-311-22/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove extension keyboardTadashi G. Takaoka2010-08-303-193/+9
| | | | | | | | | | Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
* | Remove Log functions from Gingerbreadsatok2010-08-303-863/+9
| | | | | | | | Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
* | DO NOT MERGE. Remove a preference for bigram suggestionsatok2010-08-301-3/+5
|/ | | | Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
* 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
* Merge "Disable long-press on shift and symbol keys" into gingerbreadTadashi G. Takaoka2010-08-262-16/+1
|\
| * Disable long-press on shift and symbol keysTadashi G. Takaoka2010-08-272-16/+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
* | Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbreadsatok2010-08-261-1/+0
|\ \ | |/ |/|
| * Not to reset the ring buffer in LatinImeLoggersatok2010-08-271-1/+0
| | | | | | | | Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
* | Merge "Refactor onModifiedTouchEvent into several methods." into gingerbreadTadashi G. Takaoka2010-08-261-102/+115
|\ \ | |/ |/|
| * 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
* | Remove unused import statementTadashi G. Takaoka2010-08-271-1/+0
|/ | | | Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
* Refactor getKeyIndexAndNearbyCodes into independent classTadashi G. Takaoka2010-08-262-66/+122
| | | | | Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
* Refactor SwipeTracker classTadashi G. Takaoka2010-08-262-67/+91
| | | | | | | | | 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-264-40/+136
| | | | 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-252-110/+133
| | | | | 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
* Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbreadTadashi G. Takaoka2010-08-241-34/+36
|\
| * 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
* | Clean up LatinIME javasatok2010-08-2410-18/+4
|/ | | | | | | | - remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
* Fix LatinIME crashing due to crash in Contacts DBKen Wakasa2010-08-201-42/+51
| | | | | bug: 2895391 Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
* Fix an NPE found in KeyboardSwitcher.isAlphabetMode()Ken Wakasa2010-08-202-1/+4
| | | | Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-2026-615/+4758
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* am 65582531: Fix a bug in backspace handling for the "Tap again to save"Ken Wakasa2010-08-052-2/+27
|\ | | | | | | | | | | | | Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread * commit '6558253160e2039c87f424bd814f402ecd31de3b': Fix a bug in backspace handling for the "Tap again to save"
| * Fix a bug in backspace handling for the "Tap again to save"Ken Wakasa2010-08-062-2/+27
| | | | | | | | | | bug: 2889273 Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
* | am f0296426: Don\'t auto-select the system language in IME language ↵Amith Yamasani2010-05-044-6/+29
|\| | | | | | | | | | | | | | | | | selection screen. Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp * commit 'f02964264f196447b03a88591a2964b67c318718': Don't auto-select the system language in IME language selection screen.
| * Don't auto-select the system language in IME language selection screen.Amith Yamasani2010-05-034-6/+29
| | | | | | | | | | | | | | | | | | Fixes http://b/2650378 On entering the selection screen, don't add the system language in addition to other selected languages. Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
* | 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 f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveformValentin Kravtsov2010-04-141-4/+3
|\| | | | | | | | | | | | | Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp * commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3': Fix for: For Voice IME busy circle displayed below waveform
| * Fix for: For Voice IME busy circle displayed below waveformValentin Kravtsov2010-04-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugfix for: http://b/issue?id=2568048 [Sapphire] ]For Voice IME busy circle displayed below waveform. STEPS TO REPRODUCE: 1. launch Calendar . -> Select menu -> New Event. 2. Switch soft keyboard to Number view. 3. Tap on mic symbol of to speak 4. Speak any word to enter in Text field . 5. Verify busy icon ( circular icon ) displayed in "working " screen. EXPECTED RESULTS: Busy circle should be displayed in center of waveform OBSERVED RESULTS: Busy circle displayed below waveform ADDITIONAL INFORMATION: Spoken word is enetering in text field correctly. Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
* | 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-0514-16/+16
|/ | | | | | | | -use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
* Fix for 2559069 IME ".com" should be erasable with one backspaceAmith Yamasani2010-04-011-0/+15
| | | | Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
* 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