Skip to content
Snippets Groups Projects
  1. Mar 29, 2013
    • Jean Chalard's avatar
      Fix an NPE · 740da0d8
      Jean Chalard authored
      Also remove an unused method and make 2 private variables
      final.
      
      Bug: 8461093
      Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf
      740da0d8
  2. Mar 18, 2013
  3. Feb 12, 2013
  4. Jan 21, 2013
  5. Jan 17, 2013
  6. Jan 10, 2013
  7. Jan 08, 2013
  8. Jan 07, 2013
    • Ken Wakasa's avatar
      Small code cleanups · b6ca3544
      Ken Wakasa authored
      Multi-project commit with I249d5fbe
      
      Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
      b6ca3544
  9. Dec 27, 2012
    • Jean Chalard's avatar
      Rename some confusing variables · 0abc4821
      Jean Chalard authored
      Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414
      0abc4821
    • Jean Chalard's avatar
      Fix an old bug in getting a word from the connected view. · 5bde3a61
      Jean Chalard authored
      In this test, it's impossible that start < 0 so the test is useless.
      I'm not sure what the cursor test was for, but it's very old code, and
      it seems the assumption was either misled or doesn't hold any more:
      testing for the absolute cursor position against the length of the
      word against the cursor makes no sense.
      
      The net result of this was that when the cursor index got large
      enough, resuming suggestion would not work any more.
      
      Bug: 7586467
      Change-Id: I3462082374fe9579bec7698f4d424de6ff5f2ded
      5bde3a61
  10. Dec 23, 2012
  11. Dec 17, 2012
  12. 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
  13. Dec 06, 2012
  14. Nov 14, 2012
    • Jean Chalard's avatar
      Fix a bug with some text fields · 00c0010c
      Jean Chalard authored
      Not sure when this happens exactly, but it is possible that
      InputConnection#getTextBeforeCursor returns null. This
      happens for example upon rotating the screen with the
      composing field empty in Gmail.
      In this case, StringBuilder#append will convert the null
      pointer into the string "null", which is sure better than a
      crash, but can have a number of bad side-effects, like
      auto-caps not working.
      
      Bug: 7533034
      Change-Id: Ia1cfab432c13a12ff1c2f013c59bac05a587f553
      00c0010c
  15. Nov 06, 2012
  16. Oct 29, 2012
  17. Oct 22, 2012
  18. Oct 17, 2012
  19. Oct 01, 2012
  20. Sep 27, 2012
  21. Sep 18, 2012
  22. Sep 14, 2012
  23. Sep 13, 2012
    • Jean Chalard's avatar
      Simplify a call, and add comments (A2) · 3d54e1c1
      Jean Chalard authored
      Since the function has to be modified heavily but does a lot
      of non-trivial work, add a wealth of comments explaining what
      it does and why so as to facilitate understanding the changes
      to come.
      
      Bug: 4967874
      Change-Id: I6c21aea15f161d807035f279dfb7d1b98b3e9144
      3d54e1c1
    • Jean Chalard's avatar
      Import TextUtils.getCapsMode to fix it internally (A1) · 9d1c73ff
      Jean Chalard authored
      This should have on effect at all on behavior,
      except an increase in performance.
      
      Bug: 4967874
      Bug: 6950087
      Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d
      9d1c73ff
    • Jean Chalard's avatar
      Make onUpdateSelection much more resilient to race conditions. · 5ed88457
      Jean Chalard authored
      This is pretty much as strong as it gets. It should be
      impossible to get false positives and nearly impossible to
      get true negatives with this new code.
      
      Bug: 6981089
      Change-Id: Ia32ab62f89c5943f0be169b979abab652e67bf5b
      5ed88457
  24. Sep 12, 2012
  25. Aug 22, 2012
    • Kurt Partridge's avatar
      ResearchLogger log RichInputConnection · 94e7f4be
      Kurt Partridge authored
      Move many ResearchLogger data collection points to RichInputConnection.
      By collecting data here, developers do not have to remember to keep the
      ResearchLog consistent with calls to the RichInputConnection.
      
      In addition, some unnecessary log points were removed, and the ResearchLogger
      is now independent of LatinImeLogger.
      
      multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2
      
      Bug: 6188932
      Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
      94e7f4be
    • Kurt Partridge's avatar
      Revert "ResearchLogger log RichInputConnection" · 97d3dd58
      Kurt Partridge authored
      This reverts commit d0c41e0c
      
      Change-Id: I5fd8a67a9fdadb7e6532cafecd00c8f33a00ec72
      97d3dd58
  26. Aug 21, 2012
    • Kurt Partridge's avatar
      ResearchLogger log RichInputConnection · d0c41e0c
      Kurt Partridge authored
      Move many ResearchLogger data collection points to RichInputConnection.
      By collecting data here, developers do not have to remember to keep the
      ResearchLog consistent with calls to the RichInputConnection.
      
      In addition, some unnecessary log points were removed, and the ResearchLogger
      is now independent of LatinImeLogger.
      
      multi-project change with Ifbabefc008d32d99f89e8289e504188e7232ebd4
      
      Bug: 6188932
      Change-Id: I4a42d963ba952e703d425acd3a9871d5fca1f03a
      d0c41e0c
    • Ken Wakasa's avatar
      Make master LatinIME identical to JB MR1 LatinIME as of now. · b2b54583
      Ken Wakasa authored
      Change-Id: Id79c70310dd774dd5e7ccda6d4b8c36b88c67744
      b2b54583
  27. Aug 20, 2012
  28. Aug 18, 2012
    • Kurt Partridge's avatar
      ResearchLogger log RichInputConnection · 1964ffb3
      Kurt Partridge authored
      Move many ResearchLogger data collection points to RichInputConnection.
      By collecting data here, developers do not have to remember to keep the
      ResearchLog consistent with calls to the RichInputConnection.
      
      In addition, some unnecessary log points were removed, and the ResearchLogger
      is now independent of LatinImeLogger.
      
      multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b
      
      DO NOT MERGE
      
      Bug: 6188932
      Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
      1964ffb3
  29. Aug 08, 2012
  30. Aug 02, 2012
    • Kurt Partridge's avatar
      ResearchLogger log RichInputConnection · 2996cf24
      Kurt Partridge authored
      Move many ResearchLogger data collection points to RichInputConnection.
      By collecting data here, developers do not have to remember to keep the
      ResearchLog consistent with calls to the RichInputConnection.
      
      In addition, some unnecessary log points were removed, and the ResearchLogger
      is now independent of LatinImeLogger.
      
      multi-project change with I67bbf5fe8fd821da967a50b69e467caafc7fd388
      
      Bug: 6188932
      Change-Id: I49ccee1dcffe8d41401b42a637dd0da8dd11d90d
      2996cf24
  31. Jul 20, 2012
    • Kurt Partridge's avatar
      ResearchLog refactor · 6b966160
      Kurt Partridge authored
      - new package: com.android.inputmethod.research
      
      multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc
      
      Bug: 6188932
      
      Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
      6b966160
  32. Jul 09, 2012
  33. Jul 06, 2012
Loading