Skip to content
Snippets Groups Projects
  1. 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
      Detection and logging of slow input connections. · 73aaf683
      Dan Zivkovic authored
      Also adds a hook to log using StatsUtils.
      Proto change is coming in a separate CL.
      
      Bug 22010482.
      
      Change-Id: I08065fc7a5cd116e50ff84cb14bbbc44c4f14bc7
      73aaf683
  2. Jun 22, 2015
  3. Jun 20, 2015
  4. 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
  5. Jun 17, 2015
  6. Jun 16, 2015
  7. Jun 15, 2015
  8. Jun 10, 2015
  9. Jun 08, 2015
  10. Jun 03, 2015
  11. Jun 01, 2015
  12. May 28, 2015
  13. May 21, 2015
  14. May 19, 2015
  15. May 13, 2015
  16. May 12, 2015
  17. May 08, 2015
  18. May 06, 2015
  19. May 05, 2015
  20. May 04, 2015
  21. May 02, 2015
  22. May 01, 2015
Loading