Commit graph

2145 commits

Author SHA1 Message Date
Tadashi G. Takaoka
aad3cb8059 am ade16493: Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2
* commit 'ade16493316c906dcef1f5c1a5b65e18a41b4db6':
  Include horizontal and vertical gap in the count of Key.isOnKey
2011-05-11 19:12:01 -07:00
Tadashi G. Takaoka
ade1649331 Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2 2011-05-11 19:00:09 -07:00
Eric Fischer
25b8071583 am 2d880d56: am 43e0fa3a: (-s ours) Import revised translations. DO NOT MERGE
* commit '2d880d561b8dd9243f551cf6895ee0d7d36da54c':
  Import revised translations.  DO NOT MERGE
2011-05-10 15:32:21 -07:00
Eric Fischer
2d880d561b am 43e0fa3a: (-s ours) Import revised translations. DO NOT MERGE
* commit '43e0fa3abe195e87e847122d9d6fb60534510e9c':
  Import revised translations.  DO NOT MERGE
2011-05-10 15:01:01 -07:00
Eric Fischer
08ce800934 am 6efb50ba: Import revised translations. DO NOT MERGE
* commit '6efb50ba07186f9e823d253ded50ff091133bbd9':
  Import revised translations.  DO NOT MERGE
2011-05-10 12:23:39 -07:00
Eric Fischer
6efb50ba07 Import revised translations. DO NOT MERGE
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09 17:05:02 -07:00
Tadashi G. Takaoka
14de691f22 Include horizontal and vertical gap in the count of Key.isOnKey
This change considers that the point is on the key while sorting in
proximity key detection.

This change is the cherry-pick of I3ee91367.

Bug: 4353949
Change-Id: I04fa0acf4d32c18bea9640b39a5c770466a37803
2011-05-09 15:41:37 +09:00
Eric Fischer
43e0fa3abe Import revised translations. DO NOT MERGE
Change-Id: Ifb14123f6b1f46cbfa8501696164db7b1ceb66f9
2011-04-29 14:02:22 -07:00
Eric Fischer
5f51cf3d0d am 72e9cd10: (-s ours) am c741398f: Import revised translations. DO NOT MERGE
* commit '72e9cd105cb41c67446cec2933f91ea1da63493a':
  Import revised translations.  DO NOT MERGE
2011-04-28 10:27:01 -07:00
Eric Fischer
72e9cd105c am c741398f: Import revised translations. DO NOT MERGE
* commit 'c741398f36db3cf1c32d4189f270ad5ce9233725':
  Import revised translations.  DO NOT MERGE
2011-04-27 15:31:39 -07:00
Eric Fischer
c741398f36 Import revised translations. DO NOT MERGE
Change-Id: I781027464664f612f90ae946e0a28ca51e3b19e7
2011-04-27 13:54:15 -07:00
Eric Fischer
6a3358cc58 am eb014bf7: am c1fc2fe2: (-s ours) Import revised translations. DO NOT MERGE
* commit 'eb014bf7ed093c98c275171379457054ad99e004':
  Import revised translations.  DO NOT MERGE
2011-04-14 14:29:25 -07:00
Eric Fischer
eb014bf7ed am c1fc2fe2: (-s ours) Import revised translations. DO NOT MERGE
* commit 'c1fc2fe25c2a8c39474b0764c60b3852eb37ea49':
  Import revised translations.  DO NOT MERGE
2011-04-14 14:22:14 -07:00
Eric Fischer
c1fc2fe25c Import revised translations. DO NOT MERGE
Change-Id: I683ff5dde869ecfe1d0a20ee69ae55d53a91feb2
2011-04-14 14:05:03 -07:00
Eric Fischer
42c8952253 am fa62894c: Import revised translations. DO NOT MERGE
* commit 'fa62894c4b4b0a63553989c483cf2446641b9117':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:22:00 -07:00
Eric Fischer
fa62894c4b Import revised translations. DO NOT MERGE
Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d
2011-04-06 13:51:45 -07:00
Eric Fischer
d84a324973 am bc226ce9: (-s ours) am d060ed99: Import revised translations. DO NOT MERGE
* commit 'bc226ce9227ffb280ac12195c5c6fff377c466c1':
  Import revised translations.  DO NOT MERGE
2011-04-04 17:43:17 -07:00
Eric Fischer
bc226ce922 am d060ed99: Import revised translations. DO NOT MERGE
* commit 'd060ed99464e14e19dc07bc2f770e2b83cfd16bc':
  Import revised translations.  DO NOT MERGE
2011-04-04 12:21:31 -07:00
Eric Fischer
3678ce5a25 am 991e88c5: am 4bad47f9: (-s ours) Import revised translations. DO NOT MERGE
* commit '991e88c5b83a7ffb2e49252c55b4429d6f24c4a4':
  Import revised translations.  DO NOT MERGE
2011-03-29 14:20:04 -07:00
Eric Fischer
991e88c5b8 am 4bad47f9: (-s ours) Import revised translations. DO NOT MERGE
* commit '4bad47f93943eb8e4545934c9e1804e43b5d55e9':
  Import revised translations.  DO NOT MERGE
2011-03-29 14:07:25 -07:00
Eric Fischer
4bad47f939 Import revised translations. DO NOT MERGE
Change-Id: I33a83686f71aa49855d807d580648f50ac4513da
2011-03-29 13:33:50 -07:00
Eric Fischer
2186d96b62 am 97c916a6: Import revised translations. DO NOT MERGE
* commit '97c916a6841c50931a6e507e4a835b9a015d5f6e':
  Import revised translations.  DO NOT MERGE
2011-03-29 12:25:06 -07:00
Eric Fischer
97c916a684 Import revised translations. DO NOT MERGE
Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe
2011-03-29 12:01:28 -07:00
Eric Fischer
d060ed9946 Import revised translations. DO NOT MERGE
Change-Id: I19cdfdaf6a4139dcc4100650dd23ca12e26ede2b
2011-03-29 10:58:43 -07:00
Eric Fischer
d22359e46b am f75f9c53: Import revised translations. DO NOT MERGE
* commit 'f75f9c5303cf7f4e3254448c3430afb0075fd5be':
  Import revised translations.  DO NOT MERGE
2011-03-22 14:06:11 -07:00
Eric Fischer
f75f9c5303 Import revised translations. DO NOT MERGE
Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
2011-03-22 13:40:31 -07:00
Eric Fischer
645f5e98ea am f11c0a24: (-s ours) am e37ee542: Import revised translations. DO NOT MERGE
* commit 'f11c0a245694d8396405e9ee47172714282b176b':
  Import revised translations.  DO NOT MERGE
2011-03-18 17:02:42 -07:00
Eric Fischer
f11c0a2456 am e37ee542: Import revised translations. DO NOT MERGE
* commit 'e37ee542e688c6815e1640abf31dbe6e983dd825':
  Import revised translations.  DO NOT MERGE
2011-03-18 16:53:05 -07:00
Eric Fischer
e37ee542e6 Import revised translations. DO NOT MERGE
Change-Id: I09b8c4f7c9a0b89fe5c4da8202115dedaa237fc3
2011-03-18 15:17:46 -07:00
Eric Fischer
88adb7d4a9 Import revised translations. DO NOT MERGE
Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
2011-03-16 17:02:12 -07:00
Jean Chalard
d631651b12 Avoid the removal of high-ranking exactly typed candidates.
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).

The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.

In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.

bug: 4100269

Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
Eric Fischer
c0471c43fb Import revised translations. DO NOT MERGE
Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
2011-03-15 14:49:18 -07:00
Eric Fischer
9db8d06418 Import revised translations. DO NOT MERGE
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-10 11:28:07 -08:00
Tadashi G. Takaoka
6a75cd124d Add alphabet hint to number password layout
Bug: 4063047
Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
2011-03-08 18:02:18 -08:00
Tadashi G. Takaoka
ab0ee37f52 Disable debug flag in TextEntryState
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-08 12:11:47 -08:00
satok
b55fcea6fc Merge "Add whitelist dictionary" into honeycomb-mr1 2011-03-07 22:45:09 -08:00
satok
e07f93d3ab Merge "Tweak the demotion rate for a word with missing letter" into honeycomb-mr1 2011-03-07 22:44:16 -08:00
satok
0bddb2f4d6 Tweak the demotion rate for a word with missing letter
Bug: 4027223

Change-Id: Ie9a5552d2f41d60f433573fde52efc097f5143bf
2011-03-07 19:44:52 -08:00
satok
bcfce3b3b9 Add whitelist dictionary
Bug: 3447571

Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-08 11:29:10 +09:00
satok
463418385c Merge "Fix a bug that a word with only one missing word is not promoted" into honeycomb-mr1 2011-03-07 18:15:39 -08:00
satok
1df8c82d71 Fix a bug that a word with only one missing word is not promoted
Bug: 4027223

Change-Id: Icf7c5b917c18b565dca95b98b96c1c8e2963f540
2011-03-07 18:01:09 -08:00
Eric Fischer
d7e2bc335d Import revised translations. DO NOT MERGE
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-07 13:03:14 -08:00
satok
3c4bb7747d A bug fix for the mistyped space algorithm
Bug: 3311719

-- also fixed compiler warnings

Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb
2011-03-04 23:25:48 -08:00
Jean Chalard
eaecb56f94 Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1 2011-03-04 22:43:16 -08:00
satok
f9a5bfa147 Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1 2011-03-04 22:24:05 -08:00
Ken Wakasa
5ac8546268 Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1 2011-03-04 22:14:24 -08:00
satok
817e517e46 Add the suggestion algorithm of words with space proximity
Bug: 3311719

Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Jean Chalard
07a8406bc1 Demote skipped characters matched words with respect to length.
Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.

Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05 13:20:19 +09:00
Ken Wakasa
baf263caf4 Fix a NPE caused by a null typedWord
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-05 12:50:58 +09:00
Eric Fischer
a549101f3a Import revised translations. DO NOT MERGE
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00