aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-26Tidy up SORTED_CHAR_MAP a bit more for obvious Latin charsKen Wakasa1-16/+35
Change-Id: Ia18eacf4ad3ea882e4ec3cdfebc7f662503660d9
2012-11-26Update SORTED_CHAR_MAP[] in char_utils.cppKen Wakasa1-61/+59
Change-Id: I683793a0fd0ccf41f5a378275ef11def4e70ce76
2012-11-22Cancel gesture typing by sliding out from keyboardTadashi G. Takaoka8-31/+93
Bug: 7594165 Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
2012-11-22Calculate point to point durationSatoshi Kataoka3-28/+118
Change-Id: I4e0cabdbc628658619b7a71dc66aa3bf8a5030b2
2012-11-22Update RU dictionary header.Jean Chalard2-0/+0
>>> 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: I837831b1e214da64962cf1bb68c840a3d4e6bf76
2012-11-22Fix keyboard theme initializing bugTadashi G. Takaoka1-1/+1
Change-Id: If7037f3e0606ee34d1a6739cc39da23de18cc35c
2012-11-21Update dictionaries and fix mistakesJean Chalard12-0/+0
- Combined de dict : Remove digraph shortcuts that were in by mistake. - Combined en dict : Set freq of "baton" "batons" "mace" "puff" "puffs" and "tasers" to zero. They are offensive in en_GB. - Combined en_GB dict : Change freq of "il" to 0 and flag it "not a word". Still in the dict as a whitelist entry for "I'll"; for some reason it had freq 99. Add "milk:122" and "practice:143" - Combined 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. - Combined 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. For all dictionaries : bump the version to 27. Change-Id: I94fe7f8f42b31fdad223085c00a94115e14d2276
2012-11-20Add a constant for S_INT_MINJean Chalard1-0/+6
This is necessary for I807ae4bd Bug: 7491364 Change-Id: I46ee92a76eb65e80b64538d0300b718eac6a3ddb
2012-11-20Reorganize currency keysTadashi G. Takaoka13-357/+488
Add Rial(ar), Indian Rupee(hi), Tugrik(mn), Baht(th), Hryvnia(uk), Dong(vi) currency sign keys to symbol layout. Bug: 7455289 Change-Id: I0f819631ff05c4a31d3a6868dea5e18a1797f103
2012-11-20Fix variation dumping.Jean Chalard1-30/+50
Variations are not flags - they should not be OR'd in this way. Only one variation may be active at a time. Change-Id: I9d3d4c8fc04af56c914c65f9c55f1e7b9517fc68
2012-11-20Tentatively suppress -Winline for gcc 4.7Ken Wakasa1-1/+3
bug: 7584718 Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8
2012-11-19Only add spaces automatically when appropriate.Jean Chalard4-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
2012-11-19Correctly add double quote to the space strippersJean Chalard3-4/+22
...without removing space, this time. Also add a test to make sure it is working. Bug: 7531719 Change-Id: I3afcc433c6cdc2774e7deeb6d358356db5035d35
2012-11-19Add Spanish United States keyboardTadashi G. Takaoka8-49/+100
The subtype locale name on the spacebar will be suppressed when only one subtype is enabled and - Subtype locale is equal to the system locale. or - Subtype language is equal to the system language but the subtype is implicitly enabled. Thus the "es_ES" system locale chooses "es" subtype keyboard implicitly but the keyboard doesn't have the subtype name on its spacebar. This change also removes Spanish Latin America keyboard. Bug: 7531804 Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15
2012-11-19Add Spanish United States keyboard (DO NOT MERGE)Tadashi G. Takaoka2-0/+16
Bug: 7531804 Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
2012-11-19Tidy up the base char mapKen Wakasa1-165/+172
Change-Id: I1c3119c5db35faaf73180f17a0888224e301c121
2012-11-16Revert "Correctly add double quote to the space strippers"Ken Wakasa2-2/+2
This reverts commit af7264abb7abfc0dab08d332b10b9ec8a6b48dc6 Change-Id: I5673103c4a0e9c48df563187d2188ca6e2f15877 bug: 7561815
2012-11-16Revert "Only add spaces automatically when appropriate."Ken Wakasa4-31/+10
This reverts commit 6ce66d1c7d4a5be9c6ed33e4f881994283d5eee9 Change-Id: I90004a5fea0bc7999ecf8742f883ff4dac264d8a bug: 7565414
2012-11-16Cleanup speed related codeSatoshi Kataoka2-141/+149
Change-Id: Id6ea99a9e28f20f3ac34b9bfdac1bf62fd7a9a5d
2012-11-16Remove unused variablesKen Wakasa9-27/+23
Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
2012-11-15Fix debug logsSatoshi Kataoka1-4/+4
Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c
2012-11-15Fix debug build errorKen Wakasa2-10/+10
Change-Id: Id18d72093a36d41859744f98238b3b761ddb667e
2012-11-15Only add spaces automatically when appropriate.Jean Chalard4-10/+31
Bug: 7164981 Change-Id: Id672104a0fda99c52923913fb0e40c3a1ead4787
2012-11-15DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKEKen Wakasa1-1/+1
Cherrypick of I67a431d8 bug: 7539944 Change-Id: I0d1f9649f30c36b8e464944a5b881c2cb9c05ccf
2012-11-14Fix an error in the base char table for LETTER L WITH STROKEKen Wakasa1-1/+1
bug: 7539944 Change-Id: I67a431d8d60f3236fb7d616504c5d0cf2166f486
2012-11-14Update shift state only when input field is restartedTadashi G. Takaoka1-10/+5
Bug: 7482766 Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285
2012-11-14Fix language switch key behavior (DO NOT MERGE)Tadashi G. Takaoka2-16/+39
Bug: 7075923 Change-Id: If139411db4aa65eed64337bf2a79387cfcd04496
2012-11-14Fix language switch key behaviorTadashi G. Takaoka2-18/+35
Bug: 7075923 Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623
2012-11-14Correct a wrong base character in RussianJean Chalard1-2/+2
This is the master counterpart of I80cee4b2 Bug: 7516306 Change-Id: I1db4362bf12a98542c5f6fca3ae8010f16bd61a9
2012-11-14Swap single and double quotation marks in Spanish tablet keyboardTadashi G. Takaoka2-0/+6
Bug: 6672279 Change-Id: I120613e36ba6a690e54447fa6c9c90e131f2a155
2012-11-14[DO NOT MERGE] Correct a wrong base character in RussianJean Chalard1-2/+2
Bug: 7516306 Change-Id: I80cee4b2b11e5bfa68c12923049cb612abd0bc7e
2012-11-14Hide statustics logging optionSatoshi Kataoka1-0/+8
Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0
2012-11-14Correctly add double quote to the space strippersJean Chalard2-2/+2
This is a format error >.> Bug: 7531719 Change-Id: I34b4c496192a32862c1ecb85bb6f6f38a06d6c61
2012-11-14Fix a bug with some text fieldsJean Chalard1-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
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-13Add Mongolian keyboardTadashi G. Takaoka9-0/+452
Bug: 7455289 Change-Id: Ifdf6f38a07f75fb2154a17899e6be5f89082638f
2012-11-13Use hexadecimal constants for subtypeIdTadashi G. Takaoka1-55/+55
Change-Id: I5ee7981f1d1d142c4d21d0257879e8e126860fa6
2012-11-13Refactor all phantom-space-inserted spaces in one placeJean Chalard1-5/+10
Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
2012-11-12Don't restrict reset composing state to non-identical setTextJean Chalard1-14/+10
Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
2012-11-12Enhance ImfUtils to InputMethodManagerWrapper classTadashi G. Takaoka10-318/+313
Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
2012-11-12Remove backup agent from AOSP Android KeyboardSatoshi Kataoka1-1/+0
Bug: 4590284 Change-Id: I22f0e42cb898d20dfc2c4506493bf48170ce7b04
2012-11-10Cleanup basechars.cppKen Wakasa3-195/+177
Change-Id: I7b88876f60720182910fab97ef79f3d04fbd81f0
2012-11-09Import translations. DO NOT MERGEBaligh Uddin1-3/+3
Change-Id: Ibf5dc194560d09cc1945c5478197b9170c176492 Auto-generated-cl: translation import
2012-11-09Remove gesture typing settings when disabled by configurationTadashi G. Takaoka1-10/+4
Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-09Fix a logic flaw.Jean Chalard1-2/+1
This test is seriously wrong : although we do have a method that does exactly the right thing, this looks at a very specific, unrelated variable state in hope it happens to be set only in the relevant cases by the play of logic. I don't think this changes anything concretely, as the assumption was probably true in the practice ; still, this code is very hard to read and prone to unexpected breakage. Change-Id: I77ab576f90762429fcc752df31ed30e1c81871dc
2012-11-09Suppress dictionary pack support when IS_EXPERIMENTAL is trueKen Wakasa3-14/+27
Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
2012-11-09Remove gesture typing settings when disabled by configurationTadashi G. Takaoka1-10/+4
Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-08Fix a bug in the diff toolJean Chalard1-1/+6
Fix reporting of removed attributes multiple times instead of just one in some cases. Also, report the frequency of the removed bigram in the same cases. Change-Id: I1455fa7553fcebc3005c222bf5aa9afcf1678c31
2012-11-06Import translations. DO NOT MERGEBaligh Uddin1-2/+2
Change-Id: I97ceec5680a8ba9f27d5f62a7573555590268376 Auto-generated-cl: translation import
2012-11-07Fix a build error in x86 buildsKen Wakasa1-2/+5
Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02