Commit Graph

9975 Commits (f763dc5915d394378bdcdc90cc0b238e66926b8b)

Author SHA1 Message Date
Kurt Partridge 6a0720478d ResearchLogger 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
2012-11-29 20:32:12 -08:00
Kurt Partridge 98967539fd ResearchLogging of segments: groups of LogUnits that are sampled together
Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
2012-11-29 20:31:56 -08:00
Satoshi Kataoka 6ae8dd4343 Tweak beeline speed
Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7
2012-11-30 02:02:59 +09:00
Kurt Partridge 061da39c0f Merge "ResearchLogger add debugging code" 2012-11-29 06:45:25 -08:00
Kurt Partridge bf9db1cc83 Merge "ResearchLogging fix password field collection" 2012-11-29 06:05:01 -08:00
Jean Chalard da439fa461 Merge "Add utilities to read header values." 2012-11-29 03:11:06 -08:00
Jean Chalard 22025c6a37 Add utilities to read header values.
Bug: 7540132
Change-Id: I19d85481135e79d8782f711da5cbb3a5a7bc06f8
2012-11-29 20:08:37 +09:00
Ken Wakasa 02996dc56a Clean up dependency for dicttool
bug: 7635215
Change-Id: Ie50297ab592261390885c593341b6c46161b2e63
2012-11-29 19:09:01 +09:00
Tadashi G. Takaoka e14df775d4 Make RoundedLine member variables as method parameters (Step 5)
Change-Id: Ib2ade2bf51c293c65fc9206a9a16694e6d18da50
2012-11-29 16:50:52 +09:00
Tadashi G. Takaoka f90475b5d4 Make RoundedLine as top level class (Step 4)
Change-Id: Id52baefb3d61eb46b3679e1ba3aa7ef7cd020efc
2012-11-29 16:28:12 +09:00
Kurt Partridge 565b9d2add ResearchLogger add debugging code
Change-Id: I03729506984f259dee63f3a66fd91963e3403d16
2012-11-28 22:46:31 -08:00
Tadashi G. Takaoka 1a6d56e31d Consolidate point calculating and path creating methods into one (Step 3)
Change-Id: Id49eee7c38595ea312dc9a63341a376825030035
2012-11-29 14:28:59 +09:00
Tadashi G. Takaoka 8cfd64eed9 Make rounde line algorithm as instance method (Step 2)
Change-Id: Ia6f41dc0ce7d3f3a1e4a8bbe838835cbdd94e6e9
2012-11-29 14:22:30 +09:00
Tadashi G. Takaoka 0d034b3169 Consolidate data and algorithm of calculating rounded line (Step 1)
Change-Id: Ic6d72b5a34ddfbc55317fa651f78af6f50c9a284
2012-11-29 14:14:49 +09:00
Kurt Partridge 6c95f97a93 ResearchLogging fix password field collection
password data collection was too "sticky"; the next field wouldn't be collected either.

Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde
2012-11-28 19:15:12 -08:00
The Android Open Source Project 9b935084ea am faee53c0: (-s ours) Reconcile with jb-mr1.1-release - do not merge
* commit 'faee53c0880c637acd9bf23b4a7aadeeb4a50085':
  Revert "Correctly add double quote to the space strippers"
  Revert "Only add spaces automatically when appropriate."
2012-11-28 09:49:37 -08:00
The Android Open Source Project faee53c088 Reconcile with jb-mr1.1-release - do not merge
Change-Id: Ifaf3eb3035bc9be846a9edd3e64cbf3bf6f95f64
2012-11-28 09:47:55 -08:00
Tadashi G. Takaoka 359c35e0f6 Add CoordinateUtils class
Change-Id: I23784117f77da54ee2a0670e65d86e26d762a687
2012-11-28 19:03:28 +09:00
Tadashi G. Takaoka 2200dbbf09 Merge "Set additional subtypes before getting current subtype" 2012-11-27 22:22:31 -08:00
Tadashi G. Takaoka 85e397cd10 Set additional subtypes before getting current subtype
Bug: 7594188
Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
2012-11-28 14:49:38 +09:00
Tadashi G. Takaoka 2db9e1c447 Fix typo in method name
This is a follow up of I6f851248.

Change-Id: I3fe17f3c81ed35e7c38ac9701e73c6b2c1ca8d63
2012-11-28 14:35:37 +09:00
Jean Chalard ee71ecf5e2 am 2cff609e: (-s ours) am bb0c18f7: am cb1077b8: Merge "Match RU dictionary header." into jb-mr1.1-dev
* commit '2cff609e0f0f0cfeab542d554596c35822d7dd45':
  Match RU dictionary header.
2012-11-27 17:31:23 -08:00
Jean Chalard 24beeba1d3 am 94f1925d: (-s ours) am fa98633e: am 240383fd: Merge "Update the dictionaries" into jb-mr1.1-dev
* commit '94f1925d5e3f21aedc3a60b48d2c5289446e7fdf':
  Update the dictionaries
2012-11-27 17:23:46 -08:00
The Android Automerger 3448b04e28 merge in jb-mr1.1-release history after reset to jb-mr1.1-dev 2012-11-27 15:35:06 -08:00
Tadashi G. Takaoka 0567d144a3 am 7ba02315: am b172725c: am 7d045829: Request update shift state after shift-chording input
* commit '7ba02315abf3f6fe2e40fcb248ccf1cab8dee179':
  Request update shift state after shift-chording input
2012-11-27 11:36:53 -08:00
Jean Chalard 2cff609e0f am bb0c18f7: am cb1077b8: Merge "Match RU dictionary header." into jb-mr1.1-dev
* commit 'bb0c18f73d448b6231d8aca9083d3798447e3baf':
  Match RU dictionary header.
2012-11-27 11:34:04 -08:00
Jean Chalard 94f1925d5e am fa98633e: am 240383fd: Merge "Update the dictionaries" into jb-mr1.1-dev
* commit 'fa98633ed45715b38fbd3c355bc4dc224ae09163':
  Update the dictionaries
2012-11-27 11:34:02 -08:00
Tadashi G. Takaoka 7ba02315ab am b172725c: am 7d045829: Request update shift state after shift-chording input
* commit 'b172725c8dc26bc96667135d1b17396f2a6257b4':
  Request update shift state after shift-chording input
2012-11-27 11:34:00 -08:00
Jean Chalard bb0c18f73d am cb1077b8: Merge "Match RU dictionary header." into jb-mr1.1-dev
* commit 'cb1077b842e87d806eb2d7cd5cf3173bc3106366':
  Match RU dictionary header.
2012-11-27 11:31:32 -08:00
Jean Chalard fa98633ed4 am 240383fd: Merge "Update the dictionaries" into jb-mr1.1-dev
* commit '240383fd84282d07af730186a650e1c56b19312a':
  Update the dictionaries
2012-11-27 11:31:28 -08:00
Tadashi G. Takaoka b172725c8d am 7d045829: Request update shift state after shift-chording input
* commit '7d045829b8cd613ab43cb88b4cf0d4f492827996':
  Request update shift state after shift-chording input
2012-11-27 11:30:52 -08:00
Ken Wakasa 98fea60041 Merge "Prep for GCC 4.7" 2012-11-27 03:14:32 -08:00
Ken Wakasa 2a6f58d902 Prep 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
2012-11-27 20:11:29 +09:00
Tadashi G. Takaoka 72fd0968e5 Provide gesture data even if the finger stays still
Bug: 7595187
Change-Id: I6f85124815f18706b2b2b5b5da2783dffd246e8c
2012-11-27 18:33:16 +09:00
Tadashi G. Takaoka a15ee70d43 Merge "Fix Gingerbread theme color for gesture typing" 2012-11-26 21:23:21 -08:00
Jean Chalard cb1077b842 Merge "Match RU dictionary header." into jb-mr1.1-dev 2012-11-26 21:11:54 -08:00
Jean Chalard 240383fd84 Merge "Update the dictionaries" into jb-mr1.1-dev 2012-11-26 19:57:58 -08:00
Ken Wakasa b543c9c1bc Fix liblog declaration in Makefile to make it more NDK-build friendly
Change-Id: I1459124b84e1db9df13700514f8029851bc21c97
2012-11-27 12:28:11 +09:00
Tadashi G. Takaoka ebbb586693 Fix Gingerbread theme color for gesture typing
Change-Id: I96a660ce8ee35fe90dc29e6d7f52528c0b34b7cb
2012-11-27 12:17:25 +09:00
The Android Automerger ceb6d48062 merge in jb-mr1.1-release history after reset to jb-mr1.1-dev 2012-11-26 11:29:25 -08:00
Ken Wakasa 11bb2ffd4a Tidy up SORTED_CHAR_MAP a bit more for obvious Latin chars
Change-Id: Ia18eacf4ad3ea882e4ec3cdfebc7f662503660d9
2012-11-26 19:31:09 +09:00
Ken Wakasa 2d27ca6ce3 Update SORTED_CHAR_MAP[] in char_utils.cpp
Change-Id: I683793a0fd0ccf41f5a378275ef11def4e70ce76
2012-11-26 17:17:16 +09:00
Jean Chalard 4d645255cb Match 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
2012-11-26 12:42:34 +09:00
Jean Chalard 71e1496ab0 Merge "Update RU dictionary header." 2012-11-25 19:31:16 -08:00
Tadashi G. Takaoka d4b6cbfd94 Merge "Cancel gesture typing by sliding out from keyboard" 2012-11-22 00:50:26 -08:00
Tadashi G. Takaoka b3f789799a Cancel gesture typing by sliding out from keyboard
Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
2012-11-22 17:49:56 +09:00
Satoshi Kataoka 3b0fd7a721 Merge "Calculate point to point duration" 2012-11-22 00:20:43 -08:00
Satoshi Kataoka 9af533538e Calculate point to point duration
Change-Id: I4e0cabdbc628658619b7a71dc66aa3bf8a5030b2
2012-11-22 17:03:09 +09:00
Jean Chalard b40a1ce50b Update 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
2012-11-22 16:21:10 +09:00
Jean Chalard 526371f2c4 Update 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
2012-11-22 15:32:45 +09:00