aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (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
* Request update shift state after shift-chording inputTadashi G. Takaoka2012-11-211-0/+5
| | | | | Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
* 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-142-16/+39
|/ / / | | | | | | | | | | | | 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-073-0/+35
| | | | | | | | | | | | | | | 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-163-2/+9
|\ \
| * | Fix more suggestions text width calculationTadashi G. Takaoka2012-10-163-2/+9
| |/ | | | | | | | | Bug: 7345983 Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
* | Merge "Restrict bogus move event detector to a horizontal movement" into ↵Tadashi G. Takaoka2012-10-161-21/+30
|\ \ | | | | | | | | | jb-mr1-dev
| * | Restrict bogus move event detector to a horizontal movementTadashi G. Takaoka2012-10-161-21/+30
| |/ | | | | | | | | | | | | | | The bogus move detection threshold is in proportional to a diagonal length of a key. It was in proportional to a key width. Bug: 7346614 Change-Id: I796add8aea16dd05e9844d6c4fba8072eece39c6
* / Honor automatic shift turned off for gesturesJean Chalard2012-10-172-3/+5
|/ | | | | Bug: 7354129 Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
* Merge "Detect bogus down-move-up event and add workaround" into jb-mr1-devTadashi G. Takaoka2012-10-121-35/+144
|\
| * Detect bogus down-move-up event and add workaroundTadashi G. Takaoka2012-10-121-35/+144
| | | | | | | | | | Bug: 7032858 Change-Id: I2e76bf49f1e07b436d05c19881e2f2c4fed21621
* | Merge "Put temporary files under a separate directory." into jb-mr1-devKen Wakasa2012-10-112-2/+15
|\ \ | |/ |/|
| * Put temporary files under a separate directory.Jean Chalard2012-10-112-2/+15
| | | | | | | | | | Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
* | Don't cancel long press timer too earlyTadashi G. Takaoka2012-10-112-4/+2
|/ | | | | Bug: 7328861 Change-Id: I1b77ec4a30ae15b2edda42a1ff58ebc528288553
* Merge "Use a freq of 1 instead of 0 for non-word shortcuts." into jb-mr1-devKen Wakasa2012-10-091-1/+1
|\
| * 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
* | Tuning gesture detection parametersTadashi G. Takaoka2012-10-092-36/+30
|/ | | | | Bug: 7032858 Change-Id: Ie4f952aa33b99ce16027500a596d723ee9bafae9
* Merge "Add separate key hysteresis distance for sliding modifier input" into ↵Tadashi G. Takaoka2012-10-063-22/+44
|\ | | | | | | jb-mr1-dev
| * Add separate key hysteresis distance for sliding modifier inputTadashi G. Takaoka2012-10-073-22/+44
| | | | | | | | | | Bug: 7294402 Change-Id: I78c8be9e1a7b2d49d86bfe1e3a46d1785bfe5d48
* | Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT ↵Tadashi G. Takaoka2012-10-061-5/+8
|/ | | | | | | MERGE) Bug: 7299050 Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
* Fix detecting fast typing algorithm and parameterTadashi G. Takaoka2012-10-052-21/+95
| | | | | Bug: 7032858 Change-Id: I5ed701e2394d16e43258a3c22d59991cb18adce8
* Move gesture detection and recognition paramters to resourcesTadashi G. Takaoka2012-10-053-46/+104
| | | | | Bug: 7032858 Change-Id: I66570a5e21cdeede1eba420c597f440ab61aa941
* 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-033-11/+21
|/ | | | | Bug: 7269036 Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
* Show gesture floating preview text by defaultTadashi G. Takaoka2012-10-013-7/+18
| | | | | Bug: 7244214 Change-Id: Ib4ab810ef50798828dd10c39a8077466165772e4
* Remove debug prints.Jean Chalard2012-10-012-12/+17
| | | | | Bug: 7226098 Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4