Double Space Project

← All entries

Exhibit 632 · Website

Chromium Blog: Investigating input to output rate

Chromium Blog

1. Android uses the native C++ MotionEvent timestamp (with nanosecond precision), but Chrome uses Java MotionEvent.getEventTime & MotionEvent.getHistoricalEventTime (milliseconds precision). Unfortunately, nanosecond precision was not part of the public API. However, rounding of milliseconds can introduce error into our predictor when it computes velocity between event timestamps.
1 double space marked in red. Copy the quote and you'll get the real spaces too.
Screenshot of Chromium Blog: Investigating input to output rate, with the double space marked in red.
Open the full-size photo in a new tab.