aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-12-06Cancel batch input when orientation has been changedTadashi G. Takaoka2-12/+20
Bug: 7665231 Bug: 7662486 Change-Id: I7b6095026dbf1b9b2f6d3b29f2ab83c462ab374e
2012-12-06Import translations. DO NOT MERGEBaligh Uddin41-161/+81
Change-Id: Iec4037b7d6e6d13dbc057f7d5fcd94785a63b542 Auto-generated-cl: translation import
2012-12-06Remove a couple Eclipse and Android Lint warningsJean Chalard12-42/+21
Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
2012-12-06Rename functionSatoshi Kataoka2-3/+3
Change-Id: Ia05d4b96158b17d4feef8f2d6ebd52e9dd69b25f
2012-12-06turn off debug flagsSatoshi Kataoka1-3/+3
Change-Id: I08710abe3e158ee48c954289fc6bb1269c4a7126
2012-12-05Fix off by one bug in gesture trail drawingTadashi G. Takaoka1-1/+1
Bug: 7594165 Change-Id: Ia3f7dcee71db91e39c40022b19e7b07c5d4488c8
2012-12-05Import translations. DO NOT MERGEBaligh Uddin4-16/+8
Change-Id: I14e7f5010ca72fe9ea0ab2304ffd018a82525f6f Auto-generated-cl: translation import
2012-12-05Method/variable/resource names clean up for the double-space periodKen Wakasa2-23/+23
bug: 7664717 Change-Id: I914aa588b863c442c2d360221e3fa0f4c42640e7
2012-12-04Import translations. DO NOT MERGEBaligh Uddin53-0/+481
Change-Id: I0b3b03ce1974fba5f25fef74fa1937dce83b102f Auto-generated-cl: translation import
2012-12-04Fix wrong misspelling reports of fully capitalized wordsJean Chalard2-15/+48
Two flavors of words would be wrongly reported as misspelled by the android spell checker when they are written in all upper case letters: - Words containing a quote or a dash or any other non-letter - Words that need the first letter to be capitalized Bug: 7659216 Change-Id: Ibc5d261945ffcbb8a858d4c73b7c62cef6671abf
2012-12-04Dismiss sliding key input preview when touch event is canceledTadashi G. Takaoka3-1/+11
This is a follow up of Id807af31. Bug: 7662486 Change-Id: I13895140f1214592257d0023c1450875a4885ee9
2012-12-04Add a new option for the double-space period functionalityKen Wakasa5-0/+16
bug: 6934756 Change-Id: I94b2d08cac6533e96031d8e97f347e9b5fd72859
2012-12-03Fix crashes related to setSpan(-1 ... -1) errorsKurt Partridge1-10/+12
Fixes b/7652661 In some circumstnaces, when hiding the window, the logger tries to capture the TextView contents and restore the cursor position based on the values stored in LatinIME. However, the IME may not know the cursor position. This fix does two things 1) doesn't try to reposition the cursor if the TextView contents are not to be captured, and 2) if the cursor position is unknown (i.e., == -1), doesn't try to move it back. Change-Id: I3976aaccf58c18f892c3a8530218ae52bcac9989
2012-12-03Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I68e4fa66d5fa8b9160161a079263d89d01c037ee Auto-generated-cl: translation import
2012-12-03Clean up int types in the Dictionary classKen Wakasa3-12/+10
Change-Id: I49821c00186ce2a282bb23f369eb140b47d6c455
2012-12-03Clean up int typesKen Wakasa4-32/+29
Change-Id: Ib6819b9d7f00208f47533d7ab3d2e02ca3730981
2012-12-03Get rid of special keys from ProximityInfoTadashi G. Takaoka1-30/+78
Bug: 7601672 Change-Id: I15faa4829b98f7b4dd07013fdd58bc2c527bcd6f
2012-12-03Groundwork for sliding key input previewTadashi G. Takaoka5-41/+93
Bug: 7548583 Change-Id: Id807af31f581c08ff8074ed1f6766337bea9469f
2012-12-03remove invalid comparisonSatoshi Kataoka1-2/+0
Change-Id: I162c478debe5897be057998bd22924ed487d01af
2012-12-03Cancel gesture preview update when gesture typing is canceledTadashi G. Takaoka1-0/+6
Bug: 7594165 Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003
2012-11-30Revert "ResearchLog. Track time of log statements"Kurt Partridge3-70/+21
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
2012-11-30Fix offdevice regression test build errorKen Wakasa1-1/+1
Change-Id: I97128108b3bd75c61069517c3f8ce68ecc7bf285
2012-11-30Cancel update batch input timer when gesture typing has been canceledTadashi G. Takaoka2-4/+5
Bug: 7594165 Change-Id: I9dc42919bd196c249c79668570004d3f541cc9ec
2012-11-29ResearchLog. Track time of log statementsKurt Partridge3-21/+70
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
2012-11-29ResearchLogger switch word segmentationKurt Partridge1-5/+5
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
2012-11-29ResearchLogging of segments: groups of LogUnits that are sampled togetherKurt Partridge1-0/+17
Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
2012-11-30Tweak beeline speedSatoshi Kataoka5-30/+99
Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7
2012-11-29Add utilities to read header values.Jean Chalard2-0/+74
Bug: 7540132 Change-Id: I19d85481135e79d8782f711da5cbb3a5a7bc06f8
2012-11-29Clean up dependency for dicttoolKen Wakasa2-5/+20
bug: 7635215 Change-Id: Ie50297ab592261390885c593341b6c46161b2e63
2012-11-29Make RoundedLine member variables as method parameters (Step 5)Tadashi G. Takaoka2-78/+75
Change-Id: Ib2ade2bf51c293c65fc9206a9a16694e6d18da50
2012-11-29Make RoundedLine as top level class (Step 4)Tadashi G. Takaoka2-88/+105
Change-Id: Id52baefb3d61eb46b3679e1ba3aa7ef7cd020efc
2012-11-28ResearchLogger add debugging codeKurt Partridge3-2/+20
Change-Id: I03729506984f259dee63f3a66fd91963e3403d16
2012-11-29Consolidate point calculating and path creating methods into one (Step 3)Tadashi G. Takaoka1-23/+20
Change-Id: Id49eee7c38595ea312dc9a63341a376825030035
2012-11-29Make rounde line algorithm as instance method (Step 2)Tadashi G. Takaoka1-42/+41
Change-Id: Ia6f41dc0ce7d3f3a1e4a8bbe838835cbdd94e6e9
2012-11-29Consolidate data and algorithm of calculating rounded line (Step 1)Tadashi G. Takaoka1-60/+60
Change-Id: Ic6d72b5a34ddfbc55317fa651f78af6f50c9a284
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