aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the amended user dictionary word for insertionJean Chalard2012-12-145-4/+189
| | | | | | | | | When the user edits a word before adding it to the user dictionary, the keyboard should replace whatever was committed before with the amended version. Bug: 7725834 Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
* Merge "Only add spaces automatically when appropriate." into jb-mr1.1-devJean Chalard2012-11-204-10/+36
|\
| * Only add spaces automatically when appropriate.Jean Chalard2012-11-194-10/+36
| | | | | | | | | | | | | | | | Correctly check the variations to determine if we should add automatic spaces (in manual picks and gestures) or not. Bug: 7164981 Change-Id: I19e25af839b4062c217113cd804b1473912f22a5
* | Add Spanish United States keyboard (DO NOT MERGE)Tadashi G. Takaoka2012-11-191-0/+8
|/ | | | | Bug: 7531804 Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
* Merge "Revert "Only add spaces automatically when appropriate."" into ↵Ken Wakasa2012-11-164-31/+10
|\ | | | | | | jb-mr1.1-dev
| * Revert "Only add spaces automatically when appropriate."Ken Wakasa2012-11-164-31/+10
| | | | | | | | | | | | | | This reverts commit 6ce66d1c7d4a5be9c6ed33e4f881994283d5eee9 Change-Id: I90004a5fea0bc7999ecf8742f883ff4dac264d8a bug: 7565414
* | Merge "Only add spaces automatically when appropriate." into jb-mr1.1-devJean Chalard2012-11-154-10/+31
|\|
| * Only add spaces automatically when appropriate.Jean Chalard2012-11-154-10/+31
| | | | | | | | | | Bug: 7164981 Change-Id: Id672104a0fda99c52923913fb0e40c3a1ead4787
* | Merge "Fix a bug with some text fields" into jb-mr1.1-devJean Chalard2012-11-141-1/+2
|\ \
| * | Fix a bug with some text fieldsJean Chalard2012-11-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure when this happens exactly, but it is possible that InputConnection#getTextBeforeCursor returns null. This happens for example upon rotating the screen with the composing field empty in Gmail. In this case, StringBuilder#append will convert the null pointer into the string "null", which is sure better than a crash, but can have a number of bad side-effects, like auto-caps not working. Bug: 7533034 Change-Id: Ia1cfab432c13a12ff1c2f013c59bac05a587f553
* | | Merge "Update shift state only when input field is restarted" into jb-mr1.1-devTadashi G. Takaoka2012-11-141-10/+5
|\ \ \
| * | | Update shift state only when input field is restartedTadashi G. Takaoka2012-11-141-10/+5
| | | | | | | | | | | | | | | | | | | | Bug: 7482766 Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285
* | | | Fix language switch key behavior (DO NOT MERGE)Tadashi G. Takaoka2012-11-141-16/+31
|/ / / | | | | | | | | | | | | Bug: 7075923 Change-Id: If139411db4aa65eed64337bf2a79387cfcd04496
* | | Merge "Make sure all FDs are correctly closed." into jb-mr1.1-devJean Chalard2012-11-131-11/+19
|\ \ \ | |/ / |/| |
| * | Make sure all FDs are correctly closed.Jean Chalard2012-11-131-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this kind of series of calls, it's possible that an outer call to a constructor fails, but the inner succeeded. Example: try { is = new A(new B()); } finally { if (null != is) is.close(); } In this case, if new B() succeeds but new A() throws an exception, is stays null and the intermediate object is never closed. This is what was happening in this instance. Bug: 7377336 Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
* | | Merge "Don't restrict reset composing state to non-identical setText" into ↵Jean Chalard2012-11-121-14/+10
|\ \ \ | |_|/ |/| | | | | jb-mr1.1-dev
| * | Don't restrict reset composing state to non-identical setTextJean Chalard2012-11-121-14/+10
| |/ | | | | | | | | Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
* / Refactor all phantom-space-inserted spaces in one placeJean Chalard2012-11-131-5/+10
|/ | | | | Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
* Reset the IME if requested by the app.Ken Wakasa2012-11-071-0/+4
| | | | | | | | | | | | | | | Specifically, reset the KeyboardState to the main Alphabet layout in LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get reloaded in the method. Please note TextView.setText() calls up resetInput(), then the IME should reset with it. bug: 7482086 Note that bug: 6851364 needs to be revisited. Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
* Assuming that NO_EXTRACT_UI mode is NO_FULSCREENSatoshi Kataoka2012-10-251-1/+10
| | | | | | Bug: 7393485 Bug: 7272829 Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
* Don't put spaces after characters that don't take oneJean Chalard2012-10-232-1/+7
| | | | | Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
* Merge "Have "no whitespace before cursor" upon gesture trigger phantom ↵Jean Chalard2012-10-162-0/+15
|\ | | | | | | space" into jb-mr1-dev
| * Have "no whitespace before cursor" upon gesture trigger phantom spaceJean Chalard2012-10-172-0/+15
| | | | | | | | | | | | | | Bug: 7359291 Bug: 7357758 Bug: 7197651 Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
* | Merge "Fix more suggestions text width calculation" into jb-mr1-devTadashi G. Takaoka2012-10-162-1/+7
|\ \
| * | Fix more suggestions text width calculationTadashi G. Takaoka2012-10-162-1/+7
| |/ | | | | | | | | Bug: 7345983 Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
* / Honor automatic shift turned off for gesturesJean Chalard2012-10-171-2/+2
|/ | | | | Bug: 7354129 Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
* Put temporary files under a separate directory.Jean Chalard2012-10-112-2/+15
| | | | | Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
* Use a freq of 1 instead of 0 for non-word shortcuts.Jean Chalard2012-10-091-1/+1
| | | | | | | Also fix a spelling mistake in a comment Bug: 7301525 Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
* Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT ↵Tadashi G. Takaoka2012-10-061-5/+8
| | | | | | | MERGE) Bug: 7299050 Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
* Merge "Unlink an old file before moving the new file over it" into jb-mr1-devKen Wakasa2012-10-041-0/+1
|\
| * Unlink an old file before moving the new file over itJean Chalard2012-10-041-0/+1
| | | | | | | | | | | | | | This is unlikely to be relevant to this bug, but just in case. Bug: 7274972 Change-Id: I56b31b377af16cc2c15ceb90a19792bed3aab367
* | Always consider a new line the start of a sentenceJean Chalard2012-10-041-5/+9
|/ | | | | Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
* Merge "Throw illegal argument exception in BinaryDictionary::editDistance" ↵Satoshi Kataoka2012-10-031-0/+3
|\ | | | | | | into jb-mr1-dev
| * Throw illegal argument exception in BinaryDictionary::editDistanceSatoshi Kataoka2012-10-031-0/+3
| | | | | | | | | | Bug: 7276803 Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a
* | Fix possible NPE caused while monkey testTadashi G. Takaoka2012-10-032-10/+16
|/ | | | | Bug: 7269036 Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
* Show gesture floating preview text by defaultTadashi G. Takaoka2012-10-012-5/+5
| | | | | Bug: 7244214 Change-Id: Ib4ab810ef50798828dd10c39a8077466165772e4
* Remove debug prints.Jean Chalard2012-10-012-12/+17
| | | | | Bug: 7226098 Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4
* Fix gesture detection algorithmTadashi G. Takaoka2012-09-281-14/+33
| | | | | | | | | | | This change also * Introduces adaptive gesture detecting threshold for time domain in addition to length domain. * Tunes the parameters for detecting gesture after fast typing. * Fixes a bug in dismissing gesture floating preview text. * Cleanup debug messages Bug: 7218902 Change-Id: Iafccd872c6efe0c3b5ae65fa40b04c80d9f139c7
* Ignore the broken file.Yuichiro Hanada2012-09-281-1/+3
| | | | | | bug: 7249561 Change-Id: If001bf75ef12b4d342a77e54706c7fed90c89afb
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-2761-100/+98
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Use BinaryDictInputOutput to save UserHistoryDictionary.Yuichiro Hanada2012-09-273-354/+161
| | | | | | bug: 6669677 Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2
* Add updateParentAddress.Yuichiro Hanada2012-09-261-0/+30
| | | | | | bug: 6669677 Change-Id: I353f8ae53720cdf7a809271a28cb703709609f53
* Add moved char groups.Yuichiro Hanada2012-09-263-11/+43
| | | | | | bug: 6669677 Change-Id: I372f841044fe8e076a50a80ac10b715e5f8fd4eb
* add capacity to FusionDictionaryBufferInterface.Yuichiro Hanada2012-09-252-0/+11
| | | | | | bug: 6669677 Change-Id: I4627093811a19c46ce13fe351d1db63cbd78cf4a
* Make getTerminalPosition read linked-list nodes.Yuichiro Hanada2012-09-251-32/+48
| | | | | | bug: 6669677 Change-Id: I599d276f430efe23d402695c325e23906b7705b3
* Make children addresses and parent addresses use signed addresses.Yuichiro Hanada2012-09-252-67/+166
| | | | | | | | Signed addresses are used only in version 3 with dynamic update. bug: 6669677 Change-Id: Iadaeab199b5019d2330b4573c24da74d64f0945e
* Merge "Add suggestion span upon starting a gesture." into jb-mr1-devJean Chalard2012-09-241-5/+11
|\
| * Add suggestion span upon starting a gesture.Jean Chalard2012-09-241-5/+11
| | | | | | | | | | Bug: 7196761 Change-Id: If60cb809b205159ced1887f94b7caf9775fcf3bb
* | Merge "Fix a bug where the cursor pos wouldn't be tracked correctly" into ↵Jean Chalard2012-09-241-1/+1
|\ \ | | | | | | | | | jb-mr1-dev
| * | Fix a bug where the cursor pos wouldn't be tracked correctlyJean Chalard2012-09-241-1/+1
| |/ | | | | | | | | | | | | This would cause Bug: 7208199 Change-Id: I8474985bfe349e1530b27bc98842937627bbe4e0