Skip to content
Snippets Groups Projects
  1. Apr 30, 2024
  2. Mar 22, 2024
  3. Mar 18, 2024
  4. Feb 01, 2024
  5. Jan 16, 2024
  6. Jan 10, 2024
    • Aleksandras Kostarevas's avatar
      Improve text selection logic · 968b39af
      Aleksandras Kostarevas authored
      * Shift + swiping space now lets you select text
      * Text editor uses more consistent selection logic instead of sending dpad and relying on apps to implement shift+dpad selection, which many of them don't. Dpad is still used for up/down
      968b39af
  7. Jan 07, 2024
  8. Nov 28, 2023
  9. Nov 14, 2023
  10. Nov 13, 2023
  11. Oct 16, 2023
  12. Aug 14, 2023
  13. Jul 06, 2023
  14. Jul 22, 2020
  15. Jun 23, 2015
    • Tom Ouyang's avatar
      Workaround for preserving responsiveness on a slow InputConnection. · 912016b6
      Tom Ouyang authored
      1. Add mechanism to detect a slow or non-resonsive InputConnection (IC)
      2. When IC slowness is detected, skip certain IC calls that are known
         to be expensive (e.g., getTextAfterCursor).
      3. Similarly, disables learning / unlearning on a slow IC.
      4. IC slowness flag is reset when starting input on a new TextView or
         when a fixed amount of time has passed.
      
      Note: These are mostly temporary workarounds. The permanent solution is
      to refactor RichInputConnection so that it is less sensitive to IC
      slowness in general.
      
      Bug: 21926256
      Change-Id: I383fab0516d3f3a8e0f71e5d760a8336a7730f7c
      912016b6
    • Dan Zivkovic's avatar
      Do not decorate committed spans. · ee6de146
      Dan Zivkovic authored
      Users rarely tap on committed words, and the cost of sending the spans back
      through the input connection, back and forth to the target app, is too high.
      
      Bug 21926256.
      
      Change-Id: I8e55b57ce2148ed313dc927425b6d9c958634958
      ee6de146
  16. Jun 19, 2015
    • Dan Zivkovic's avatar
      Cleanup before fixing getTextAfterCursor(). · 0232e73d
      Dan Zivkovic authored
      We never delete text after the cursor, so constrain the API accordingly.
      Define the number of characters to read before and after.
      Set them to reasonable values.
      The next CL will start caching text after the cursor.
      
      Bug 21926256.
      
      Change-Id: Idd58daf68614de4a69344aa3c8a4323720c5d3a0
      0232e73d
  17. May 01, 2015
  18. Apr 30, 2015
  19. Apr 21, 2015
    • Yohei Yukaw's avatar
      Always specify non-null Locale object to SuggestionSpan · 490fa47a
      Yohei Yukaw authored
      Confusingly, specifying a null Locale object to the constructor
      of SuggestionSpan does not necessarily mean that
      SuggestionSpan#getLocale() returns null.  The constructor in
      question also receives Context object, and Context's locale can
      be used as a fallback locale to initialize locale of
      SuggestionSpan.
      
      With this CL, LatinIME always specify non-null Locale object
      when instantiating SuggestionSpan object.  It basically
      corresponds to the active main dictionary, but can be
      Locale#ROOT when one locale is not determined for some reasons.
      
      BUG: 20435013
      Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
      490fa47a
  20. Apr 13, 2015
  21. Apr 03, 2015
  22. Apr 02, 2015
  23. Mar 20, 2015
  24. Mar 19, 2015
  25. Mar 17, 2015
  26. Mar 16, 2015
  27. Mar 12, 2015
  28. Mar 06, 2015
    • Tom Ouyang's avatar
      Restart suggestions when backspacing into a reverted word. · 222f6471
      Tom Ouyang authored
      This is required for the final corrected word to be learned,
      as learning only occurs when suggestions are active.
      
      Note: This is already happening when backspacing into a non-reverted
      word
      
      Bug: 19619907
      Bug: 18465402
      Change-Id: I99a1d4f0ca0d62a2cdfa24cc0833ce89391715d9
      222f6471
  29. Mar 04, 2015
Loading