Skip to content
Snippets Groups Projects
  1. Nov 17, 2012
  2. Nov 16, 2012
  3. Nov 15, 2012
  4. Nov 14, 2012
  5. Nov 13, 2012
    • Jean Chalard's avatar
      Make sure all FDs are correctly closed. · 5c32b6da
      Jean Chalard authored
      In this kind of series of calls, it's possible that an outer call to a
      constructor fails, but the inner succeeded.
      Example:
      try {
          is = new A(new B());
      } finally {
          if (null != is) is.close();
      }
      In this case, if new B() succeeds but new A() throws an
      exception, is stays null and the intermediate object is never
      closed. This is what was happening in this instance.
      
      Bug: 7377336
      Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
      5c32b6da
    • Jean Chalard's avatar
      Refactor all phantom-space-inserted spaces in one place · 0e84041b
      Jean Chalard authored
      Bug: 7164981
      Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
      0e84041b
  6. Nov 12, 2012
  7. Nov 09, 2012
  8. Nov 06, 2012
    • Ken Wakasa's avatar
      Reset the IME if requested by the app. · 5d2556b9
      Ken Wakasa authored
      Specifically, reset the KeyboardState to the main Alphabet layout in
      LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get
      reloaded in the method.
      
      Please note TextView.setText() calls up resetInput(), then the IME should
      reset with it.
      
      bug: 7482086
      
      Note that bug: 6851364 needs to be revisited.
      
      Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
      5d2556b9
  9. Nov 01, 2012
  10. Oct 31, 2012
  11. Oct 29, 2012
  12. Oct 25, 2012
  13. Oct 24, 2012
  14. Oct 23, 2012
    • Jean Chalard's avatar
      Return the correct bigram frequency · c59c7419
      Jean Chalard authored
      The "correct" bigram frequency is now returned by the reading
      code. However, as the binary format represents the frequency
      in a lossy manner, the frequency is not guaranteed to be the
      exact same as the one in the source text format - only a close
      enough value. It is however the exact same value seen by the
      native code.
      
      Bug: 7395653
      Change-Id: I49199ef18901c671189912b3550623e9643baedd
      c59c7419
    • Jean Chalard's avatar
      Fix the build. · 1e0cc86b
      Jean Chalard authored
      It seems this change snuck out from a previous version.
      
      Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
      1e0cc86b
    • Jean Chalard's avatar
      Add reader and writer for the combined dict format. · 9bb4eebf
      Jean Chalard authored
      This introduces a new textual format for the dictionary that combines
      words, bigrams and shortcuts to avoid complexity. It is also extensible
      to n-grams to fool-prof for the future, and easier to read than XML.
      
      Bug: 7388540
      Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
      9bb4eebf
    • Jean Chalard's avatar
      Don't put spaces after characters that don't take one · f960eb18
      Jean Chalard authored
      Bug: 7393639
      Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
      f960eb18
  15. Oct 22, 2012
  16. Oct 18, 2012
  17. Oct 17, 2012
  18. Oct 16, 2012
Loading