aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-13Make sure all FDs are correctly closed.Jean Chalard1-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
2012-11-07Reset the IME if requested by the app.Ken Wakasa3-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
2012-10-25Assuming that NO_EXTRACT_UI mode is NO_FULSCREENSatoshi Kataoka1-1/+10
Bug: 7393485 Bug: 7272829 Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
2012-10-24Update AOSP dictionaries.Jean Chalard5-0/+0
Changes : - Add "emoji" - Change the whitelist target of "foo" from "for" to "too" - Fix non-word frequencies to 0 - Fix the freq of common en_US vs en_GB words - Add "connection" to the en_GB dictionary Bug: 7368441 Bug: 7370033 Bug: 7371955 Change-Id: Ib22a97e97b486b05012d5496619557f406c441b9
2012-10-23Don't put spaces after characters that don't take oneJean Chalard2-1/+7
Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
2012-10-18Don't consider non-words for split word suggestionJean Chalard1-1/+2
Bug: 7368683 Change-Id: Iecd8348be788e5a749dafabdf7eddc4a14d901e0
2012-10-18Update AOSP dictionaries.Jean Chalard7-0/+0
Differences : oh 90 -> 105 ooh 54 -> 54 hoy,kinkier,kinkiest,kinkiness,kinkily,kinky -> 0 trst -> remove New whitelist entries (actually old that had not been applied) "berm" -> "been" "foe" -> "for" "hid" -> "his" "thong" -> "thing" French : Add "six" and remove some non-words Bug: 7329149 Bug: 7356297 Change-Id: I55092f0538db8627148b0a314e50eff926c47275
2012-10-17Have "no whitespace before cursor" upon gesture trigger phantom spaceJean Chalard2-0/+15
Bug: 7359291 Bug: 7357758 Bug: 7197651 Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
2012-10-16Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I16dccd4bf5897d4b62a4642fbb3d24bd379deb4e Auto-generated-cl: translation import
2012-10-16Restrict bogus move event detector to a horizontal movementTadashi G. Takaoka1-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
2012-10-16Fix more suggestions text width calculationTadashi G. Takaoka3-2/+9
Bug: 7345983 Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
2012-10-17Honor automatic shift turned off for gesturesJean Chalard2-3/+5
Bug: 7354129 Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
2012-10-12Let's enhanceJason Chen8-1/+1
Add mipmap-* launcher icon assets. Remove drawable-* based assests. Change over reference to mipmap icon. Bug: 6718166 Change-Id: I01f84a03fd1be0ced9cce9cff322a5fe02820075
2012-10-12Detect bogus down-move-up event and add workaroundTadashi G. Takaoka3-36/+145
Bug: 7032858 Change-Id: I2e76bf49f1e07b436d05c19881e2f2c4fed21621
2012-10-11Put temporary files under a separate directory.Jean Chalard2-2/+15
Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
2012-10-11Don't cancel long press timer too earlyTadashi G. Takaoka2-4/+2
Bug: 7328861 Change-Id: I1b77ec4a30ae15b2edda42a1ff58ebc528288553
2012-10-10Import translations. DO NOT MERGEBaligh Uddin1-3/+3
Change-Id: I0a766dd5b65f375276e30c588bb202f6718a8892 Auto-generated-cl: translation import
2012-10-09Fix a bug in multiple shortcut handling code.Jean Chalard1-1/+0
Bug: 7301525 Change-Id: Ib38f5ab4b7e4f7996bccbc6830d46f52fd71c6f9
2012-10-09Use a freq of 1 instead of 0 for non-word shortcuts.Jean Chalard2-2/+2
Also fix a spelling mistake in a comment Bug: 7301525 Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
2012-10-09Tuning gesture detection parametersTadashi G. Takaoka3-37/+31
Bug: 7032858 Change-Id: Ie4f952aa33b99ce16027500a596d723ee9bafae9
2012-10-07Add separate key hysteresis distance for sliding modifier inputTadashi G. Takaoka6-22/+48
Bug: 7294402 Change-Id: I78c8be9e1a7b2d49d86bfe1e3a46d1785bfe5d48
2012-10-06Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT ↵Tadashi G. Takaoka1-5/+8
MERGE) Bug: 7299050 Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
2012-10-05Import translations. DO NOT MERGEBaligh Uddin1-2/+2
Change-Id: If42a2ec942dd630d4d17e37536a197ba29431580 Auto-generated-cl: translation import
2012-10-05Follow up change for I5f166a738f6e84a1b807beSatoshi Kataoka1-4/+4
Bug: 7283955 Change-Id: Iec716d75e7c8a727b198688f44ef4a8cd1255ec1
2012-10-05Fix addtional proximity correctionSatoshi Kataoka1-12/+12
Change-Id: I3125764b98af28ce423dc12cbf0dac321ef22386
2012-10-05Fix detecting fast typing algorithm and parameterTadashi G. Takaoka5-22/+101
Bug: 7032858 Change-Id: I5ed701e2394d16e43258a3c22d59991cb18adce8
2012-10-05Move gesture detection and recognition paramters to resourcesTadashi G. Takaoka6-46/+149
Bug: 7032858 Change-Id: I66570a5e21cdeede1eba420c597f440ab61aa941
2012-10-05Add notice for Lexiteria dictionaries.Jean Chalard1-0/+2
Bug: 7285172 Change-Id: Ib4f4e433850d3f58e0a7cef205be4dc59c7f28c4
2012-10-04Import translations. DO NOT MERGEBaligh Uddin2-4/+4
Change-Id: Idc0d44ee84d88674227a95bb5556a99a01eb3d30 Auto-generated-cl: translation import
2012-10-04Always consider a new line the start of a sentenceJean Chalard2-5/+17
Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
2012-10-04Fix the Danish dictionaryJean Chalard1-0/+0
Human error: this contained "Nederlands" ("Dutch" in Dutch) as the human-readable description in the header. Bug: 7272686 Change-Id: I7a67e7bf1afca6928de7825fb63c5b213e8d7978
2012-10-04Unlink an old file before moving the new file over itJean Chalard1-0/+1
This is unlikely to be relevant to this bug, but just in case. Bug: 7274972 Change-Id: I56b31b377af16cc2c15ceb90a19792bed3aab367
2012-10-03Import translations. DO NOT MERGEBaligh Uddin16-35/+35
Change-Id: I7bbc24fdd81a547e25e66e07fd982fe949a19bcc Auto-generated-cl: translation import
2012-10-03Update the AOSP dictionaries for the 0-freq reviewJean Chalard4-0/+0
Bug: 7227265 Change-Id: I384f7d76cef67b96b106ddac96e4baf1fa32afd4
2012-10-03Throw illegal argument exception in BinaryDictionary::editDistanceSatoshi Kataoka1-0/+3
Bug: 7276803 Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a
2012-10-03Fix possible NPE caused while monkey testTadashi G. Takaoka3-11/+21
Bug: 7269036 Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
2012-10-02Import translations. DO NOT MERGEBaligh Uddin17-67/+47
Change-Id: I98e36c91c1678a0452b42c7afda6c3bc08b3b3e6 Auto-generated-cl: translation import
2012-10-01Show gesture floating preview text by defaultTadashi G. Takaoka4-9/+20
Bug: 7244214 Change-Id: Ib4ab810ef50798828dd10c39a8077466165772e4
2012-10-01Import translations. DO NOT MERGEBaligh Uddin37-633/+323
Change-Id: I8f8c7f722d6fe55146428305f0a12b5e1b1d8dce Auto-generated-cl: translation import
2012-10-01Remove debug prints.Jean Chalard2-12/+17
Bug: 7226098 Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4
2012-09-28Import translations. DO NOT MERGEBaligh Uddin15-300/+150
Change-Id: I4ae7e56a20803cc9c3d5ba2d85db1ea63c943303 Auto-generated-cl: translation import
2012-09-28Fix gesture detection algorithmTadashi G. Takaoka4-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
2012-09-28Temporarily suppress key popup preview after gesture inputTadashi G. Takaoka1-7/+21
Bug: 7244317 Change-Id: I39cdb0fbda51f3e4339301d9cc53403b1ad15409
2012-09-28Remove dead code for disabling gesture input after fast typingTadashi G. Takaoka5-37/+0
Bug: 7218902 Change-Id: Iccc1d4cf0dd3ac84b30c68e11eee9a6ad89f14c4
2012-09-28Import translations. DO NOT MERGEBaligh Uddin1-4/+2
Change-Id: I3748ecaecef1f07e1537831eb0f7c5503a460b56 Auto-generated-cl: translation import
2012-09-28Ignore the broken file.Yuichiro Hanada1-1/+3
bug: 7249561 Change-Id: If001bf75ef12b4d342a77e54706c7fed90c89afb
2012-09-27Cleanups in LatinIME native source codeKen Wakasa4-9/+9
Change-Id: I9b5e57583deb2d0c980e66c3dfbfd1e12734bc8e
2012-09-27Cleanup: Make some classes as finalTadashi G. Takaoka89-140/+138
Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
2012-09-27Calculate default touch position correction data for keys on 4th rowTadashi G. Takaoka36-30/+124
This change also disables touch position correction for Phone/Dvorak keyboard. Bug: 7243101 Change-Id: Idfcc7ad1feabbe6a81635dceba5be087401fa18b
2012-09-27Use BinaryDictInputOutput to save UserHistoryDictionary.Yuichiro Hanada4-354/+270
bug: 6669677 Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2