Pinch gesture is modified to use product(dz) instead of sum(dz)

Sum(dz) is replaced with product of max of (dz, 1/dz). As a result,
the PinchValidator matches the actual pinch ratio. Moreover, it would
be easier to compare zoom-in and zoom-out gestures.

BUG=none
TEST=CL:340186
CQ-DEPEND=CL:340186

Change-Id: Idd53531fefcf6778af5ba70a39039e5f4b9e24e5
Reviewed-on: https://chromium-review.googlesource.com/340250
Commit-Ready: Amirhossein Simjour <asimjour@chromium.org>
Tested-by: Amirhossein Simjour <asimjour@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
1 file changed
tree: 8e3da9949c3fdbc296405440cca0f64ea725af0c
  1. mtbringup/
  2. mtedit/
  3. mtlib/
  4. mtreplay/
  5. mtstat/
  6. platforms/
  7. __init__.py
  8. common.mk
  9. Makefile
  10. PRESUBMIT.cfg