Home
last modified time | relevance | path

Searched refs:gesture (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/content/browser/renderer_host/
Doverscroll_controller.cc124 const blink::WebGestureEvent& gesture) { in DiscardingGestureEvent() argument
126 (gesture.type == blink::WebInputEvent::GestureScrollEnd || in DiscardingGestureEvent()
127 gesture.type == blink::WebInputEvent::GestureFlingStart)) { in DiscardingGestureEvent()
165 const blink::WebGestureEvent gesture = in DispatchEventCompletesAction() local
169 if (gesture.data.flingStart.velocityX < 0) in DispatchEventCompletesAction()
173 if (gesture.data.flingStart.velocityX > 0) in DispatchEventCompletesAction()
177 if (gesture.data.flingStart.velocityY > 0) in DispatchEventCompletesAction()
181 if (gesture.data.flingStart.velocityY < 0) in DispatchEventCompletesAction()
242 const blink::WebGestureEvent& gesture = in ProcessEventForOverscroll() local
244 ProcessOverscroll(gesture.data.scrollUpdate.deltaX, in ProcessEventForOverscroll()
[all …]
Drender_widget_host_view_guest.cc581 ui::GestureEvent* gesture) { in ForwardGestureEventToRenderer() argument
588 if ((gesture->type() == ui::ET_GESTURE_PINCH_BEGIN || in ForwardGestureEventToRenderer()
589 gesture->type() == ui::ET_GESTURE_PINCH_UPDATE || in ForwardGestureEventToRenderer()
590 gesture->type() == ui::ET_GESTURE_PINCH_END) && in ForwardGestureEventToRenderer()
596 MakeWebGestureEventFromUIEvent(*gesture); in ForwardGestureEventToRenderer()
597 const gfx::Point& client_point = gesture->location(); in ForwardGestureEventToRenderer()
598 const gfx::Point& screen_point = gesture->location(); in ForwardGestureEventToRenderer()
609 CreateFlingCancelEvent(gesture->time_stamp().InSecondsF())); in ForwardGestureEventToRenderer()
DOWNERS17 # For touch/gesture specific changes
Drender_widget_host_view_win.cc259 const ui::GestureEvent& gesture) { in CreateWebGestureEvent() argument
261 MakeWebGestureEventFromUIEvent(gesture); in CreateWebGestureEvent()
263 POINT client_point = gesture.location().ToPOINT(); in CreateWebGestureEvent()
264 POINT screen_point = gesture.location().ToPOINT(); in CreateWebGestureEvent()
2879 ui::GestureEvent* gesture) { in ForwardGestureEventToRenderer() argument
2885 if ((gesture->type() == ui::ET_GESTURE_PINCH_BEGIN || in ForwardGestureEventToRenderer()
2886 gesture->type() == ui::ET_GESTURE_PINCH_UPDATE || in ForwardGestureEventToRenderer()
2887 gesture->type() == ui::ET_GESTURE_PINCH_END) && in ForwardGestureEventToRenderer()
2892 blink::WebGestureEvent web_gesture = CreateWebGestureEvent(m_hWnd, *gesture); in ForwardGestureEventToRenderer()
2897 CreateFlingCancelEvent(gesture->time_stamp().InSecondsF())); in ForwardGestureEventToRenderer()
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_gesture_controller_unittest.cc394 scoped_ptr<MockSyntheticGesture> gesture( in TEST_F() local
396 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
408 scoped_ptr<MockSyntheticGesture> gesture( in TEST_F() local
410 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
491 scoped_ptr<SyntheticSmoothScrollGesture> gesture( in TEST_F() local
493 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
512 scoped_ptr<SyntheticSmoothScrollGesture> gesture( in TEST_F() local
514 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
552 scoped_ptr<SyntheticSmoothScrollGesture> gesture( in TEST_F() local
554 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
[all …]
Dsynthetic_gesture_controller.cc65 void SyntheticGestureController::StartGesture(const SyntheticGesture& gesture) { in StartGesture() argument
67 &gesture); in StartGesture()
72 const SyntheticGesture& gesture, SyntheticGesture::Result result) { in StopGesture() argument
75 &gesture); in StopGesture()
Dsynthetic_gesture_controller.h35 void StartGesture(const SyntheticGesture& gesture);
36 void StopGesture(const SyntheticGesture& gesture,
/external/chromium_org/ash/touch/
Dtouch_uma.cc106 const ui::GestureEvent& gesture = in UMAEventTypeFromEvent() local
108 if (gesture.details().touch_points() >= 4) in UMAEventTypeFromEvent()
110 else if (gesture.details().touch_points() == 3) in UMAEventTypeFromEvent()
112 else if (gesture.details().touch_points() == 2) in UMAEventTypeFromEvent()
117 const ui::GestureEvent& gesture = in UMAEventTypeFromEvent() local
119 int tap_count = gesture.details().tap_count(); in UMAEventTypeFromEvent()
142 const ui::GestureEvent& gesture = in UMAEventTypeFromEvent() local
144 if (gesture.details().touch_points() >= 4) in UMAEventTypeFromEvent()
146 else if (gesture.details().touch_points() == 3) in UMAEventTypeFromEvent()
155 const ui::GestureEvent& gesture = in UMAEventTypeFromEvent() local
[all …]
/external/chromium_org/content/renderer/
Drender_widget_fullscreen_pepper.cc66 WebMouseEvent WebMouseEventFromGestureEvent(const WebGestureEvent& gesture) { in WebMouseEventFromGestureEvent() argument
69 switch (gesture.type) { in WebMouseEventFromGestureEvent()
79 if (gesture.sourceDevice == WebGestureEvent::Touchscreen) { in WebMouseEventFromGestureEvent()
100 mouse.timeStampSeconds = gesture.timeStampSeconds; in WebMouseEventFromGestureEvent()
101 mouse.modifiers = gesture.modifiers | WebInputEvent::LeftButtonDown; in WebMouseEventFromGestureEvent()
106 mouse.x = gesture.x; in WebMouseEventFromGestureEvent()
107 mouse.y = gesture.y; in WebMouseEventFromGestureEvent()
108 mouse.windowX = gesture.globalX; in WebMouseEventFromGestureEvent()
109 mouse.windowY = gesture.globalY; in WebMouseEventFromGestureEvent()
110 mouse.globalX = gesture.globalX; in WebMouseEventFromGestureEvent()
[all …]
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_render_widget_host_view_mac_history_swiper.mm59 // only 1 endGesture event. The unfinished gesture will continue to send
60 // touchesMoved events, but when the gesture finishes there is not endGesture
78 // The event must correpond to a valid gesture, or else
100 // a gesture.
102 // Update the current point of the gesture.
105 // If the gesture doesn't have a start point, set one.
114 // called before the gesture begins, and the touches in an event are only
115 // available after the gesture begins.
129 // Consider cancelling the history swipe gesture.
156 // If the gesture was completed, perform a navigation.
[all …]
Dchrome_render_widget_host_view_mac_history_swiper_unit_test.mm310 // a swipe gesture event. We should still function appropriately.
319 // Send a momentum move gesture.
361 // Send a momentum move gesture.
385 // After a gesture is successfully recognized, momentum events should be
393 // Successfully pass through a gesture.
/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc393 void ShelfLayoutManager::StartGestureDrag(const ui::GestureEvent& gesture) { in StartGestureDrag() argument
402 const ui::GestureEvent& gesture) { in UpdateGestureDrag() argument
404 gesture_drag_amount_ += horizontal ? gesture.details().scroll_y() : in UpdateGestureDrag()
405 gesture.details().scroll_x(); in UpdateGestureDrag()
411 if (horizontal && gesture.details().scroll_y() < 0) { in UpdateGestureDrag()
417 gesture.root_location().x() >= in UpdateGestureDrag()
426 void ShelfLayoutManager::CompleteGestureDrag(const ui::GestureEvent& gesture) { in CompleteGestureDrag() argument
429 if (gesture.type() == ui::ET_GESTURE_SCROLL_END) { in CompleteGestureDrag()
453 } else if (gesture.type() == ui::ET_SCROLL_FLING_START) { in CompleteGestureDrag()
455 should_change = horizontal ? fabs(gesture.details().velocity_y()) > 0 : in CompleteGestureDrag()
[all …]
Dshelf_layout_manager.h158 void StartGestureDrag(const ui::GestureEvent& gesture);
166 DragState UpdateGestureDrag(const ui::GestureEvent& gesture);
167 void CompleteGestureDrag(const ui::GestureEvent& gesture);
/external/chromium_org/content/renderer/pepper/
Dmock_renderer_ppapi_host.h33 void set_has_user_gesture(bool gesture) { has_user_gesture_ = gesture; } in set_has_user_gesture() argument
/external/chromium_org/chrome/browser/ui/cocoa/
Dhistory_overlay_controller.mm28 // Additional height that is added to kShieldHeight when the gesture is
105 // When tracking the gesture, the height is constant and the alpha value
112 // When the gesture is very likely to be completed (90% in this case), grow
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc202 virtual void OnGestureEvent(ui::GestureEvent* gesture) OVERRIDE { in OnGestureEvent() argument
203 events_.push_back(gesture->type()); in OnGestureEvent()
204 bounding_box_ = gesture->details().bounding_box(); in OnGestureEvent()
205 switch (gesture->type()) { in OnGestureEvent()
207 tap_location_ = gesture->location(); in OnGestureEvent()
208 tap_count_ = gesture->details().tap_count(); in OnGestureEvent()
225 scroll_begin_position_ = gesture->location(); in OnGestureEvent()
229 scroll_x_ += gesture->details().scroll_x(); in OnGestureEvent()
230 scroll_y_ += gesture->details().scroll_y(); in OnGestureEvent()
231 scroll_velocity_x_ = gesture->details().velocity_x(); in OnGestureEvent()
[all …]
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_event_router.cc303 EventRouter::UserGestureState gesture = in ActiveTabChanged() local
310 gesture); in ActiveTabChanged()
314 gesture); in ActiveTabChanged()
320 DispatchEvent(profile, tabs::OnActivated::kEventName, args.Pass(), gesture); in ActiveTabChanged()
/external/kernel-headers/original/linux/
Dkxtf9.h116 u8 gesture; member
/external/chromium_org/content/test/
Dtest_render_view_host.cc46 params->gesture = NavigationGestureUser; in InitNavigateParams()
349 params.gesture = NavigationGestureUser; in SendNavigateWithParameters()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DTestPlugin.cpp126 const WebGestureEvent& gesture = static_cast<const WebGestureEvent&>(event); in printEventDetails() local
128 snprintf(buffer, sizeof(buffer), "* %d, %d\n", gesture.x, gesture.y); in printEventDetails()
/external/chromium_org/win8/metro_driver/
Dchrome_app_view.h86 HRESULT OnEdgeGestureCompleted(winui::Input::IEdgeGesture* gesture,
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_impl_unittest.cc1669 params.gesture = NavigationGestureAuto; in TEST_F()
1726 params.gesture = NavigationGestureAuto; in TEST_F()
1773 params.gesture = NavigationGestureAuto; in TEST_F()
1814 params.gesture = NavigationGestureUser; in TEST_F()
1850 params.gesture = NavigationGestureAuto; in TEST_F()
1877 params.gesture = NavigationGestureUser; in TEST_F()
1909 params.gesture = NavigationGestureUser; in TEST_F()
1999 self_params.gesture = NavigationGestureUser; in TEST_F()
2019 params.gesture = NavigationGestureUser; in TEST_F()
2101 params.gesture = NavigationGestureUser; in TEST_F()
[all …]
/external/chromium_org/ppapi/api/
Dpp_errors.idl110 * This value indicates failure due to lack of a user gesture such as a
112 * gesture are showing the file chooser dialog and going into fullscreen
/external/chromium_org/ui/events/gestures/
Dgestures.dot6 // sites.google.com/a/chromium.org/dev/developers/design-documents/aura/gesture-recognizer
/external/chromium_org/ppapi/api/dev/
Dppb_cursor_control_dev.idl33 * user gesture.

123