skia2/tools/viewer
Jim Van Verth d0cf5da20d Hook up pinch-zoom and swipe gestures.
Sets UIPinchGestureRecognizer and UISwipeGestureRecognizers and
passes the result down to the sk_app::Window. To simplify detection,
swipes take precedence over pans, and pans require a single touch.
This is less flexible for the app, but in most cases I think is
what we want.

Bug: skia:8737
Change-Id: Ib031b6ad465d3a353da29d7e0b48a666d4ff8b9a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239776
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-09-10 13:34:47 +00:00
..
AnimTimer.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
BisectSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BisectSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GMSlide.cpp Clean up some gm factory use. 2019-08-13 15:57:37 +00:00
GMSlide.h Clean up some gm factory use. 2019-08-13 15:57:37 +00:00
ImageSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImGuiLayer.cpp tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
ImGuiLayer.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
ParticlesSlide.cpp Particle cleanup: split SkParticleBinding out of SkParticleEffect 2019-08-30 15:32:38 +00:00
ParticlesSlide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SampleSlide.cpp tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SampleSlide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SkottieSlide.cpp tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SkottieSlide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SKPSlide.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
SKPSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Slide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SlideDir.cpp tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SlideDir.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
StatsLayer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StatsLayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TouchGesture.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
TouchGesture.h Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
Viewer.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
Viewer.h Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00