Commit Graph

13475 Commits (6441faa610dced3c62866835ac84227473149742)

Author SHA1 Message Date
Chieu Nguyen 6441faa610 am 767c0bf7: Restore preference change update to show app icon setting.
* commit '767c0bf71b9c0af7f8451d7d355f6efad21a6e5b':
  Restore preference change update to show app icon setting.
2015-04-27 21:55:38 +00: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
Geoff Mendal b42f85c8ca Import translations. DO NOT MERGE
Change-Id: I5eedc967208ea3d92d4d73b536281040106d7591
Auto-generated-cl: translation import
2015-04-25 01:19:20 -07:00
Dan Zivkovic 0108a51731 am 784233db: Specify fileName argument as Nullable.
* commit '784233dbc6dda7e702228fc831f3255bb4963f04':
  Specify fileName argument as Nullable.
2015-04-23 21:32:32 +00:00
Dan Zivkovic 784233dbc6 Specify fileName argument as Nullable.
Bug 20526371.

Change-Id: If53a81f925fbb1b29ad945ba0ec2192d92ae1eff
2015-04-23 14:12:33 -07:00
Chieu Nguyen 9d95f80e70 am a2376cd2: Restore switch for showing app icon.
* commit 'a2376cd2b4fea6b655fdcdf794cf16b7bbe1a161':
  Restore switch for showing app icon.
2015-04-22 23:17:40 +00: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 4acd7177dd am 490fa47a: Always specify non-null Locale object to SuggestionSpan
* commit '490fa47a46015f2c8bd8f9010d236bfe5aecd4bb':
  Always specify non-null Locale object to SuggestionSpan
2015-04-22 08:00:45 +00: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 f76430ddb9 am 54e891e2: Merge "Fix bug in regular expression stripping quotes."
* commit '54e891e2bdce2d3d1f8a319c1f596fd6590314f3':
  Fix bug in regular expression stripping quotes.
2015-04-21 03:15:27 +00: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 71f0e43b70 am cdfe8b93: Merge "Add affinity model for contact names."
* commit 'cdfe8b93ec8098c1c39a156948d9a79963dfd90e':
  Add affinity model for contact names.
2015-04-17 01:16:45 +00:00
Tom Ouyang cdfe8b93ec Merge "Add affinity model for contact names." 2015-04-17 01:05:44 +00:00
Martin Paraskevov f93aea6545 am c155f7f5: Merge "Strip quotes from begining/end of a word before checking its validity."
* commit 'c155f7f5fd4aeefcce69a06755a0b3c1360277b8':
  Strip quotes from begining/end of a word before checking its validity.
2015-04-16 23:58:23 +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 a527566fd2 am 3a5de641: Do not re-download the unused dictionaries.
* commit '3a5de64110eab7ae0b6b1da86b5ce30d5b16bd7a':
  Do not re-download the unused dictionaries.
2015-04-15 18:37:14 +00: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 1b79b25f24 am bf732e70: Merge "Store raw strings for personal dictionary"
* commit 'bf732e70013c6703adf83ec34b38ba7bd2d4a509':
  Store raw strings for personal dictionary
2015-04-14 18:11:51 +00:00
Jatin Matani bf732e7001 Merge "Store raw strings for personal dictionary" 2015-04-14 18:03:56 +00:00
Mohammadinamul Sheik 70f0c72135 am db961227: Fix the NPE on selection string on unlearnWord
* commit 'db96122787a57632136566e2448c21aa96879955':
  Fix the NPE on selection string on unlearnWord
2015-04-13 23:49:43 +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 694f6dbd53 am 40f0f61b: Merge "Personal dictionary feeds a personal LM."
* commit '40f0f61bb365b5073f1d9fdb56a393c5df5ef4b0':
  Personal dictionary feeds a personal LM.
2015-04-10 01:52:23 +00:00
Dan Zivkovic 40f0f61bb3 Merge "Personal dictionary feeds a personal LM." 2015-04-10 01:43:35 +00:00
Dan Zivkovic 541ef56e05 Personal dictionary feeds a personal LM.
Bug 20043003.

Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
2015-04-09 18:35:57 -07:00
Tom Ouyang efa968acd9 am 3952078a: Extract fewer characters in getWordRangeAtCursor().
* commit '3952078a919caf9a44d271642122c413dbd487f9':
  Extract fewer characters in getWordRangeAtCursor().
2015-04-09 19:12:26 +00:00
Tom Ouyang 3952078a91 Extract fewer characters in getWordRangeAtCursor().
Use LOOKBACK_CHARACTER_NUM = 80 instead of the previous
EDITOR_CONTENTS_CACHE_SIZE = 1024 (which was overkill).

This speeds up many InputLogic operations.

Bug: 19987461
Change-Id: I62b6a589f87e5daab33376b3e48f1c615a66dcfb
2015-04-09 11:45:55 -07:00
Dan Zivkovic b9b6e287ea am 7f386acd: Make logs less spammy.
* commit '7f386acdd1bcf7bfd6b48ee4d01bf3f2dc52e2ce':
  Make logs less spammy.
2015-04-07 18:51:25 +00:00
Dan Zivkovic d4156ddfe0 am 6bb70115: Read less data from the input connection.
* commit '6bb701155931fbf3f96aaea1c8c7b0ba4b521b3f':
  Read less data from the input connection.
2015-04-07 18:51:23 +00:00
Dan Zivkovic ed8d5f4cc0 am 3e66c635: Skip decoding for in-vocabulary words.
* commit '3e66c6357d5cc9e8e3ef8e63c2334d2b92465061':
  Skip decoding for in-vocabulary words.
2015-04-07 18:51:21 +00:00