aboutsummaryrefslogtreecommitdiffstats
path: root/java (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
* Fix IME settings iconsJason Chen2012-12-054-0/+0
| | | | | | | | Imported assets were too small. Fixed by pulling in the correctly sized assets. Bug: 7556843 Change-Id: I182181d258f8797ec3fbf9b2cbe1380d71a8075a
* Merge "Match RU dictionary header." into jb-mr1.1-devJean Chalard2012-11-261-0/+0
|\
| * Match RU dictionary header.Jean Chalard2012-11-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the changes of I837831b1 to MR1.1 >>> dictionaries/ru_wordlist.combined.gz >>> java/res/raw/main_ru.dict Header : date : 1353500945 <=> 1353567943 MULTIPLE_WORDS_DEMOTION_RATE : null <=> 0 Body : No differences Bug: 7540132 Change-Id: I81f281fda881ad1252cdf6cf2d0947a12a2dac27
* | Merge "Update the dictionaries" into jb-mr1.1-devJean Chalard2012-11-267-0/+0
|\|
| * Update the dictionariesJean Chalard2012-11-227-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the dictionaries to the same level as master. The change in master reflected by this change is I94fe7f8f. - XML de dict : Update header only. - XML en dict : Add the not_a_word flag to all whitelist entries. Demote "il:92" and "shel:52" to freq 0. - XML en_GB dict : Add the not_a_word flag to all whitelist entries. Add "milk:122" and "practice:143" - XML fr dict : Add missing words : "Nostradamus:40" "défendais:30" "gmail:50" "générale:140" "hm:0" "hmm:0" "y'en:130" "l'apocalypse:31" "m'épuise:30" "recontacter:80" "t'annonce:30" Set freq of non-word shortcuts for digraphs to 1 instead of 0, allowing to gesture them. - XML ru dict : Remove a lot of two-character non-words. - Binary de dict : Remove the obsolete "options" header, and add the "dictionary" header. - Binary en dict : Flag "hoe" "hoes" "il" "shel" as non-words. Also drop freq of "il" and "shel" to 0 Add the "locale" header that was missing. - Binary es dict : Add the "dictionary" header. - Binary fr dict : Add the same words as above. Non-word shortcuts were already set to 1. - Binary it dict : Add a "dictionary" header. Also change freq of "Šarapova" from 50 to 37; not sure why it was 50. - Binary pt_BR dict : Add a "dictionary" header. - Binary ru dict : Add a "dictionary" header and remove the same words as above. Bug: 7458565 Change-Id: I22dd176ed2df99b847047f2d1045f6d861ccb8b0
* | Request update shift state after shift-chording inputTadashi G. Takaoka2012-11-211-0/+5
|/ | | | | Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
* Merge "Correctly add double quote to the space strippers" into jb-mr1.1-devJean Chalard2012-11-202-4/+6
|\
| * Correctly add double quote to the space strippersJean Chalard2012-11-192-4/+6
| | | | | | | | | | | | | | | | ...without removing space, this time. Also add a test to make sure it is working. Bug: 7531719 Change-Id: I3afcc433c6cdc2774e7deeb6d358356db5035d35
* | 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-192-0/+16
|/ | | | | Bug: 7531804 Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
* Merge "Revert "Correctly add double quote to the space strippers"" into ↵Ken Wakasa2012-11-162-2/+2
|\ | | | | | | jb-mr1.1-dev
| * Revert "Correctly add double quote to the space strippers"Ken Wakasa2012-11-162-2/+2
| | | | | | | | | | | | | | This reverts commit af7264abb7abfc0dab08d332b10b9ec8a6b48dc6 Change-Id: I5673103c4a0e9c48df563187d2188ca6e2f15877 bug: 7561815
* | 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 "Correctly add double quote to the space strippers" into jb-mr1.1-devJean Chalard2012-11-142-2/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Correctly add double quote to the space strippersJean Chalard2012-11-142-2/+2
| |/ / | | | | | | | | | | | | | | | | | | This is a format error >.> Bug: 7531719 Change-Id: I34b4c496192a32862c1ecb85bb6f6f38a06d6c61
* | | 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
* Update AOSP dictionaries.Jean Chalard2012-10-241-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
* Don't put spaces after characters that don't take oneJean Chalard2012-10-232-1/+7
| | | | | Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
* Merge "Update AOSP dictionaries." into jb-mr1-devJean Chalard2012-10-172-0/+0
|\
| * Update AOSP dictionaries.Jean Chalard2012-10-182-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
* | Merge "Import translations. DO NOT MERGE" into jb-mr1-devBaligh Uddin2012-10-161-1/+1
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2012-10-161-1/+1
| |/ | | | | | | | | Change-Id: I16dccd4bf5897d4b62a4642fbb3d24bd379deb4e Auto-generated-cl: translation import
* | 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
* Let's enhanceJason Chen2012-10-128-1/+1
| | | | | | | | Add mipmap-* launcher icon assets. Remove drawable-* based assests. Change over reference to mipmap icon. Bug: 6718166 Change-Id: I01f84a03fd1be0ced9cce9cff322a5fe02820075
* Merge "Detect bogus down-move-up event and add workaround" into jb-mr1-devTadashi G. Takaoka2012-10-123-36/+145
|\
| * Detect bogus down-move-up event and add workaroundTadashi G. Takaoka2012-10-123-36/+145
| | | | | | | | | | 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