aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update shift state only when input field is restartedTadashi G. Takaoka2012-11-141-10/+5
| | | | | Bug: 7482766 Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285
* 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
* Merge "Fix gesture detection algorithm" into jb-mr1-devTadashi G. Takaoka2012-09-284-129/+172
|\
| * Fix gesture detection algorithmTadashi G. Takaoka2012-09-284-129/+172
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Temporarily suppress key popup preview after gesture input" into ↵Tadashi G. Takaoka2012-09-281-7/+21
|\ \ | |/ |/| | | jb-mr1-dev
| * Temporarily suppress key popup preview after gesture inputTadashi G. Takaoka2012-09-281-7/+21
| | | | | | | | | | Bug: 7244317 Change-Id: I39cdb0fbda51f3e4339301d9cc53403b1ad15409
* | Merge "Remove dead code for disabling gesture input after fast typing" into ↵Tadashi G. Takaoka2012-09-282-33/+0
|\ \ | | | | | | | | | jb-mr1-dev
| * | Remove dead code for disabling gesture input after fast typingTadashi G. Takaoka2012-09-282-33/+0
| |/ | | | | | | | | Bug: 7218902 Change-Id: Iccc1d4cf0dd3ac84b30c68e11eee9a6ad89f14c4
* / Ignore the broken file.Yuichiro Hanada2012-09-281-1/+3
|/ | | | | | bug: 7249561 Change-Id: If001bf75ef12b4d342a77e54706c7fed90c89afb
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-2789-140/+138
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Calculate default touch position correction data for keys on 4th rowTadashi G. Takaoka2012-09-272-17/+21
| | | | | | | | This change also disables touch position correction for Phone/Dvorak keyboard. Bug: 7243101 Change-Id: Idfcc7ad1feabbe6a81635dceba5be087401fa18b
* Use BinaryDictInputOutput to save UserHistoryDictionary.Yuichiro Hanada2012-09-273-354/+161
| | | | | | bug: 6669677 Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2
* Merge "Draw gesture trail that is above the keyboard" into jb-mr1-devTadashi G. Takaoka2012-09-263-46/+96
|\
| * Draw gesture trail that is above the keyboardTadashi G. Takaoka2012-09-263-46/+96
| | | | | | | | | | Bug: 7233992 Change-Id: Ia848543a9d008c68d6ecbc7f715aa6ccdba9d1c6
* | Add updateParentAddress.Yuichiro Hanada2012-09-261-0/+30
| | | | | | | | | | | | bug: 6669677 Change-Id: I353f8ae53720cdf7a809271a28cb703709609f53