Skip to content
Snippets Groups Projects
  1. Feb 18, 2014
    • Jean Chalard's avatar
      Fix a bug where the cache would be out of sync · fe92c174
      Jean Chalard authored
      During recorrection, the cursor position when calling
      commitText is not necessarily at the end of the
      composing text.
      Besides, RichInputConnection assumes the cursor is
      always after any composing text. This is not correct,
      but in the practice, it seems all code paths work.
      We should fix this in the future.
      
      Bug: 13060691
      Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d
      fe92c174
  2. Jan 10, 2014
    • Jean Chalard's avatar
      Fix a test. · 7b6e999c
      Jean Chalard authored
      Bug: 12483313
      Change-Id: Ia811d614b9260367871bc5717f587538adf46789
      7b6e999c
  3. Jan 09, 2014
  4. Dec 27, 2013
    • Jean Chalard's avatar
      [IL52] Remove a useless method. · 1e50c681
      Jean Chalard authored
      This old method doesn't even re-read the old suggestions. It used to
      recompute them without the coordinates.
      Re-using the recorrection code, which is much more advanced, is
      the right thing to do here.
      
      Also, refining the test. It's no use trying to resume suggestion
      if we don't have a suggestion strip, since we aren't going to
      auto-correct anything anyway.
      
      Not the motivation for this change, but this also fixes
      Bug: 11620256
      Change-Id: Id49efa32e293c49837c61fdc752c86bbac1d2c88
      1e50c681
  5. Dec 26, 2013
  6. Oct 11, 2013
  7. Oct 04, 2013
  8. Sep 17, 2013
  9. Aug 21, 2013
  10. Aug 16, 2013
  11. Aug 08, 2013
  12. May 01, 2013
  13. Feb 12, 2013
  14. Feb 05, 2013
  15. Jan 09, 2013
  16. Oct 29, 2012
  17. Oct 10, 2012
    • Jean Chalard's avatar
      Fix failing tests. · 2752287c
      Jean Chalard authored
      Most of the failures can be ascribed to the tests not passing the correct
      old position of the cursor on a second call to onUpdateSelection() to
      LatinIME.
      
      Bug: 7276565
      Bug: 7276805
      Bug: 7276195
      Change-Id: I3f1b52cdcc783ea18838408bed50699b7254eaf4
      2752287c
  18. Jul 30, 2012
  19. Jul 06, 2012
    • Jean Chalard's avatar
      Cleanup (A57) · 0e9e7e33
      Jean Chalard authored
      We stopped cancelling manual picks a few weeks ago. This code
      is dead.
      
      Change-Id: I4032fcc3c95e9379f1839fe860a1b8a9bd7d0bc7
      0e9e7e33
  20. May 22, 2012
  21. Apr 16, 2012
  22. Mar 23, 2012
  23. Mar 22, 2012
    • Jean Chalard's avatar
      Don't rely on spell checker proximity in tests · 10972819
      Jean Chalard authored
      This fixes the input logic tests that were broken and suppresses
      their dependency upon the spell checker proximity. Instead, it
      gets the Keyboard instance from Latin IME and uses the actual
      coordinates, which results in a test run closer to what actually
      happens during typing.
      
      Change-Id: I3a81d249ee7fb3ac6ae6940aa2e8b2421e829e5c
      10972819
  24. Mar 15, 2012
  25. Mar 08, 2012
  26. Mar 07, 2012
  27. Mar 06, 2012
    • satok's avatar
      Integrate the logic to calculate the proximities · ca7ec209
      satok authored
      Bug: 4343280
      
      Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
      ca7ec209
    • Jean Chalard's avatar
      Fix a test · cbad260c
      Jean Chalard authored
      To some extent, the test was wrong here.
      After space is typed in this case, we wait a small delay before updating
      the suggestion strip so that we can display bigram predictions without
      introducing delays. The suggestion strip is not displayed until then.
      
      The test was bypassing this by simulating a press on the suggestion
      strip, but for LatinIME it was not displayed yet, hence the bug.
      The new code waits for the delay, makes sure the suggestion strip is
      actually displaying punctuation marks, then press the mark and do
      the intended test on space.
      
      Change-Id: I18f82da1bc0a8e584e9b1bac59ff48823d78ec12
      cbad260c
  28. Mar 02, 2012
  29. Feb 29, 2012
    • Jean Chalard's avatar
      Add a method to run the handler's messages from the tests · d9f6a0eb
      Jean Chalard authored
      This is really brutal, but after trying many many things I didn't
      find a better way. It works with the current implementation of
      MessageQueue.
      Since this only introduces a utility method it doesn't really do
      anything, but the functionality it provides will be essential to
      Bug: 5975557
      
      Change-Id: I81c4113a08f9a8d8a88294d7dd3b6c8c483c8b1d
      d9f6a0eb
  30. Feb 22, 2012
    • Jean Chalard's avatar
      Add some unit tests. · bb15f92d
      Jean Chalard authored
      - Type "tgis", manually pick "thus", press backspace.
        Backspace should revert the manual pick.
        Check "tgis" is the result.
      - Type "tgis" followed by a period.
        Period should trigger auto-correct to "this".
        Check "this" is the result.
      - Type "tgis" followed by a period, then backspace.
        Period should trigger auto-correct to "this", and backspace should
        revert the auto-correction.
        Check "tgis." is the result.
      
      Change-Id: I7e23c8a26fbdbe23336149a05ff01bc51707422e
      bb15f92d
  31. Feb 08, 2012
  32. Feb 07, 2012
  33. Feb 03, 2012
  34. Feb 02, 2012
  35. Jan 26, 2012
Loading