aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Avoid race conditions between queries and closing of the auto_dict database.Amith Yamasani2010-03-311-29/+33
| | | | | | | | | | | | Keep a reference to the openhelper around across locale and input language changes. Also, share the openhelper between the queries and updates. Creating a new one in a separate thread could cause it to be closed at the wrong time. Monkey bugs, probably dupes. Bug: 2560471 Bug: 2544169 Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
* Fix bug 2553592 API REVIEW: android.speechJean-Michel Trivi2010-03-303-19/+19
| | | | | | | | Change 3 of 4 Notes from API Council review: Rename RecognitionManager to SpeechRecognizer Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
* Fix build breakage due to api changeAmith Yamasani2010-03-291-2/+2
| | | | Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
* Don't auto-add when in suggest-only mode. Bug: 2521344Amith Yamasani2010-03-242-8/+14
| | | | | | Also don't highlight quickfixes when in suggest-only mode In general, reduce the situations where words are auto-added. It was too eagerly adding even words that were in the dictionary.
* Write the auto dictionary data to disk in a background thread to avoid ↵Amith Yamasani2010-03-232-27/+72
| | | | | | | | | blocking the UI thread. Bug: 2536846 This also potentially fixes the occasional hangs on pressing space. Need to verify. Bug: 2509010
* Potential fix for extension keyboard not cleaning up bubbles sometimes.Amith Yamasani2010-03-191-7/+36
| | | | | | This might also fix the keyboard closing suddenly when using the extension. Re-enable bubble for landscape extension keyboard, since the framework can now display it to the side.
* Fix a StringIndexOutOfBounds. Bug: 2524050Amith Yamasani2010-03-171-1/+1
|
* Remove popup for extension keyboard in landscape. bug: 2519903Amith Yamasani2010-03-173-2/+31
| | | | | | | Also add a summary text in the input language list for languages with a dictionary so that users don't feel cheated when they pick a language that doesn't happen to have a dictionary. Remove greek as it isn't an extension of the QWERTY keyboard.
* Merge "Fix occasional correction errors in suggesting obvious corrections."Amith Yamasani2010-03-161-0/+16
|\
| * Fix occasional correction errors in suggesting obvious corrections.Amith Yamasani2010-03-141-0/+16
| | | | | | | | | | | | | | | | | | Bug: 2513996 The array of adjacent letters did not have the primary code in the first position. Swap the codes around to make the primary the first one. Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
* | Fixes the over-logging of TextModifiedMaryam Garrett2010-03-153-11/+179
|/ | | | | | | | | | | | | | We were overlogging the TextMoified action because the old implementation would log a cursor change as a text modification. This CL logs 4 specific actions (choose suggestion, delete text, insert text, insert punctuation) as a text modification rather than any action in the textbox I also add in logging of the length of the recognition result so that we can get some more context around the scope of the editing of the ime result. Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
* Fix bug: 2512075 : Current input language resets to first in list on ↵Amith Yamasani2010-03-121-9/+13
| | | | | | orientation change Have separate variables for system locale and input locale.
* 2175312 : IME suggestions stay on screen after switching orientation in ↵Amith Yamasani2010-03-101-1/+2
| | | | | | | search dialog Only show the candidate strip if the input view is showing. Otherwise ignore any completions from the AutoCompleteTextView
* Load UserDictionary and AutoDictionary in a background thread.Amith Yamasani2010-03-104-87/+94
| | | | | | | | | | | This is to avoid ANRs during bootup, as some of the providers may not have been initialized yet. Refactored the ContactsDictionary and moved the async loading code to ExpandableDictionary to share with the other dicts. Bug: 2501133 Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-0933-0/+8702
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986