Home
last modified time | relevance | path

Searched refs:pinch_event (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/content/browser/renderer_host/input/
Dgesture_event_queue.cc285 GestureEventWithLatencyInfo pinch_event; in MergeOrInsertScrollAndPinchEvent() local
292 pinch_event = scroll_event; in MergeOrInsertScrollAndPinchEvent()
294 pinch_event.event.type = WebInputEvent::GesturePinchUpdate; in MergeOrInsertScrollAndPinchEvent()
295 pinch_event.event.x = gesture_event.event.type == in MergeOrInsertScrollAndPinchEvent()
298 pinch_event.event.y = gesture_event.event.type == in MergeOrInsertScrollAndPinchEvent()
313 pinch_event.latency = second_last_event.latency; in MergeOrInsertScrollAndPinchEvent()
329 (combined_scroll_pinch_x + pinch_event.event.x) / combined_scale - in MergeOrInsertScrollAndPinchEvent()
330 pinch_event.event.x; in MergeOrInsertScrollAndPinchEvent()
332 (combined_scroll_pinch_y + pinch_event.event.y) / combined_scale - in MergeOrInsertScrollAndPinchEvent()
333 pinch_event.event.y; in MergeOrInsertScrollAndPinchEvent()
[all …]
Dinput_router_impl.cc413 const GestureEventWithLatencyInfo& pinch_event) { in SendSyntheticWheelEventForPinch() argument
420 wheelEvent.timeStampSeconds = pinch_event.event.timeStampSeconds; in SendSyntheticWheelEventForPinch()
421 wheelEvent.windowX = wheelEvent.x = pinch_event.event.x; in SendSyntheticWheelEventForPinch()
422 wheelEvent.windowY = wheelEvent.y = pinch_event.event.y; in SendSyntheticWheelEventForPinch()
423 wheelEvent.globalX = pinch_event.event.globalX; in SendSyntheticWheelEventForPinch()
424 wheelEvent.globalY = pinch_event.event.globalY; in SendSyntheticWheelEventForPinch()
426 pinch_event.event.modifiers | WebInputEvent::ControlKey; in SendSyntheticWheelEventForPinch()
438 DCHECK_GT(pinch_event.event.data.pinchUpdate.scale, 0); in SendSyntheticWheelEventForPinch()
439 wheelEvent.deltaY = 100.0f * log(pinch_event.event.data.pinchUpdate.scale); in SendSyntheticWheelEventForPinch()
443 pinch_event.event.data.pinchUpdate.scale > 1 ? 1 : -1; in SendSyntheticWheelEventForPinch()
[all …]
Dinput_router_impl.h148 const GestureEventWithLatencyInfo& pinch_event); in NON_EXPORTED_BASE()