Skip to content
Snippets Groups Projects
  1. Dec 27, 2012
    • 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
  2. Dec 23, 2012
  3. Dec 17, 2012
  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. Dec 06, 2012
  6. 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
  7. Oct 29, 2012
  8. Oct 22, 2012
  9. Oct 17, 2012
  10. Oct 01, 2012
  11. Sep 27, 2012
  12. Sep 18, 2012
  13. Sep 14, 2012
  14. 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
  15. Sep 12, 2012
  16. 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
  17. 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
  18. Aug 20, 2012
  19. 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
  20. 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
  21. 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
  22. Jul 09, 2012
  23. Jul 06, 2012
  24. Jun 25, 2012
    • Jean Chalard's avatar
      Refactoring and groundwork to fix a bug with older apps · c3ebf1a4
      Jean Chalard authored
      This has a good, although small, impact on performance : it removes
      a two-way IPC call in a most frequent case, while possibly adding
      one in a rather unfrequent and less critical case.
      
      Also, this fixes a bug with surrogate pairs. This specific branch
      of code now correctly handles surrogate pairs.
      Aside from this, it should have no impact on behavior.
      
      However, since it does delay access to the previous character in
      the text view by a two-way IPC call, it actually goes a long way
      toward fixing bug#6668226. It is not really a fix and the race
      condition still exists, but this change makes it much, much
      harder to hit.
      
      Bug: 6668226
      Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
      c3ebf1a4
  25. Jun 12, 2012
  26. Jun 08, 2012
Loading