Skip to content
Snippets Groups Projects
  1. Jan 26, 2012
  2. Dec 21, 2011
  3. Dec 19, 2011
  4. Dec 18, 2011
  5. Dec 16, 2011
  6. Dec 15, 2011
    • Jean Chalard's avatar
      Group all input-related info into an inner class. · 27dff638
      Jean Chalard authored
      Currently, these variables hold the info about the composing
      word, or maybe some outdated info, and it's not very clear
      which it is. LatinIME is maintaining the freshness info in
      a separate boolean, and uses it throughout the code for many,
      many things, leading to much confusion.
      The idea in grouping this info is, it can be saved in another
      instance and restored later. It can be tested against to know
      whether there is actually outdated but kept info or not, and
      it should allow to straighten out what is actually currently
      being typed. Ultimately, it will eliminate the need for
      LatinIME to keep track of the status of the info in the
      word composer.
      
      Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
      27dff638
  7. 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
    • Jean Chalard's avatar
      Move mBestWord to the word composer. · 117fc93f
      Jean Chalard authored
      mBestWord has a confusing name - it's actually an auto-correction.
      It's cleaner if it lives in the word composer because an
      auto-correction should be tied to a specific user input, and
      should be reset each time the user input changes to avoid
      race conditions.
      
      Change-Id: I718d29395bc747372067e6440e090c6a181994ae
      117fc93f
  8. Dec 12, 2011
  9. Nov 29, 2011
  10. Nov 21, 2011
    • Jean Chalard's avatar
      Special case quotes at start and end of words · c83359f9
      Jean Chalard authored
      Single quote at start of word is not considered a part of a
      word any more.
      Single quote at the end of a word now behave like capitalization:
      lookup in the dictionary is done *disregarding* a final quote,
      and it is forcefully added back into the suggestions afterwards.
      
      Bug: 5566368
      Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a
      c83359f9
  11. Oct 28, 2011
  12. Sep 16, 2011
  13. Sep 15, 2011
    • Jean Chalard's avatar
      Avoid returning an object that's still used internally · 5c08151c
      Jean Chalard authored
      There is no definite path known for this to end up being
      touched by other classes, but we could imagine through
      some way or some other it ends up shoved in the stringbuilder
      pool, leading to catastrophic results.
      
      Hopefully related to
      Bug: 5248688
      
      Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938
      5c08151c
  14. Sep 13, 2011
  15. May 12, 2011
  16. May 10, 2011
  17. Feb 23, 2011
  18. Feb 17, 2011
  19. Sep 27, 2010
  20. Sep 23, 2010
  21. Aug 24, 2010
    • satok's avatar
      Clean up LatinIME java · 525141a4
      satok authored
      - remove unused code
      - add @Override
      - change the inappropriate cast
      
      Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
      525141a4
  22. Aug 20, 2010
  23. Jul 09, 2010
    • Amith Yamasani's avatar
      Fix some bugs in editing feature · b71547f2
      Amith Yamasani authored
      - Fixed caching of words - some StringBuilders were being recycled while also being cached. Making copies now.
      - Fixed regression in revert - don't reset the word composer after saving the accepted word.
      - Removed flicker when cursoring through a word - delay the abortCorrection() until we need to and do the correction
         as an atomic operation.
      - Fixed replacing of "selected" words (double-tap to select a word)
      
      Still to do:
      - Remove flicker on highlighting a word - may need a framework change
      - Don't remove spans on text that's already in the text field - may require a framework change.
      - Figure out what to do about the punctuations that share the suggestion strip when in correction mode.
      b71547f2
  24. Jun 25, 2010
  25. May 07, 2010
  26. Apr 05, 2010
    • Jean-Baptiste Queru's avatar
      Clarify licensing · 443c360d
      Jean-Baptiste Queru authored
      -use AOSP copyright instead of Google
      -add NOTICE and tag file
      
      Bug: 2548782
      Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
      443c360d
  27. Mar 15, 2010
  28. Mar 09, 2010
  29. Jan 24, 2010
  30. Nov 13, 2009
  31. Aug 14, 2009
    • Amith Yamasani's avatar
      Some performance optimizations. · 32638419
      Amith Yamasani authored
      Makes the user/contacts dictionary lookup faster. This is necessary because
      there's more in these dictionaries now and it's written in Java.
      
      Fix an auto-caps issue when moving the cursor. And do it a little lazily.
      
      Fixed a bug that was causing user dictionary words to get a much
      higher weightage than the main dictionary.
      32638419
Loading