aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for correction mode - reliably show the corrections when tapping on a ↵Amith Yamasani2010-08-173-80/+143
| | | | | | | | | | | | | | word. Also, continue to show the corrections when user keeps replacing the word repeatedly with different corrections from the suggestion strip. There were problems with tapping suggestions quickly or tapping the same suggestion more than once (same length). Also fixes Bug: 2852891 - Text suggestion appears incorrectly when selecting text that's not a whole word. Changed the TextEntryState states to an enum type instead of int. Needed it to show the states for debugging purposes.
* Fixed default preference issue.Yohei Fujii2010-08-171-0/+1
| | | | Change-Id: I6d12bc054fde0fe3ea03b673e7b5b7d7f8db8d54
* Fixed the issue of popup enabled when i change to symbol keyboard.Yohei Fujii2010-08-132-1/+5
| | | | | Bug:2909517 Change-Id: I1c010b1079a04ff3b08d690c536fbe8d4414ea14
* Revert the open-source LatinIME package name -Ken Wakasa2010-08-132-3/+4
| | | | | | | | | | from com.google.android.inputmethod.latin to com.android.inputmethod.latin Related change: https://android-git.corp.google.com/g/60862 bug: 2786392 Change-Id: Ib7c6cfe61db19ef50c401a01497eef5f1f5e239e
* add new preference for popup previewYohei Fujii2010-08-121-0/+5
| | | | | | | | this option is disabled as the default at x-large Bug:2909517 Change-Id: Ifda1b7ff89bc4beeee02ba0f3e01d441a9435b37
* -UserBigramJae Yong Sung2010-08-107-59/+486
| | | | | | | -UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
* Fix for NPE in saveWordInHistoryAmith Yamasani2010-08-051-0/+5
| | | | Bug: 2898207
* am b608a93c: am 6511376f: am 65582531: Fix a bug in backspace handling for ↵Ken Wakasa2010-08-052-2/+27
|\ | | | | | | | | | | | | | | | | the "Tap again to save" Merge commit 'b608a93c0f3087b191c88cd75665886b7c52015e' * commit 'b608a93c0f3087b191c88cd75665886b7c52015e': Fix a bug in backspace handling for the "Tap again to save"
| * 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
* | | Fix possible NPE and IndexOutOfBoundsException.Tadashi G. Takaoka2010-07-291-7/+8
| | | | | | | | | | | | | | | Bug: 2868304 Change-Id: I2c474736fb9bb95da9e04bdeb9b9b641e7c3adda
* | | Merge "Fix NPE introduced by Change-Id: ↵Tadashi G. Takaoka2010-07-291-10/+16
|\ \ \ | | | | | | | | | | | | Ie482167b2ae2804fa1aa43ffb5067af47b7553f1"
| * | | Fix NPE introduced by Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1Tadashi G. Takaoka2010-07-291-10/+16
| | | | | | | | | | | | | | | | | | | | Bug: 2868304 Change-Id: I60895e76c4288d4e0e960e5ba22cb47c4b989bf3
* | | | Merge "Add a layout for a black-characters based theme"satok2010-07-281-14/+41
|\ \ \ \ | |/ / / |/| | |
| * | | Add a layout for a black-characters based themesatok2010-07-291-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | bug: 2838151 Change-Id: Ia7136ac7432258386a53ebec2b26251c8caae0ea
* | | | Fix grammar error in commentTadashi G. Takaoka2010-07-281-2/+2
| | | | | | | | | | | | | | | | Change-Id: I728c2fefcf3c22d30d192a9f4b3aedad4eddc2ed
* | | | Fix inconsistency between pop-up preview key and input keyTadashi G. Takaoka2010-07-281-17/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue is caused by three reasons. - In touch move event and while time debouncing is going on, wrong key is shown as pop-up preview. - There is no pop-up preview key shown when touch up event occurs and also showing pop-up preview message is unintentionally canceled. - In detectAndSendKey() method, nearby keys' primary codes are mistakenly sent as Key codes. This is the last of three changes to fix bug #2868304 Bug: 2868304 Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
* | | | Merge "Add hysteresis movement key debouncing"Tadashi G. Takaoka2010-07-281-16/+24
|\ \ \ \ | |/ / / |/| | |
| * | | Add hysteresis movement key debouncingTadashi G. Takaoka2010-07-281-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When key is pressed, each key will have a halo which is 0.05 inch wider than the key. Bug: bug2517112 Change-Id: I1368ff4af5f5d230b8c2f0c05c3c27bdb89027ae
* | | | - separate dict (uses xml)Jae Yong Sung2010-07-288-89/+386
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | - retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
* | | Refactor move and time de-bouncing codes into separate static classTadashi G. Takaoka2010-07-271-63/+124
| | | | | | | | | | | | | | | | | | | | | This is the second one of three changes to fix the bug#2868304. Bug: 2868304 Change-Id: I11a6d2e501888da98faf0c88c8d861c508d500fc
* | | Merge "Read the alternatives from the server-side"Maryam Garrett2010-07-271-19/+57
|\ \ \
| * | | Read the alternatives from the server-sideMaryam Garrett2010-07-261-19/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will parse the voice-search word-based alternatives from the bundle returned by the server, rather than generating them on the client. Change-Id: I7d7abc224de3ab8f37eca18632a427d39fd61a78
* | | | Merge "Add a logging code to send Bigram data"satok2010-07-274-68/+125
|\ \ \ \
| * | | | Add a logging code to send Bigram datasatok2010-07-274-68/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - with some cleanups Change-Id: I737c9ee7f148f94e6299d6e962dda82701454759
* | | | | Merge "Refactor UI message handling class to be more readable"Tadashi G. Takaoka2010-07-261-40/+73
|\ \ \ \ \
| * | | | | Refactor UI message handling class to be more readableTadashi G. Takaoka2010-07-261-40/+73
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first one of three changes to fix the bug#2868304. Bug: 2868304 Change-Id: I2eb31c0966b2a7695e19aed7fceb13dad0c5bf0d
* / / / / Updating keyboard ids must happen everytime makeKeyboards() is calledTadashi G. Takaoka2010-07-261-3/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In makeKeyboards(), there is a fall through pass in which the keyboards' id (mSymbolsId and mSymbolsShiftedId) will not be updated. Then in toggleShift(), current keyboard id (mCurrentId) will not match any of two and nothing happens. Bug: 2825858 Change-Id: Iaf8a7368f513b35cf77a67794ecd3e21aa08484b
* | | | Enable re-edit featuresatok2010-07-201-2/+0
| | | | | | | | | | | | | | | | Change-Id: I4c6a9ddf3f3c4eb35076f4ed27e009462cfc2e9e
* | | | Merge "Change the default vaule of Log to be false"Ken Wakasa2010-07-201-1/+1
|\ \ \ \
| * | | | Change the default vaule of Log to be falsesatok2010-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I8a3c0ce81b67e27b7559b534b4ccde2ad0783dbc
* | | | | Prepare for master mergeKen Wakasa2010-07-201-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename the jni library name - Revert the local cert - LatinIme2Google -> LatinIME Please note that we'll use the new package name: com.google.android.inputmethod.latin Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
* | | | Merge remote branch 'goog/master'satok2010-07-172-9/+39
|\| | | | | | | | | | | | | | | | | | | Conflicts: java/src/com/android/inputmethod/latin/LatinIME.java
| * | | Merge "Slightly reluctant to scroll candidate strip to be able to easily ↵Tadashi G. Takaoka2010-07-161-1/+12
| |\ \ \ | | | | | | | | | | | | | | | choose the suggestion"
| | * | | Slightly reluctant to scroll candidate strip to be able to easily choose the ↵Tadashi G. Takaoka2010-07-161-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suggestion Also fixed the comment of mMinTouchableWidth Bug: 2581826 Change-Id: Idc79186b0647b0e7e7ec889488b019b7db5241ad
| * | | | Underlining for correction is causing problems with styled text. Disable for ↵Amith Yamasani2010-07-161-8/+27
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now. Disable until we find a cleaner solution to highlighting for correction (may need a framework change). Removed a check for VoiceInput.DELETE_SYMBOL, which is not in use any more.
* | | | Comment out re-editing featuresatok2010-07-161-2/+4
| | | | | | | | | | | | | | | | Change-Id: Ib4ffee3a00b8dae75e3472ccdfcb3765625ed4ed
* | | | Fix build failure by adding an inputsatok2010-07-161-3/+5
| | | | | | | | | | | | | | | | Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5
* | | | Merge remote branch 'goog/master'satok2010-07-167-61/+249
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: java/res/xml/prefs.xml java/src/com/android/inputmethod/latin/BinaryDictionary.java java/src/com/android/inputmethod/latin/Dictionary.java java/src/com/android/inputmethod/latin/ExpandableDictionary.java java/src/com/android/inputmethod/latin/LatinIME.java java/src/com/android/inputmethod/latin/Suggest.java tests/src/com/android/inputmethod/latin/tests/SuggestTests.java
| * | | added bigram predictionJae Yong Sung2010-07-136-41/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
| * | | Fix some bugs in editing featureAmith Yamasani2010-07-092-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed caching of words - some StringBuilders were being recycled while also being cached. Making copies now. - Fixed regression in revert - don't reset the word composer after saving the accepted word. - Removed flicker when cursoring through a word - delay the abortCorrection() until we need to and do the correction as an atomic operation. - Fixed replacing of "selected" words (double-tap to select a word) Still to do: - Remove flicker on highlighting a word - may need a framework change - Don't remove spans on text that's already in the text field - may require a framework change. - Figure out what to do about the punctuations that share the suggestion strip when in correction mode.
* | | | Disable re-editting feature.satok2010-07-021-2/+3
| | | | | | | | | | | | | | | | Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
* | | | Show preview of F1 keys properlysatok2010-07-021-6/+1
| | | | | | | | | | | | | | | | Change-Id: Ie1c6a13efcada09d29c1006224dcf54000c14283
* | | | Merge "Null check at BackToAcceptedDefault"satok2010-07-012-2/+3
|\ \ \ \
| * | | | Null check at BackToAcceptedDefaultsatok2010-07-022-2/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib232475520f822bf8613258afb9638e1be50d7f7
* | | | | Fix the mic icon key is not black in the black scheme.satok2010-07-021-6/+6
|/ / / / | | | | | | | | | | | | Change-Id: I2be3507019601bc93a3e49cc60777e1515f53dc4
* | | | Merge "Add key debounce. bug: 2517112"Ken Wakasa2010-06-301-1/+14
|\ \ \ \
| * | | | Add key debounce. bug: 2517112Ken Wakasa2010-07-011-1/+14
| | | | | | | | | | | | | | | | | | | | Change-Id: I461e481226395ce8964003c2ad1f4af888c6f7f9
* | | | | Fix NPE on logging wordssatok2010-07-011-1/+2
|/ / / / | | | | | | | | | | | | Change-Id: Idb01cc3226a979de656b30e57422bb35b25d13fa
* | | | Merge commit 'goog/master'satok2010-07-015-59/+332
|\| | | | | | | | | | | | | | | | | | | Conflicts: java/src/com/android/inputmethod/latin/LatinIME.java