| commit | af848e755f017bfea2013b753aaef273c68eddea | [log] [tgz] |
|---|---|---|
| author | Mukesh Agrawal <quiche@fuchsia.infra.roller.google.com> | Tue Aug 02 23:30:26 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Aug 02 16:32:07 2022 -0700 |
| tree | 1cf7e551ee36a9deb9212adbd78b12afee059741 | |
| parent | 061a7d83d218abc85e54d12a3c56b483299942c8 [diff] |
[roll] Roll fuchsia [ui][input-pipeline] gestures: log reason for mismatch/endgesture 1. Update the definition of `ExamineEventResult::Mismatch` to require a string explaining the reason for the mismatch. 2. Update the definition of `VerifyEventResult::Mismatch` similarly. 3. Update the definition of `ProcessEventResult::EndGesture` similarly. 4. Update recognizers to provide reasons for these results. 5. Update `GestureArena` to log the reason each recognizer left the arena. While there: remove some code duplication in `GestureArena`. There were some `match` expressions where every arm returned the same value. Instead of repeating the value in each arm, just place the return value after the match. Original-Bug: 105489 Test: fx tet input_pipeline_lib_tests Test: manually examined log with patch Example log output: [00063.254215][62723][62725][scene_manager.cm] INFO: touchpad: input_pipeline::gestures::click::UnpressedContender mismatched due to too much motion [00063.269210][62723][62725][scene_manager.cm] INFO: touchpad: input_pipeline::gestures::primary_tap::FingerContactContender mismatched due to too much motion [00063.269280][62723][62725][scene_manager.cm] INFO: touchpad: input_pipeline::gestures::secondary_tap::OneFingerContactContender mismatched due to too much motion [00063.269463][62723][62725][scene_manager.cm] INFO: touchpad: recognized Motion [00063.775785][62723][62725][scene_manager.cm] INFO: touchpad: input_pipeline::gestures::motion::Winner ended due to wanted 1 contact Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/705739 Original-Revision: 4ba0fb89ac0fb06b2f5471dc4bd8898d013a49b0 GitOrigin-RevId: 393052dbf25df56b008c23145cb6f91c27092650 Change-Id: I818160c58fe079a169feaa6b28ea5a463ce0d5df
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.