Skip to content
Snippets Groups Projects
  1. Apr 27, 2015
  2. Apr 25, 2015
  3. Apr 23, 2015
  4. Apr 22, 2015
  5. Apr 21, 2015
    • Yohei Yukaw's avatar
      Always specify non-null Locale object to SuggestionSpan · 490fa47a
      Yohei Yukaw authored
      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
      490fa47a
    • Martin Paraskevov's avatar
      Fix bug in regular expression stripping quotes. · ab8482a3
      Martin Paraskevov authored
      Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
      ab8482a3
  6. Apr 16, 2015
    • Tom Ouyang's avatar
      Add affinity model for contact names. · 44a17573
      Tom Ouyang authored
      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
      44a17573
    • Martin Paraskevov's avatar
      Strip quotes from begining/end of a word before checking its validity. · 8ff42d15
      Martin Paraskevov authored
      Bug: 20142633
      
      Change-Id: Ia0f3661ac3028473c00f83df72dcb9e1fd134247
      8ff42d15
  7. Apr 15, 2015
    • Mohammadinamul Sheik's avatar
      Do not re-download the unused dictionaries. · 3a5de641
      Mohammadinamul Sheik authored
      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
      3a5de641
  8. Apr 13, 2015
    • Mohammadinamul Sheik's avatar
      Fix the NPE on selection string on unlearnWord · db961227
      Mohammadinamul Sheik authored
      Bug: 20150386
      Change-Id: I2ed69aba7b1fdaba1e2ac07b8218a265dfe23e09
      db961227
    • Jatin Matani's avatar
      Store raw strings for personal dictionary · 1bfd7be2
      Jatin Matani authored
      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
      1bfd7be2
  9. Apr 10, 2015
  10. Apr 09, 2015
    • Tom Ouyang's avatar
      Extract fewer characters in getWordRangeAtCursor(). · 3952078a
      Tom Ouyang authored
      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
      3952078a
  11. Apr 07, 2015
    • Dan Zivkovic's avatar
      Make logs less spammy. · 7f386acd
      Dan Zivkovic authored
      Bug 19987461.
      
      Change-Id: Ibf58f2b26c2d01f765ef32abb47c84be49e2ba9f
      7f386acd
    • Dan Zivkovic's avatar
      Read less data from the input connection. · 6bb70115
      Dan Zivkovic authored
      Currently, we read 256 (max word size) * 5 (max N-gram size + 1) characters
      from the input connection when building our context. This is overkill. We
      don't need more than 80 characters, regardless of which decoder we use.
      
      Bug 19987461.
      
      Change-Id: Ie3a321cf2482adbacd8006d9d86e6601097c15ed
      6bb70115
    • Dan Zivkovic's avatar
      Skip decoding for in-vocabulary words. · 3e66c635
      Dan Zivkovic authored
      The spell checker is decoding, and getting multiple sets of suggestions, for
      every word it encounters. It even does that for in-vocabulary words, though
      it will not underline or show suggestions for in-vocabulary words.
      
      Bug 19987461.
      
      Change-Id: Ie61101fa8ab8917f3f49c77768dbcffd96c1685e
      3e66c635
  12. Apr 06, 2015
  13. Apr 04, 2015
  14. Apr 03, 2015
  15. Apr 02, 2015
  16. Apr 01, 2015
  17. Mar 31, 2015
Loading