Skip to content
Snippets Groups Projects
  1. Feb 17, 2012
    • Jean Chalard's avatar
      Don't assume a word has been added to the user dict · 8e4b3bbf
      Jean Chalard authored
      The user may now cancel or edit a word upon adding to the
      user dictionary. We can no longer assume the word has been
      added as is and for the current locale. We should just rely
      on standard mechanisms that inform us of new insertions.
      
      Bug: 6015347
      Change-Id: I069b19c0c844ca29d6de4c4d162306f9413adea8
      8e4b3bbf
  2. Dec 15, 2011
  3. Dec 07, 2011
  4. Nov 18, 2011
    • Jean Chalard's avatar
      Cleanup. · 88562bec
      Jean Chalard authored
      Fix a typo, and move a cursor.close() in a finally{} clause
      
      Change-Id: Iac011ebb80b9430774c7dc5cd94728d05cef443f
      88562bec
  5. Nov 07, 2011
  6. Sep 15, 2011
    • Jean Chalard's avatar
      Add an option to user dict to match more precise locales · cfed2739
      Jean Chalard authored
      This should not be used lightly, as it violates the general
      contract of locale, and does kill some legitimate (albeit
      alledgedly rare) use patterns.
      Currently, the spell checker uses this because it uses a
      negative logic: it should match broadly, and when in doubt,
      match even more broadly, which is almost never the case of
      something that uses the locale.
      In other words: don't use this option unless you are
      very, VERY sure that's what you want. Hint: it isn't
      
      Bug: 5280929
      Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05
      cfed2739
  7. Sep 14, 2011
  8. Aug 04, 2011
  9. Jul 22, 2011
  10. Jul 13, 2011
    • Jean Chalard's avatar
      Fix crash on adding a word in the user dictionary. · 092826c8
      Jean Chalard authored
      When the User dictionary service is off, LatinIME still allows to add
      words to it and it crashed if the user tries to do so. This change
      fixes the crash; it does not however fix the interface.
      
      Bug: 5004408
      Change-Id: I5bd2684ab3010963c1f737fc764e70e79aadbe8d
      092826c8
  11. Feb 17, 2011
  12. Feb 14, 2011
    • Ken Wakasa's avatar
      Fix NPE · b1e05d66
      Ken Wakasa authored
      bug: 3446590
      Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
      b1e05d66
  13. Dec 16, 2010
  14. Dec 13, 2010
  15. Dec 10, 2010
  16. Dec 02, 2010
  17. Sep 24, 2010
  18. Aug 20, 2010
  19. Jun 02, 2010
  20. Mar 10, 2010
    • Amith Yamasani's avatar
      Load UserDictionary and AutoDictionary in a background thread. · 283a77f6
      Amith Yamasani authored
      This is to avoid ANRs during bootup, as some of the providers
      may not have been initialized yet.
      
      Refactored the ContactsDictionary and moved the async loading
      code to ExpandableDictionary to share with the other dicts.
      
      Bug: 2501133
      Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
      283a77f6
  21. Mar 09, 2010
  22. Feb 24, 2010
    • Amith Yamasani's avatar
      Save and restore Auto Dictionary data. · 6516d0fd
      Amith Yamasani authored
      Due to the addition of input language switching, the auto dictionary
      will be re-created very frequently. We need to save it and restore it
      during transitions, otherwise the data will be purged too often to be
      of much use in the multi-lingual case.
      
      This also fixes the case where a user frequently turns the phone off/on.
      Auto dictionary data was not being saved in those situations either.
      
      The dictionary will probably never grow too large since most of the
      frequently used words will be moved to the user dictionary any way.
      
      Also, now the input locale is different from the display locale, so
      save the input locale in the UserDictionary class and insert words
      into the user dictionary with the correct locale.
      
      And NPE fix for bug: 2464573
      6516d0fd
  23. Feb 08, 2010
    • Amith Yamasani's avatar
      Increase target size of preferred letters while typing. · 1b62ff1a
      Amith Yamasani authored
      This increases the chance of hitting the correct letter when typing a word
      that exists in the dictionary, rather than only correct it after the fact.
      It is most effective after 2 or 3 letters of a word have been typed and gets
      more accurate with more typed letters in the word.
      
      If 2 adjacent letters have similar probabilities of occuring, then there is no
      hit correction applied.
      1b62ff1a
  24. Nov 13, 2009
  25. Aug 14, 2009
    • Amith Yamasani's avatar
      Auto add new words to the user dictionary. · 34386e69
      Amith Yamasani authored
      First pass at automatically adding new words that the user types and deliberately
      accepts.
      After typing the word 4 times, the word gets promoted to being valid.
      After typing the word 7 times, the word gets added into the UserDictionary and can
      be removed from the UserDictionary Settings UI.
      
      Also add a second row of symbols to the period popup.
      34386e69
  26. Mar 13, 2009
Loading