Skip to content
Snippets Groups Projects
  1. Aug 09, 2011
    • Jean Chalard's avatar
      Stop reloading contacts when not appropriate. · 14051e2b
      Jean Chalard authored
      A recent change had the contacts reloaded every time a new field
      is touched. This change not only fixes the problem, but also removes
      reloading contacts when changing language, which should make language
      switch within LatinIME lighter.
      
      Bug: 5125034
      Change-Id: Ia61c4f75a8617113cdce88a2e2c6fdf073146a2d
      14051e2b
  2. Jun 10, 2011
  3. May 02, 2011
    • Jean Chalard's avatar
      Straighten out magic space vs real spaces behavior. · 0730bbfb
      Jean Chalard authored
      Picking a suggestion inserts a space after the word. This change makes
      this space a magic space.
      
      Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE
      and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code,
      and remove a useless import directive in some unrelated file.
      
      Bug: 4319740
      
      Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
      0730bbfb
  4. Apr 26, 2011
  5. Dec 10, 2010
  6. Aug 20, 2010
  7. 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
  8. Jul 28, 2010
    • Jae Yong Sung's avatar
      - separate dict (uses xml) · 80aa14fd
      Jae Yong Sung authored
      - retrieve bigrams that only starts with character typed and neighbor keys
      - contacts bigram
      - performance measure
      
      bug: 2873133
      
      Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
      80aa14fd
  9. Jun 02, 2010
  10. 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
  11. Mar 09, 2010
  12. 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
  13. Jan 12, 2010
  14. Nov 13, 2009
  15. Nov 12, 2009
    • Amith Yamasani's avatar
      Fix for #2244624 : Keyboard freezes up sometimes · 718e813f
      Amith Yamasani authored
      I think the cause for this is the Contacts database being updated. This
      causes the keyboard to reload the contacts once every 30 minutes. Since it
      loads it synchronously, it affects people with several thousand contacts.
      
      Although in my tests, with 3000 contacts, the delay was only 600ms, I've
      had several reports from long-time googlers about this problem, so I'm
      switching to loading the contacts asynchronously in a background thread.
      
      Also fix a potential problem with capitalizing "i" if a contact has "i" as
      one of the names.
      718e813f
  16. Oct 08, 2009
    • Amith Yamasani's avatar
      Fix for 2148982: Keyboard freezes while typing · b3f6d58b
      Amith Yamasani authored
      Contacts dictionary code was being triggered too frequently during sync and
      during presence updates and this seems expensive for accounts with a lot of
      contacts.
      
      Throttling the contacts read to every 30 minutes.
      b3f6d58b
  17. Aug 27, 2009
  18. Aug 18, 2009
  19. Aug 14, 2009
  20. Mar 13, 2009
Loading