aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-28ResearchLogging fix password field collectionKurt Partridge1-2/+5
password data collection was too "sticky"; the next field wouldn't be collected either. Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde
2012-11-28Add CoordinateUtils classTadashi G. Takaoka5-12/+59
Change-Id: I23784117f77da54ee2a0670e65d86e26d762a687
2012-11-28Set additional subtypes before getting current subtypeTadashi G. Takaoka6-31/+37
Bug: 7594188 Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
2012-11-28Fix typo in method nameTadashi G. Takaoka2-5/+5
This is a follow up of I6f851248. Change-Id: I3fe17f3c81ed35e7c38ac9701e73c6b2c1ca8d63
2012-11-27Prep for GCC 4.7Ken Wakasa3-6/+6
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
2012-11-27Provide gesture data even if the finger stays stillTadashi G. Takaoka6-14/+71
Bug: 7595187 Change-Id: I6f85124815f18706b2b2b5b5da2783dffd246e8c
2012-11-27Fix liblog declaration in Makefile to make it more NDK-build friendlyKen Wakasa1-2/+2
Change-Id: I1459124b84e1db9df13700514f8029851bc21c97
2012-11-27Fix Gingerbread theme color for gesture typingTadashi G. Takaoka2-49/+102
Change-Id: I96a660ce8ee35fe90dc29e6d7f52528c0b34b7cb
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-26Match RU dictionary header.Jean Chalard2-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
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-22Update the dictionariesJean Chalard11-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
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-21Request update shift state after shift-chording inputTadashi G. Takaoka2-5/+26
Bug: 7529860 Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
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