Skip to content
Snippets Groups Projects
  1. Sep 10, 2010
    • Ken Wakasa's avatar
      Code cleanup · 3de8f34b
      Ken Wakasa authored
      Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b
      3de8f34b
  2. Sep 07, 2010
  3. Sep 06, 2010
  4. Sep 03, 2010
  5. Sep 02, 2010
  6. Sep 01, 2010
  7. Aug 31, 2010
    • Tadashi G. Takaoka's avatar
      Refactor KeyDebounce class · b57b4785
      Tadashi G. Takaoka authored
      This change moves the following methods into KeyDebounce class.
      - MotionEvent handling methods (onDownEvent etc.).
      - Keyboard action event generator method (detectAndSendKey).
      - Multi-tap key support methods (resetMultiTap etc.).
      - Key preview text generator method (getPreviewText).
      
      The change that makes KeyDebounce a top-level class will follow.
      
      Bug: 2910379
      Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
      b57b4785
    • Tadashi G. Takaoka's avatar
      Refactor key preview methods · 2ca84dac
      Tadashi G. Takaoka authored
      Extract key press and release handling out of previewKey() to
      KeyDebouncer class. And pass Key object as argument of previewKey()
      instead of key index.
      
      Bug: 2910379
      Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
      2ca84dac
  8. Aug 30, 2010
    • Tadashi G. Takaoka's avatar
      Remove mAbortKey flag completely · ba9b24ed
      Tadashi G. Takaoka authored
      These three conditions assign true to the mAbortKey flag.
      1. setKeyboard() sets the new keyboard layout.
      2. long press shows the pop-up mini keyboard.
      3. ACTION_CANCEL event is occurred.
      
      In the case 1, in LatinIME so far, only "symbol key" and "language
      switch" cause keyboard layout change.  In both cases, the event is
      occurred in onUpEvent(), so we do not need to worry about aborting
      event.
      
      In the case 2, long press is used only to pop-up mini-keyboard and at that
      time mMiniKeyboardOnScreen could be used as a flag.
      
      In the case 3, though I'm not sure when this case occurs, in
      onCancelEvent() all the things that should be canceled are canceled
      in onCancelEvent().
      
      Bug: 2910379
      Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
      ba9b24ed
  9. Aug 27, 2010
  10. Aug 26, 2010
  11. Aug 25, 2010
  12. Aug 20, 2010
Loading