Lines Matching refs:detector
196 virtual bool OnScaleBegin(const ScaleGestureDetector& detector,
198 if (ignore_multitouch_zoom_events_ && !detector.InDoubleTapMode())
203 virtual void OnScaleEnd(const ScaleGestureDetector& detector,
210 virtual bool OnScale(const ScaleGestureDetector& detector,
212 if (ignore_multitouch_zoom_events_ && !detector.InDoubleTapMode())
218 detector.GetEventTime(),
219 detector.GetFocusX(),
220 detector.GetFocusY(),
221 detector.GetFocusX() + e.GetRawOffsetX(),
222 detector.GetFocusY() + e.GetRawOffsetY(),
228 if (std::abs(detector.GetCurrentSpan() - detector.GetPreviousSpan()) <
233 float scale = detector.GetScaleFactor();
237 if (detector.InDoubleTapMode()) {
238 // Relative changes in the double-tap scale factor computed by |detector|
244 (detector.GetCurrentSpanY() - detector.GetPreviousSpanY()) * 0.5f;
254 detector.GetEventTime(),
255 detector.GetFocusX(),
256 detector.GetFocusY(),
257 detector.GetFocusX() + e.GetRawOffsetX(),
258 detector.GetFocusY() + e.GetRawOffsetY(),
605 // the detector from emitting further scale updates for the current touch