Home
last modified time | relevance | path

Searched refs:gesture_event (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/input/
Dgesture_event_queue.cc44 const GestureEventWithLatencyInfo& gesture_event) const { in ShouldDiscardFlingCancelEvent()
60 const GestureEventWithLatencyInfo& gesture_event) { in ShouldForwardForBounceReduction() argument
63 switch (gesture_event.event.type) { in ShouldForwardForBounceReduction()
85 debouncing_deferral_queue_.push_back(gesture_event); in ShouldForwardForBounceReduction()
94 const GestureEventWithLatencyInfo& gesture_event) { in ShouldForward() argument
96 return ShouldForwardForBounceReduction(gesture_event) && in ShouldForward()
97 ShouldForwardForGFCFiltering(gesture_event) && in ShouldForward()
98 ShouldForwardForTapSuppression(gesture_event) && in ShouldForward()
99 ShouldForwardForCoalescing(gesture_event); in ShouldForward()
103 const GestureEventWithLatencyInfo& gesture_event) const { in ShouldForwardForGFCFiltering()
[all …]
Dtouch_action_filter.cc25 bool TouchActionFilter::FilterGestureEvent(WebGestureEvent* gesture_event) { in FilterGestureEvent() argument
28 switch(gesture_event->type) { in FilterGestureEvent()
31 drop_scroll_gesture_events_ = ShouldSuppressScroll(*gesture_event); in FilterGestureEvent()
39 gesture_event->data.scrollUpdate.deltaY = 0; in FilterGestureEvent()
40 gesture_event->data.scrollUpdate.velocityY = 0; in FilterGestureEvent()
42 gesture_event->data.scrollUpdate.deltaX = 0; in FilterGestureEvent()
43 gesture_event->data.scrollUpdate.velocityX = 0; in FilterGestureEvent()
49 if (gesture_event->sourceDevice != blink::WebGestureDeviceTouchscreen) in FilterGestureEvent()
53 gesture_event->data.flingStart.velocityY = 0; in FilterGestureEvent()
55 gesture_event->data.flingStart.velocityX = 0; in FilterGestureEvent()
[all …]
Dgesture_event_queue.h104 void ForwardGestureEvent(const GestureEventWithLatencyInfo& gesture_event);
133 const GestureEventWithLatencyInfo& gesture_event) const;
142 const GestureEventWithLatencyInfo& gesture_event);
146 const GestureEventWithLatencyInfo& gesture_event);
150 const GestureEventWithLatencyInfo& gesture_event) const;
154 const GestureEventWithLatencyInfo& gesture_event);
160 const GestureEventWithLatencyInfo& gesture_event);
173 const GestureEventWithLatencyInfo& gesture_event) const;
Dtouch_emulator.cc208 WebGestureEvent gesture_event = in OnGestureEvent() local
211 switch (gesture_event.type) { in OnGestureEvent()
218 client_->ForwardGestureEvent(gesture_event); in OnGestureEvent()
221 PinchBegin(gesture_event); in OnGestureEvent()
228 PinchBegin(gesture_event); in OnGestureEvent()
230 PinchUpdate(gesture_event); in OnGestureEvent()
234 PinchEnd(gesture_event); in OnGestureEvent()
235 client_->ForwardGestureEvent(gesture_event); in OnGestureEvent()
242 PinchEnd(gesture_event); in OnGestureEvent()
243 client_->ForwardGestureEvent(gesture_event); in OnGestureEvent()
[all …]
Dinput_router_impl.cc179 GestureEventWithLatencyInfo gesture_event(original_gesture_event); in SendGestureEvent() local
181 if (touch_action_filter_.FilterGestureEvent(&gesture_event.event)) in SendGestureEvent()
184 if (gesture_event.event.sourceDevice == blink::WebGestureDeviceTouchscreen) in SendGestureEvent()
185 touch_event_queue_.OnGestureScrollEvent(gesture_event); in SendGestureEvent()
187 if (!gesture_event_queue_.ShouldForward(gesture_event)) in SendGestureEvent()
190 SendGestureEventImmediately(gesture_event); in SendGestureEvent()
236 const GestureEventWithLatencyInfo& gesture_event) { in SendGestureEventImmediately() argument
237 if (gesture_event.event.type == WebInputEvent::GesturePinchUpdate && in SendGestureEventImmediately()
238 gesture_event.event.sourceDevice == blink::WebGestureDeviceTouchpad) { in SendGestureEventImmediately()
239 SendSyntheticWheelEventForPinch(gesture_event); in SendGestureEventImmediately()
[all …]
Dtouch_action_filter.h28 bool FilterGestureEvent(blink::WebGestureEvent* gesture_event);
46 bool ShouldSuppressScroll(const blink::WebGestureEvent& gesture_event);
Dinput_router.h46 const GestureEventWithLatencyInfo& gesture_event) = 0;
Dinput_router_impl.h71 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; in NON_EXPORTED_BASE()
97 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; in NON_EXPORTED_BASE()
Dtouch_event_queue.h104 void OnGestureScrollEvent(const GestureEventWithLatencyInfo& gesture_event);
Dtouch_event_queue.cc536 const GestureEventWithLatencyInfo& gesture_event) { in OnGestureScrollEvent() argument
537 if (gesture_event.event.type != blink::WebInputEvent::GestureScrollBegin) in OnGestureScrollEvent()
Dtouch_event_queue_unittest.cc125 blink::WebGestureEvent gesture_event; in SendGestureEventAck() local
126 gesture_event.type = type; in SendGestureEventAck()
127 GestureEventWithLatencyInfo event(gesture_event, ui::LatencyInfo()); in SendGestureEventAck()
/external/chromium_org/content/browser/renderer_host/
Dui_events_helper.cc147 blink::WebGestureEvent gesture_event; in MakeWebGestureEventFromUIEvent() local
151 gesture_event.type = blink::WebInputEvent::GestureTap; in MakeWebGestureEventFromUIEvent()
152 gesture_event.data.tap.tapCount = event.details().tap_count(); in MakeWebGestureEventFromUIEvent()
153 gesture_event.data.tap.width = event.details().bounding_box().width(); in MakeWebGestureEventFromUIEvent()
154 gesture_event.data.tap.height = event.details().bounding_box().height(); in MakeWebGestureEventFromUIEvent()
157 gesture_event.type = blink::WebInputEvent::GestureTapDown; in MakeWebGestureEventFromUIEvent()
158 gesture_event.data.tapDown.width = in MakeWebGestureEventFromUIEvent()
160 gesture_event.data.tapDown.height = in MakeWebGestureEventFromUIEvent()
164 gesture_event.type = blink::WebInputEvent::GestureShowPress; in MakeWebGestureEventFromUIEvent()
165 gesture_event.data.showPress.width = in MakeWebGestureEventFromUIEvent()
[all …]
Dweb_input_event_aura.cc308 blink::WebGestureEvent gesture_event; in MakeWebGestureEvent() local
311 gesture_event = MakeWebGestureEventFromNativeEvent(event->native_event()); in MakeWebGestureEvent()
313 gesture_event = MakeWebGestureEventFromUIEvent(*event); in MakeWebGestureEvent()
315 gesture_event = MakeWebGestureEventFromUIEvent(*event); in MakeWebGestureEvent()
318 gesture_event.x = event->x(); in MakeWebGestureEvent()
319 gesture_event.y = event->y(); in MakeWebGestureEvent()
322 gesture_event.globalX = root_point.x(); in MakeWebGestureEvent()
323 gesture_event.globalY = root_point.y(); in MakeWebGestureEvent()
325 return gesture_event; in MakeWebGestureEvent()
329 blink::WebGestureEvent gesture_event; in MakeWebGestureEvent() local
[all …]
Drender_widget_host_impl.cc922 const blink::WebGestureEvent& gesture_event) { in ForwardGestureEvent() argument
923 ForwardGestureEventWithLatencyInfo(gesture_event, ui::LatencyInfo()); in ForwardGestureEvent()
927 const blink::WebGestureEvent& gesture_event, in ForwardGestureEventWithLatencyInfo() argument
934 if (delegate_->PreHandleGestureEvent(gesture_event)) in ForwardGestureEventWithLatencyInfo()
938 CreateRWHLatencyInfoIfNotExist(&ui_latency, gesture_event.type); in ForwardGestureEventWithLatencyInfo()
940 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate) { in ForwardGestureEventWithLatencyInfo()
962 GestureEventWithLatencyInfo gesture_with_latency(gesture_event, latency_info); in ForwardGestureEventWithLatencyInfo()
Drender_widget_host_view_aura.cc1223 const WebGestureEvent& gesture_event = in FilterInputEvent() local
1227 if (gesture_event.sourceDevice == blink::WebGestureDeviceTouchpad && in FilterInputEvent()
1228 !gesture_event.data.flingStart.velocityX && in FilterInputEvent()
1229 !gesture_event.data.flingStart.velocityY) { in FilterInputEvent()
1924 blink::WebGestureEvent gesture_event = in OnScrollEvent() local
1926 host_->ForwardGestureEvent(gesture_event); in OnScrollEvent()
1933 blink::WebGestureEvent gesture_event = in OnScrollEvent() local
1935 host_->ForwardGestureEvent(gesture_event); in OnScrollEvent()
Drender_widget_host_impl.h280 const blink::WebGestureEvent& gesture_event,
294 const blink::WebGestureEvent& gesture_event) OVERRIDE;
/external/chromium_org/content/renderer/input/
Dinput_handler_proxy.cc248 const WebGestureEvent& gesture_event = in HandleInputEvent() local
251 gfx::Point(gesture_event.x, gesture_event.y), in HandleInputEvent()
280 const WebGestureEvent& gesture_event = in HandleInputEvent() local
283 gfx::Point(gesture_event.x, gesture_event.y), in HandleInputEvent()
284 gfx::Vector2dF(-gesture_event.data.scrollUpdate.deltaX, in HandleInputEvent()
285 -gesture_event.data.scrollUpdate.deltaY)); in HandleInputEvent()
311 const WebGestureEvent& gesture_event = in HandleInputEvent() local
314 gesture_event.data.pinchUpdate.scale, in HandleInputEvent()
315 gfx::Point(gesture_event.x, gesture_event.y)); in HandleInputEvent()
318 const WebGestureEvent& gesture_event = in HandleInputEvent() local
[all …]
/external/chromium_org/content/renderer/
Drender_widget_fullscreen_pepper.cc180 const WebGestureEvent* gesture_event = in handleInputEvent() local
186 mouse.timeStampSeconds = gesture_event->timeStampSeconds; in handleInputEvent()
188 mouse.modifiers = gesture_event->modifiers; in handleInputEvent()
190 mouse.x = gesture_event->x; in handleInputEvent()
191 mouse.y = gesture_event->y; in handleInputEvent()
192 mouse.windowX = gesture_event->globalX; in handleInputEvent()
193 mouse.windowY = gesture_event->globalY; in handleInputEvent()
194 mouse.globalX = gesture_event->globalX; in handleInputEvent()
195 mouse.globalY = gesture_event->globalY; in handleInputEvent()
202 mouse.clickCount = gesture_event->data.tap.tapCount; in handleInputEvent()
[all …]
/external/chromium_org/ui/views/widget/
Droot_view.cc605 ui::GestureEvent gesture_event(*event, static_cast<View*>(this), in DispatchGestureEvent() local
608 DispatchEvent(scroll_gesture_handler_, &gesture_event); in DispatchGestureEvent()
609 if (gesture_event.stopped_propagation()) { in DispatchGestureEvent()
612 } else if (gesture_event.handled()) { in DispatchGestureEvent()
660 ui::GestureEvent gesture_event(*event, static_cast<View*>(this), in DispatchGestureEvent() local
663 DispatchEvent(gesture_handler_, &gesture_event); in DispatchGestureEvent()
673 if (gesture_event.handled()) { in DispatchGestureEvent()
674 if (gesture_event.type() == ui::ET_GESTURE_SCROLL_BEGIN) in DispatchGestureEvent()
676 if (gesture_event.stopped_propagation()) in DispatchGestureEvent()
681 if (gesture_event.type() == ui::ET_GESTURE_END && in DispatchGestureEvent()
/external/chromium_org/ash/shelf/
Dshelf_tooltip_manager_unittest.cc209 ui::GestureEvent gesture_event( in TEST_F() local
213 SetEventTarget(tooltip_widget->GetNativeWindow(), &gesture_event); in TEST_F()
214 event_handler->OnGestureEvent(&gesture_event); in TEST_F()
215 EXPECT_FALSE(gesture_event.handled()); in TEST_F()
/external/chromium_org/content/browser/web_contents/
Dtouch_editable_impl_aura.cc145 const ui::GestureEvent* gesture_event = in HandleInputEvent() local
151 if (gesture_event->details().tap_count() == 1 && in HandleInputEvent()
159 if (selection_rect.Contains(gesture_event->location())) { in HandleInputEvent()
167 if (gesture_event->details().tap_count() == 1 && in HandleInputEvent()
/external/chromium_org/content/common/input/
Dinput_param_traits_unittest.cc165 blink::WebGestureEvent gesture_event; in TEST_F() local
166 gesture_event.type = blink::WebInputEvent::GestureScrollBegin; in TEST_F()
167 gesture_event.x = -1; in TEST_F()
168 events.push_back(new InputEvent(gesture_event, latency, false)); in TEST_F()
/external/chromium_org/ui/wm/core/
Duser_activity_detector_unittest.cc141 ui::GestureEvent gesture_event( in TEST_F() local
145 detector_->OnGestureEvent(&gesture_event); in TEST_F()
146 EXPECT_FALSE(gesture_event.handled()); in TEST_F()
/external/chromium_org/content/browser/frame_host/
Drender_widget_host_view_guest.cc37 blink::WebGestureEvent gesture_event; in CreateFlingCancelEvent() local
38 gesture_event.timeStampSeconds = time_stamp; in CreateFlingCancelEvent()
39 gesture_event.type = blink::WebGestureEvent::GestureFlingCancel; in CreateFlingCancelEvent()
40 gesture_event.sourceDevice = blink::WebGestureDeviceTouchscreen; in CreateFlingCancelEvent()
41 return gesture_event; in CreateFlingCancelEvent()
/external/chromium_org/ui/views/controls/button/
Dcustom_button_unittest.cc41 ui::GestureEvent gesture_event(gesture_details.type(), 0, 0, 0, time_stamp, in PerformGesture() local
43 button->OnGestureEvent(&gesture_event); in PerformGesture()

12