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

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