commit | f7f38e743bf87bd03c1c0d1c60dcebfe6ab427f6 | [log] [tgz] |
---|---|---|
author | David Reveman <reveman@google.com> | Tue Jun 23 16:44:21 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jun 23 16:44:21 2020 +0000 |
tree | 81047c5a4143128b9e5c4283305625cdc87fc799 | |
parent | 8ba8111063ca1f8c311db6218f1c98ddc19ebad1 [diff] |
[PointerEventsListener] Add pointer data resampling utility. This introduces the PointerDataResampler class that contains the core logic needed to resample Dart UI pointer data. PointerEventsListener has been updated to use this class and the scroll_flutter benchmark now demonstrates how this class can be used to resample pointer data. Tracing code previously used for debugging has been moved from PointerEventsListener to the scroll_flutter benchmark. Test: fx run-host-tests dart_widget_tests Change-Id: Ic06e8e0eafd14a6923cceeebfdb49f4f93730d6c Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/400417 Commit-Queue: David Reveman <reveman@google.com> Reviewed-by: Sanjay Chouksey <sanjayc@google.com> Testability-Review: Sanjay Chouksey <sanjayc@google.com>
This is a companion repository to Fuchsia and contains code that either implements or supports user facing code for the Fuchsia platform. The code provides a majority of the user interface for the Workstation product as well as a small set of examples, tests, and benchmarks.
This repository is a “source petal” included in the Fuchsia Platform Source Tree (FPST) checkout. Code in this repository must be built with Fuchsia in order to be functional, see (the guide)[https://fuchsia.dev/fuchsia-src/development/source_code] for instructions on getting the source.
Hardware support should be considered experimental. However, NUC's and Pixelbooks are known to work best. For details on hardware setup see: (Install Fuchsia on a Device)[https://fuchsia.dev/fuchsia-src/development/hardware/paving]
Once you have functional checkout you can (configure a build)[https://fuchsia.dev/fuchsia-src/development/build/fx#configure-a-build] targeting Workstation:
fx set workstation.<board> # For options run: `fx list-boards` fx build
See Fuchsia's (build and pave instructions)[https://fuchsia.dev/fuchsia-src/development/build/build_and_pave_quickstart] for detailed instructions.
Once built, standard Fuchsia workflows for paving, running code, and testing apply. See: (fx workflows)[https://fuchsia.dev/fuchsia-src/development/build/fx] for detailed instructions.