Merge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev am: 54f264f
am: 50ce908

* commit '50ce9082cfc2c327291f81ab1da823342d554ec9':
  Precompute cursor indexes in DocumentsUI and improve perf by 2.7%.