Skip to content
Snippets Groups Projects
  1. Jan 17, 2013
  2. Jan 08, 2013
  3. Jan 07, 2013
    • Ken Wakasa's avatar
      Small code cleanups · b6ca3544
      Ken Wakasa authored
      Multi-project commit with I249d5fbe
      
      Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
      b6ca3544
  4. Dec 14, 2012
    • Jean Chalard's avatar
      Use the amended user dictionary word for insertion · 18d688c9
      Jean Chalard authored
      When the user edits a word before adding it to the user
      dictionary, the keyboard should replace whatever was
      committed before with the amended version.
      
      Bug: 7725834
      Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
      18d688c9
  5. Oct 22, 2012
  6. Jul 05, 2012
  7. Jul 02, 2012
    • Jean Chalard's avatar
      Fix a bug with the user dictionary locale. · d113fd0b
      Jean Chalard authored
      We internally use the string "zz" to mean no locale, but
      the user dictionary service does not understand that and
      words added with this locale pitifully end being added to
      a "zz" user dictionary, which makes no sense to the user.
      This change fixes things so that words added when the
      keyboard is in a "no locale" layout, the words are added
      to the global, all-locales user dictionary.
      
      Bug: 6645306
      Change-Id: Iec3cdd1fe3d5bc43427a43ef9ae9bf89e12be1f2
      d113fd0b
  8. Jun 27, 2012
  9. Jun 21, 2012
    • Jean Chalard's avatar
      Improve compatibility for ICS. · 9997b448
      Jean Chalard authored
      ICS didn't have a SHORTCUT column in the user dictionary.
      If running on a build under JellyBean, we should not ask
      for it lest we crash.
      
      Bug: 6600617
      Change-Id: Iac0cbcc63c10064f01e2d51eec5931fd9cdd0922
      9997b448
  10. May 17, 2012
  11. May 15, 2012
  12. Apr 17, 2012
  13. 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
  14. Dec 15, 2011
  15. Dec 07, 2011
  16. 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
  17. Nov 07, 2011
  18. 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
  19. Sep 14, 2011
  20. Aug 04, 2011
  21. Jul 22, 2011
  22. 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
  23. Feb 17, 2011
  24. Feb 14, 2011
    • Ken Wakasa's avatar
      Fix NPE · b1e05d66
      Ken Wakasa authored
      bug: 3446590
      Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
      b1e05d66
  25. Dec 16, 2010
  26. Dec 13, 2010
  27. Dec 10, 2010
  28. Dec 02, 2010
  29. Sep 24, 2010
  30. Aug 20, 2010
  31. Jun 02, 2010
  32. 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
  33. Mar 09, 2010
  34. 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
  35. 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
  36. Nov 13, 2009
  37. 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
  38. Mar 13, 2009
Loading