aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-11-28Add CoordinateUtils class•••Change-Id: I23784117f77da54ee2a0670e65d86e26d762a687 Tadashi G. Takaoka5-12/+59
2012-11-28Set additional subtypes before getting current subtype•••Bug: 7594188 Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191 Tadashi G. Takaoka6-31/+37
2012-11-28Fix typo in method name•••This is a follow up of I6f851248. Change-Id: I3fe17f3c81ed35e7c38ac9701e73c6b2c1ca8d63 Tadashi G. Takaoka2-5/+5
2012-11-27Prep for GCC 4.7•••On Galaxy Nexus (./vendor/google/apps/LatinImeGoogle/tests/etc/run-profile.sh -g) Before ==== test finished, terminate logcat ===== (0) 2506.11 (10.48%) (1) 21289.22 (89.01%) (2) 108.29 (0.45%) (3) 0.00 (0.00%) (4) 0.00 (0.00%) (5) 0.00 (0.00%) (6) 0.00 (0.00%) (20) 0.00 (0.00%) Total 23917.44 (sum of others 23903.62) After ==== test finished, terminate logcat ===== (0) 2499.58 (10.98%) (1) 20145.66 (88.51%) (2) 103.17 (0.45%) (3) 0.00 (0.00%) (4) 0.00 (0.00%) (5) 0.00 (0.00%) (6) 0.00 (0.00%) (20) 0.00 (0.00%) Total 22761.98 (sum of others 22748.42) Change-Id: I662cb361ff9205ef87d640c458b8473df7d54659 Ken Wakasa3-6/+6
2012-11-27Provide gesture data even if the finger stays still•••Bug: 7595187 Change-Id: I6f85124815f18706b2b2b5b5da2783dffd246e8c Tadashi G. Takaoka6-14/+71
2012-11-27Fix liblog declaration in Makefile to make it more NDK-build friendly•••Change-Id: I1459124b84e1db9df13700514f8029851bc21c97 Ken Wakasa1-2/+2
2012-11-27Fix Gingerbread theme color for gesture typing•••Change-Id: I96a660ce8ee35fe90dc29e6d7f52528c0b34b7cb Tadashi G. Takaoka2-49/+102
2012-11-26Tidy up SORTED_CHAR_MAP a bit more for obvious Latin chars•••Change-Id: Ia18eacf4ad3ea882e4ec3cdfebc7f662503660d9 Ken Wakasa1-16/+35
2012-11-26Update SORTED_CHAR_MAP[] in char_utils.cpp•••Change-Id: I683793a0fd0ccf41f5a378275ef11def4e70ce76 Ken Wakasa1-61/+59
2012-11-26Match RU dictionary header.•••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 Jean Chalard2-0/+0
2012-11-22Cancel gesture typing by sliding out from keyboard•••Bug: 7594165 Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec Tadashi G. Takaoka8-31/+93
2012-11-22Calculate point to point duration•••Change-Id: I4e0cabdbc628658619b7a71dc66aa3bf8a5030b2 Satoshi Kataoka3-28/+118
2012-11-22Update RU dictionary header.•••>>> 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 Jean Chalard2-0/+0
2012-11-22Update the dictionaries•••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 Jean Chalard11-0/+0
2012-11-22Fix keyboard theme initializing bug•••Change-Id: If7037f3e0606ee34d1a6739cc39da23de18cc35c Tadashi G. Takaoka1-1/+1
2012-11-21Update dictionaries and fix mistakes•••- 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 Jean Chalard12-0/+0
2012-11-21Request update shift state after shift-chording input•••Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd Tadashi G. Takaoka2-5/+26
2012-11-20Add a constant for S_INT_MIN•••This is necessary for I807ae4bd Bug: 7491364 Change-Id: I46ee92a76eb65e80b64538d0300b718eac6a3ddb Jean Chalard1-0/+6
2012-11-20Reorganize currency keys•••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 Tadashi G. Takaoka13-357/+488
2012-11-20Fix variation dumping.•••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 Jean Chalard1-30/+50
2012-11-20Tentatively suppress -Winline for gcc 4.7•••bug: 7584718 Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8 Ken Wakasa1-1/+3
2012-11-19Only add spaces automatically when appropriate.•••Correctly check the variations to determine if we should add automatic spaces (in manual picks and gestures) or not. Bug: 7164981 Change-Id: I19e25af839b4062c217113cd804b1473912f22a5 Jean Chalard4-10/+36
2012-11-19Correctly add double quote to the space strippers•••...without removing space, this time. Also add a test to make sure it is working. Bug: 7531719 Change-Id: I3afcc433c6cdc2774e7deeb6d358356db5035d35 Jean Chalard3-4/+22
2012-11-19Add Spanish United States keyboard•••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 Tadashi G. Takaoka8-49/+100
2012-11-19Add Spanish United States keyboard (DO NOT MERGE)•••Bug: 7531804 Change-Id: Idd66ee30e5228260540308a97c930185b48e775f Tadashi G. Takaoka2-0/+16
2012-11-19Tidy up the base char map•••Change-Id: I1c3119c5db35faaf73180f17a0888224e301c121 Ken Wakasa1-165/+172
2012-11-16Revert "Correctly add double quote to the space strippers"•••This reverts commit af7264abb7abfc0dab08d332b10b9ec8a6b48dc6 Change-Id: I5673103c4a0e9c48df563187d2188ca6e2f15877 bug: 7561815 Ken Wakasa2-2/+2
2012-11-16Revert "Only add spaces automatically when appropriate."•••This reverts commit 6ce66d1c7d4a5be9c6ed33e4f881994283d5eee9 Change-Id: I90004a5fea0bc7999ecf8742f883ff4dac264d8a bug: 7565414 Ken Wakasa4-31/+10
2012-11-16Cleanup speed related code•••Change-Id: Id6ea99a9e28f20f3ac34b9bfdac1bf62fd7a9a5d Satoshi Kataoka2-141/+149
2012-11-16Remove unused variables•••Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca Ken Wakasa9-27/+23
2012-11-15Fix debug logs•••Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c Satoshi Kataoka1-4/+4
2012-11-15Fix debug build error•••Change-Id: Id18d72093a36d41859744f98238b3b761ddb667e Ken Wakasa2-10/+10
2012-11-15Only add spaces automatically when appropriate.•••Bug: 7164981 Change-Id: Id672104a0fda99c52923913fb0e40c3a1ead4787 Jean Chalard4-10/+31
2012-11-15DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE•••Cherrypick of I67a431d8 bug: 7539944 Change-Id: I0d1f9649f30c36b8e464944a5b881c2cb9c05ccf Ken Wakasa1-1/+1
2012-11-14Fix an error in the base char table for LETTER L WITH STROKE•••bug: 7539944 Change-Id: I67a431d8d60f3236fb7d616504c5d0cf2166f486 Ken Wakasa1-1/+1
2012-11-14Update shift state only when input field is restarted•••Bug: 7482766 Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285 Tadashi G. Takaoka1-10/+5
2012-11-14Fix language switch key behavior (DO NOT MERGE)•••Bug: 7075923 Change-Id: If139411db4aa65eed64337bf2a79387cfcd04496 Tadashi G. Takaoka2-16/+39
2012-11-14Fix language switch key behavior•••Bug: 7075923 Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623 Tadashi G. Takaoka2-18/+35
2012-11-14Correct a wrong base character in Russian•••This is the master counterpart of I80cee4b2 Bug: 7516306 Change-Id: I1db4362bf12a98542c5f6fca3ae8010f16bd61a9 Jean Chalard1-2/+2
2012-11-14Swap single and double quotation marks in Spanish tablet keyboard•••Bug: 6672279 Change-Id: I120613e36ba6a690e54447fa6c9c90e131f2a155 Tadashi G. Takaoka2-0/+6
2012-11-14[DO NOT MERGE] Correct a wrong base character in Russian•••Bug: 7516306 Change-Id: I80cee4b2b11e5bfa68c12923049cb612abd0bc7e Jean Chalard1-2/+2
2012-11-14Hide statustics logging option•••Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0 Satoshi Kataoka1-0/+8
2012-11-14Correctly add double quote to the space strippers•••This is a format error >.> Bug: 7531719 Change-Id: I34b4c496192a32862c1ecb85bb6f6f38a06d6c61 Jean Chalard2-2/+2
2012-11-14Fix a bug with some text fields•••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 Jean Chalard1-1/+2
2012-11-13Make sure all FDs are correctly closed.•••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 Jean Chalard1-11/+19
2012-11-13Add Mongolian keyboard•••Bug: 7455289 Change-Id: Ifdf6f38a07f75fb2154a17899e6be5f89082638f Tadashi G. Takaoka9-0/+452
2012-11-13Use hexadecimal constants for subtypeId•••Change-Id: I5ee7981f1d1d142c4d21d0257879e8e126860fa6 Tadashi G. Takaoka1-55/+55
2012-11-13Refactor all phantom-space-inserted spaces in one place•••Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a Jean Chalard1-5/+10
2012-11-12Don't restrict reset composing state to non-identical setText•••Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478 Jean Chalard1-14/+10
2012-11-12Enhance ImfUtils to InputMethodManagerWrapper class•••Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020 Tadashi G. Takaoka10-318/+313