aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SynchronouslyLoadedUserBinaryDictionary.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-12-03Clean up int types in the Dictionary class•••Change-Id: I49821c00186ce2a282bb23f369eb140b47d6c455 Ken Wakasa3-12/+10
2012-12-03Clean up int types•••Change-Id: Ib6819b9d7f00208f47533d7ab3d2e02ca3730981 Ken Wakasa4-32/+29
2012-12-03Get rid of special keys from ProximityInfo•••Bug: 7601672 Change-Id: I15faa4829b98f7b4dd07013fdd58bc2c527bcd6f Tadashi G. Takaoka1-30/+78
2012-12-03Groundwork for sliding key input preview•••Bug: 7548583 Change-Id: Id807af31f581c08ff8074ed1f6766337bea9469f Tadashi G. Takaoka5-41/+93
2012-12-03remove invalid comparison•••Change-Id: I162c478debe5897be057998bd22924ed487d01af Satoshi Kataoka1-2/+0
2012-12-03Cancel gesture preview update when gesture typing is canceled•••Bug: 7594165 Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003 Tadashi G. Takaoka1-0/+6
2012-11-30Revert "ResearchLog. Track time of log statements"•••This reverts commit bdbe279cecea7a16ef2a5c3b62622eb19e4b18bf Other half of this change couldn't be committed because of a inter-project directory migration. Reverting until things settle down. Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a Kurt Partridge3-70/+21
2012-11-30Fix offdevice regression test build error•••Change-Id: I97128108b3bd75c61069517c3f8ce68ecc7bf285 Ken Wakasa1-1/+1
2012-11-30Cancel update batch input timer when gesture typing has been canceled•••Bug: 7594165 Change-Id: I9dc42919bd196c249c79668570004d3f541cc9ec Tadashi G. Takaoka2-4/+5
2012-11-29ResearchLog. Track time of log statements•••Log statements are now recorded with a timestamp. This is important for filtering out statements not part of words that are sampled when spaces are inserted automatically. multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4 Change-Id: I9f49c36391e1e1773b6d4876d7387c893024f87b Kurt Partridge3-21/+70
2012-11-29ResearchLogger switch word segmentation•••Previously, a logunit was considered a word only if it was all letters. This is important for tracking bigrams correctly. Now, a logunit must have only at least one letter. The dictionary check is still performed, and punctuation, etc. still comes in as separate LogUnits. But a word can contain a space, which helps set up for logging words where spaces are inserted automatically, and other situations in which text is committed with an additional space tacked onto the end. Change-Id: Ia74094a99058890d20a9cdadf2d0989841a79a41 Kurt Partridge1-5/+5
2012-11-29ResearchLogging of segments: groups of LogUnits that are sampled together•••Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200 Kurt Partridge1-0/+17
2012-11-30Tweak beeline speed•••Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7 Satoshi Kataoka5-30/+99
2012-11-29Add utilities to read header values.•••Bug: 7540132 Change-Id: I19d85481135e79d8782f711da5cbb3a5a7bc06f8 Jean Chalard2-0/+74
2012-11-29Clean up dependency for dicttool•••bug: 7635215 Change-Id: Ie50297ab592261390885c593341b6c46161b2e63 Ken Wakasa2-5/+20
2012-11-29Make RoundedLine member variables as method parameters (Step 5)•••Change-Id: Ib2ade2bf51c293c65fc9206a9a16694e6d18da50 Tadashi G. Takaoka2-78/+75
2012-11-29Make RoundedLine as top level class (Step 4)•••Change-Id: Id52baefb3d61eb46b3679e1ba3aa7ef7cd020efc Tadashi G. Takaoka2-88/+105
2012-11-28ResearchLogger add debugging code•••Change-Id: I03729506984f259dee63f3a66fd91963e3403d16 Kurt Partridge3-2/+20
2012-11-29Consolidate point calculating and path creating methods into one (Step 3)•••Change-Id: Id49eee7c38595ea312dc9a63341a376825030035 Tadashi G. Takaoka1-23/+20
2012-11-29Make rounde line algorithm as instance method (Step 2)•••Change-Id: Ia6f41dc0ce7d3f3a1e4a8bbe838835cbdd94e6e9 Tadashi G. Takaoka1-42/+41
2012-11-29Consolidate data and algorithm of calculating rounded line (Step 1)•••Change-Id: Ic6d72b5a34ddfbc55317fa651f78af6f50c9a284 Tadashi G. Takaoka1-60/+60
2012-11-28ResearchLogging fix password field collection•••password data collection was too "sticky"; the next field wouldn't be collected either. Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde Kurt Partridge1-2/+5
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