Commit Graph

12608 Commits (562eb620bc4f549a61186e5100e610b38b8e3daf)

Author SHA1 Message Date
Geoff Mendal 562eb620bc Import translations. DO NOT MERGE
Change-Id: If60e2720757e6988ac0644916922b60a628c9a6d
Auto-generated-cl: translation import
2015-06-08 06:06:27 -07:00
Geoff Mendal 58868f7cf2 Import translations. DO NOT MERGE
Change-Id: I30ebec3ff9a2c5820641f763e4c39b112ef935ad
Auto-generated-cl: translation import
2015-06-03 08:49:00 -07:00
Geoff Mendal aeb1766bf0 Import translations. DO NOT MERGE
Change-Id: I291365995a9edc43275cb516aa779d38537d3de1
Auto-generated-cl: translation import
2015-05-27 05:35:54 -07:00
Geoff Mendal 38bc5bde24 Import translations. DO NOT MERGE
Change-Id: Ia5dd139865135917c475211b95bcf9e380c2e481
Auto-generated-cl: translation import
2015-05-21 05:14:46 -07:00
Geoff Mendal a13341e6dd Import translations. DO NOT MERGE
Change-Id: I41fe3a389939a6acbfa0f337d0d6d1601adae269
Auto-generated-cl: translation import
2015-05-13 05:39:32 -07:00
Geoff Mendal 98c913a668 Import translations. DO NOT MERGE
Change-Id: I9adb2b63f6c20fefe50a80f8c966d682673901ac
Auto-generated-cl: translation import
2015-05-11 05:19:36 -07:00
Dan Zivkovic 9bad1ac33f Look up thresholds during decoder reset.
Bug 20701628.

Change-Id: I4de89587776a0859aeda5d2ed76ab1eb4f918458
2015-05-04 14:48:28 -07:00
Mohammadinamul Sheik f01cd568f0 Merge "Make the DictionaryService stage the downloaded files" 2015-05-04 19:04:15 +00:00
Mohammadinamul Sheik a0d9c82921 Make the DictionaryService stage the downloaded files
Bug: 20641948
Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
2015-05-04 11:57:31 -07:00
Geoff Mendal aa9bb2f1db Import translations. DO NOT MERGE
Change-Id: I4077e97bfbbb23bf55ceaf627306473e302f08fe
Auto-generated-cl: translation import
2015-05-01 20:47:07 -07:00
Dan Zivkovic f22571e2d9 Delete history on upgrade in LatinIME.
Bug 20733902.

Change-Id: Ibe27e6cafe4db87ba62d7df708229e0d8564ffa8
2015-05-01 12:45:07 -07:00
Tom Ouyang 89f9070264 Do not learn from cursor corrections when autocorrection is disabled.
Bug: 20681528
Change-Id: I80e7095b70a151f3ccc36856d7e0837613a35972
2015-04-30 15:10:50 -07:00
Dan Zivkovic 459b4f353e Spelling cannot cache words across invocations.
We want to let the facilitator decide if a word is valid or invalid, and cache
the answer in the facilitator's cache. The spell checker session doesn't need
its own word cache, except as a crutch to communicate suggestions to the code
that populates the suggestion drop-down. We leave that in place.

Bug 20018546.

Change-Id: I3c3c53e0c1d709fa2f64a2952a232acd7380b57a
2015-04-29 14:30:49 -07:00
Geoff Mendal 82bf4a6aee Merge "Import translations. DO NOT MERGE" 2015-04-29 13:32:04 +00:00
Geoff Mendal ca40954d9d Merge "Import translations. DO NOT MERGE" 2015-04-29 13:31:48 +00:00
Geoff Mendal 7b741fa666 Import translations. DO NOT MERGE
Change-Id: I48ca4bdfb8c0dded8af8412146b7902a34d88161
Auto-generated-cl: translation import
2015-04-29 06:19:13 -07:00
Geoff Mendal 3cc8ecb95f Import translations. DO NOT MERGE
Change-Id: I4e17f973073f0e5cbb1c8d8bae6e087cb8147b81
Auto-generated-cl: translation import
2015-04-29 06:18:06 -07:00
Geoff Mendal 8588e52379 Import translations. DO NOT MERGE
Change-Id: Iaef4f34aafd86ac42c650536601d67dad67f73f1
Auto-generated-cl: translation import
2015-04-29 06:17:25 -07:00
Chieu Nguyen 767c0bf71b Restore preference change update to show app icon setting.
Bug: 20544640
Change-Id: I6e2a26a8a5e43360dfefcc85bb46eae28f5e3867
2015-04-27 13:53:17 -07:00
Geoff Mendal ee10cceb52 Import translations. DO NOT MERGE
Change-Id: I5ad6f6abd6d40b1dea68441bca18851461ed6fd4
Auto-generated-cl: translation import
2015-04-27 06:29:58 -07:00
Geoff Mendal e9b52401a2 Merge "Import translations. DO NOT MERGE" 2015-04-25 09:26:04 +00:00
Geoff Mendal b6ced82d3b Import translations. DO NOT MERGE
Change-Id: I9964b966c2cf45db046bf295cc7d9051eb6ae023
Auto-generated-cl: translation import
2015-04-25 01:24:27 -07:00
Geoff Mendal 5617af7363 Import translations. DO NOT MERGE
Change-Id: I9ae307bf3567fa52a6fbb6f17de26de9274eff9c
Auto-generated-cl: translation import
2015-04-25 01:20:01 -07:00
Dan Zivkovic 784233dbc6 Specify fileName argument as Nullable.
Bug 20526371.

Change-Id: If53a81f925fbb1b29ad945ba0ec2192d92ae1eff
2015-04-23 14:12:33 -07:00
Chieu Nguyen a2376cd2b4 Restore switch for showing app icon.
Bug: 20307420
Change-Id: I95969de40936d2ea992669324d0c4df7e8de2bd9
2015-04-22 15:46:40 -07:00
Geoff Mendal fece743fee Merge "Import translations. DO NOT MERGE" 2015-04-22 12:49:11 +00:00
Geoff Mendal 987ce53937 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:48:08 +00:00
Geoff Mendal 072c2ed4f9 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:56 +00:00
Geoff Mendal 02c00cb197 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:42 +00:00
Geoff Mendal 0ff42b7f78 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:29 +00:00
Geoff Mendal 2d75d6ac86 Import translations. DO NOT MERGE
Change-Id: Id500c47ffc67f94d2a8e273ab0f19deceb44a1e5
Auto-generated-cl: translation import
2015-04-22 05:46:20 -07:00
Geoff Mendal 3446b9662b Import translations. DO NOT MERGE
Change-Id: Ieca899d22fe4aee62edb01073e7fb301162406ef
Auto-generated-cl: translation import
2015-04-22 05:45:37 -07:00
Geoff Mendal 3a9f2b64a4 Import translations. DO NOT MERGE
Change-Id: I45a167114702d67738d5f9eb8781b421280787ed
Auto-generated-cl: translation import
2015-04-22 05:44:29 -07:00
Geoff Mendal 3363aa52e0 Import translations. DO NOT MERGE
Change-Id: I97a940bcf053f383c40e03847cf2f14b38e8a62c
Auto-generated-cl: translation import
2015-04-22 05:43:48 -07:00
Geoff Mendal c203f669d7 Import translations. DO NOT MERGE
Change-Id: Ibcb1922d708ae3894eb7015fabf24a399ef31ca3
Auto-generated-cl: translation import
2015-04-22 05:42:49 -07:00
Geoff Mendal 424d59b608 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:42:47 +00:00
Geoff Mendal 378416e1c8 Import translations. DO NOT MERGE
Change-Id: Ided6d0f74ba4159e0b59bc6ea8867b5096c1ea80
Auto-generated-cl: translation import
2015-04-22 05:42:17 -07:00
Geoff Mendal 8745f9e032 Import translations. DO NOT MERGE
Change-Id: Iceda291cbb5d6d33c82346973c45a24c0601b04d
Auto-generated-cl: translation import
2015-04-22 05:41:33 -07:00
Yohei Yukaw 490fa47a46 Always specify non-null Locale object to SuggestionSpan
Confusingly, specifying a null Locale object to the constructor
of SuggestionSpan does not necessarily mean that
SuggestionSpan#getLocale() returns null.  The constructor in
question also receives Context object, and Context's locale can
be used as a fallback locale to initialize locale of
SuggestionSpan.

With this CL, LatinIME always specify non-null Locale object
when instantiating SuggestionSpan object.  It basically
corresponds to the active main dictionary, but can be
Locale#ROOT when one locale is not determined for some reasons.

BUG: 20435013
Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
2015-04-20 20:29:44 -07:00
Martin Paraskevov 54e891e2bd Merge "Fix bug in regular expression stripping quotes." 2015-04-21 03:04:13 +00:00
Martin Paraskevov ab8482a34b Fix bug in regular expression stripping quotes.
Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
2015-04-20 19:58:45 -07:00
Tom Ouyang cdfe8b93ec Merge "Add affinity model for contact names." 2015-04-17 01:05:44 +00:00
Martin Paraskevov c155f7f5fd Merge "Strip quotes from begining/end of a word before checking its validity." 2015-04-16 23:46:40 +00:00
Tom Ouyang 44a175732d Add affinity model for contact names.
This allows us to:
1. Rank contacts and only add the top N names to the keyboard LM.
2. Avoid adding duplicate names.

Note: The affinity calcualuation is limited by the fact that some apps
currently do not update the TIMES_CONTACTED counter. To better handle
this case, the new measure also takes into account whether or not a
name is in the visible contacts group.

Bug: 20053274
Change-Id: I2741cb8958667d4a294aba8c437a45cec4b42dc7
2015-04-16 11:33:54 -07:00
Martin Paraskevov 8ff42d1581 Strip quotes from begining/end of a word before checking its validity.
Bug: 20142633

Change-Id: Ia0f3661ac3028473c00f83df72dcb9e1fd134247
2015-04-15 19:00:45 -07:00
Mohammadinamul Sheik 3a5de64110 Do not re-download the unused dictionaries.
Does the following
1. Uses dictionaries from the files/ directory while populating the
   entries into the pendingUpdates table. So that a download happens only
   if the metadata.json says so.
2. Delete an unusable dictionaries from the files/ directory.

Bug: 20142708
Change-Id: Ibd738793585c39735868e324b8ad682dff0eba34
2015-04-15 11:12:40 -07:00
Jatin Matani bf732e7001 Merge "Store raw strings for personal dictionary" 2015-04-14 18:03:56 +00:00
Mohammadinamul Sheik db96122787 Fix the NPE on selection string on unlearnWord
Bug: 20150386
Change-Id: I2ed69aba7b1fdaba1e2ac07b8218a265dfe23e09
2015-04-13 16:30:22 -07:00
Jatin Matani 1bfd7be208 Store raw strings for personal dictionary
The raw strings would be sent to personal LM for decoding.
Earlier lowercased strings were being used with the purpose
of isValid checks (spelling does not consider casing for spell
checking calls). But for showing these in suggestion, we need the
raw strings.

Note: PersonalDictionaryLookup#getWordsForLocale is used to feed
the personal LM in PersonalLanguageModelHelper.

Bug:20152986
Change-Id: I9d796fa57bf2073036bf11d86b143ff205a6199c
2015-04-13 16:28:26 -07:00
Dan Zivkovic 40f0f61bb3 Merge "Personal dictionary feeds a personal LM." 2015-04-10 01:43:35 +00:00