Commit Graph

3541 Commits (8d0b67043456c5270f5b2742e47d31c55ca4fe3e)

Author SHA1 Message Date
The Android Automerger 51410c6326 merge in gingerbread-release history after reset to gingerbread 2011-03-16 05:43:35 -07:00
Jean Chalard 027992afdc am d631651b: Avoid the removal of high-ranking exactly typed candidates.
* commit 'd631651b1291aef52bdd6ea7caaf9b95c9704506':
  Avoid the removal of high-ranking exactly typed candidates.
2011-03-15 23:54:31 -07:00
Eric Fischer 1f3adba970 am c0471c43: (-s ours) Import revised translations. DO NOT MERGE
* commit 'c0471c43fb056adc32a9fd9f8eaff449e1822b29':
  Import revised translations.  DO NOT MERGE
2011-03-15 23:34:14 -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 9eb7e2c37f Import revised translations.
Change-Id: Idc65c5944dcfa576ee50facb6b1f82e2a7d7186f
2011-03-15 10:48:11 -07:00
The Android Automerger 16252d6844 merge in gingerbread-release history after reset to gingerbread 2011-03-14 22:33:45 -07:00
The Android Automerger bf43ec55a9 merge in gingerbread-release history after reset to gingerbread 2011-03-12 11:56:17 -08:00
The Android Automerger eea8179430 merge in gingerbread-release history after reset to gingerbread 2011-03-11 10:35:27 -08:00
Eric Fischer 7be32d4fb2 am 9db8d064: (-s ours) Import revised translations. DO NOT MERGE
* commit '9db8d0641862e2d9532d2cde38e3b1538df5f0b2':
  Import revised translations.  DO NOT MERGE
2011-03-10 13:54:44 -08:00
Eric Fischer 9db8d06418 Import revised translations. DO NOT MERGE
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-10 11:28:07 -08:00
Tadashi G. Takaoka 33e8124cf4 am 6a75cd12: Add alphabet hint to number password layout
* commit '6a75cd124d885df1b257d63c9c2b0561a9b09b84':
  Add alphabet hint to number password layout
2011-03-09 10:07:46 -08:00
The Android Automerger 3fed102325 merge in gingerbread-release history after reset to gingerbread 2011-03-09 08:53:55 -08:00
Tadashi G. Takaoka 56d54381de am ab0ee37f: Disable debug flag in TextEntryState
* commit 'ab0ee37f52b87756c6d91aecd508fda821aeb4b6':
  Disable debug flag in TextEntryState
2011-03-08 18:41:24 -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 b34c74abb1 am b55fcea6: Merge "Add whitelist dictionary" into honeycomb-mr1
* commit 'b55fcea6fc23bf44966ffb278d976c54995be72e':
  Add whitelist dictionary
2011-03-07 22:50:07 -08:00
satok 2113ec2fa4 am e07f93d3: Merge "Tweak the demotion rate for a word with missing letter" into honeycomb-mr1
* commit 'e07f93d3ab60f88b154740186795efaf802c7051':
  Tweak the demotion rate for a word with missing letter
2011-03-07 22:48:09 -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 36e2abdd3b am 46341838: Merge "Fix a bug that a word with only one missing word is not promoted" into honeycomb-mr1
* commit '463418385c2bca0ec13a3f720e0dbdbe769004bd':
  Fix a bug that a word with only one missing word is not promoted
2011-03-07 18:20:45 -08: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
The Android Automerger 7374ca128b merge in gingerbread-release history after reset to gingerbread 2011-03-07 16:40:07 -08:00
Eric Fischer b84046a3ba am d7e2bc33: (-s ours) Import revised translations. DO NOT MERGE
* commit 'd7e2bc335d354a4bb5ae78594aa38cb60df0597b':
  Import revised translations.  DO NOT MERGE
2011-03-07 13:32:26 -08:00
Eric Fischer d7e2bc335d Import revised translations. DO NOT MERGE
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-07 13:03:14 -08:00
satok 509b13cd80 am 3c4bb774: A bug fix for the mistyped space algorithm
* commit '3c4bb7747d1a16d6b9d2d34992bad250069632a7':
  A bug fix for the mistyped space algorithm
2011-03-06 01:38:01 -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 8867737adf am eaecb56f: Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
* commit 'eaecb56f948a4979e72346f6c5c64b56f7bc7bbf':
  Demote skipped characters matched words with respect to length.
2011-03-04 22:46:13 -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 a7dfbf8409 am f9a5bfa1: Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
* commit 'f9a5bfa147b07f135e8da6f9b7305c31181fa5eb':
  Add the suggestion algorithm of words with space proximity
2011-03-04 22:27:28 -08:00
Ken Wakasa 107e876757 am 5ac85462: Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
* commit '5ac8546268a3c3cd2f523d086043d6200c553fa7':
  Fix a NPE caused by a null typedWord
2011-03-04 22:24:22 -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
The Android Automerger ef6feb950c merge in gingerbread-release history after reset to gingerbread 2011-03-04 21:56:42 -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
The Android Automerger cd13291501 merge in gingerbread-release history after reset to gingerbread 2011-03-04 17:41:52 -08:00
Eric Fischer 1cc3d5495c am a549101f: (-s ours) Import revised translations. DO NOT MERGE
* commit 'a549101f3af5ece5bae8ebf0d3bf9976db0c8a4f':
  Import revised translations.  DO NOT MERGE
2011-03-04 14:01:40 -08:00
Eric Fischer a549101f3a Import revised translations. DO NOT MERGE
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00
Tadashi G. Takaoka d465e2aad1 Merge "Fix unit test helper" into honeycomb-mr1 2011-03-03 23:09:33 -08:00
Tadashi G. Takaoka d90be6c921 Fix unit test helper
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-03 23:06:45 -08:00
Jean Chalard fe18612ced Merge "Fix a bug with umlaut processing." into honeycomb-mr1 2011-03-03 20:08:42 -08:00
Jean Chalard a787dba83b Fix a bug with umlaut processing.
Issue: 3275926
Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca
2011-03-04 13:07:07 +09:00
Tadashi G. Takaoka d628e72958 Merge "Cleanup Suggest to be able to be unit test ready" into honeycomb-mr1 2011-03-03 19:27:38 -08:00
Tadashi G. Takaoka c2c44f94e7 Cleanup Suggest to be able to be unit test ready
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03 19:18:03 -08:00
Eric Fischer 50a4cb403f Remove unneeded large-screen-specific translations.
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03 15:50:53 -08:00