Skip to content
Snippets Groups Projects
  1. Dec 15, 2011
  2. Dec 13, 2011
    • Jean Chalard's avatar
      Various mini-cleanups · f7d6517d
      Jean Chalard authored
      - Stop the word composer from escaping - take a page from the law
        of Demeter and only report what is actually needed.
      - Fix typos in comments.
      - Add a comment for a fishy processing.
      - Remove a useless local variable.
      
      Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
      f7d6517d
  3. Oct 28, 2011
  4. Jul 19, 2011
  5. Jul 15, 2011
  6. May 25, 2011
  7. May 20, 2011
  8. Apr 20, 2011
  9. Mar 08, 2011
  10. Dec 10, 2010
  11. Nov 29, 2010
  12. Aug 20, 2010
  13. Aug 10, 2010
    • Jae Yong Sung's avatar
      -UserBigram · ac093396
      Jae Yong Sung authored
      -UnitTest for UserBigram
      -Changes for number of bigrams to load
      
      Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
      ac093396
  14. Jun 02, 2010
  15. Mar 31, 2010
    • Amith Yamasani's avatar
      Avoid race conditions between queries and closing of the auto_dict database. · fbd18664
      Amith Yamasani authored
      Keep a reference to the openhelper around across locale and input language
      changes. Also, share the openhelper between the queries and updates. Creating
      a new one in a separate thread could cause it to be closed at the wrong time.
      
      Monkey bugs, probably dupes.
      
      Bug: 2560471
      Bug: 2544169
      Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
      fbd18664
  16. Mar 23, 2010
  17. 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
  18. Mar 09, 2010
  19. 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
Loading