Searched refs:touch_event (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/ui/chromeos/
H A Dtouch_exploration_controller.cc69 const ui::TouchEvent& touch_event = static_cast<const ui::TouchEvent&>(event); local
76 touch_event.time_stamp() - initial_press_->time_stamp() >
91 const ui::EventType type = touch_event.type();
92 const gfx::PointF& location = touch_event.location_f();
93 const int touch_id = touch_event.touch_id();
123 VLOG_EVENT(touch_event);
128 FindEdgesWithinBounds(touch_event.location(), kLeavingScreenEdge) !=
152 gesture_provider_->OnTouchEvent(touch_event);
160 return InNoFingersDown(touch_event, rewritten_event);
162 return InSingleTapPressed(touch_event, rewritten_even
1045 VlogEvent(const ui::TouchEvent& touch_event, const char* function_name) argument
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_tooltip_manager_unittest.cc193 ui::TouchEvent touch_event(
195 SetEventTarget(root_window, &touch_event);
196 event_handler->OnTouchEvent(&touch_event);
197 EXPECT_FALSE(touch_event.handled());
203 SetEventTarget(tooltip_widget->GetNativeWindow(), &touch_event);
204 event_handler->OnTouchEvent(&touch_event);
205 EXPECT_FALSE(touch_event.handled());
/external/chromium_org/content/browser/renderer_host/input/
H A Dsynthetic_gesture_controller_unittest.cc159 const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); variable
160 ASSERT_EQ(touch_event.touchesLength, 1U);
163 ASSERT_EQ(touch_event.type, WebInputEvent::TouchStart);
164 start_.SetPoint(touch_event.touches[0].position.x,
165 touch_event.touches[0].position.y);
169 ASSERT_NE(touch_event.type, WebInputEvent::TouchStart);
170 ASSERT_NE(touch_event.type, WebInputEvent::TouchCancel);
172 gfx::PointF touch_point(touch_event.touches[0].position.x,
173 touch_event.touches[0].position.y);
177 if (touch_event
208 const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); variable
308 const WebTouchEvent& touch_event = static_cast<const WebTouchEvent&>(event); variable
[all...]
H A Dinput_router.h48 const TouchEventWithLatencyInfo& touch_event) = 0;
H A Dinput_router_impl.cc194 const TouchEventWithLatencyInfo& touch_event) {
195 input_stream_validator_.Validate(touch_event.event);
196 touch_event_queue_.QueueEvent(touch_event);
222 const TouchEventWithLatencyInfo& touch_event) {
223 if (WebTouchEventTraits::IsTouchSequenceStart(touch_event.event)) {
232 FilterAndSendWebInputEvent(touch_event.event, touch_event.latency, false);
193 SendTouchEvent( const TouchEventWithLatencyInfo& touch_event) argument
221 SendTouchEventImmediately( const TouchEventWithLatencyInfo& touch_event) argument
H A Dinput_router_impl.h72 const TouchEventWithLatencyInfo& touch_event) OVERRIDE;
90 const TouchEventWithLatencyInfo& touch_event) OVERRIDE;
/external/chromium_org/native_client_sdk/src/examples/api/input_event/
H A Dinput_event.cc207 pp::TouchInputEvent touch_event(event);
210 << " modifier:" << ModifierToString(touch_event.GetModifiers());
213 touch_event.GetTouchCount(PP_TOUCHLIST_TYPE_CHANGEDTOUCHES);
216 touch_event.GetTouchByIndex(PP_TOUCHLIST_TYPE_CHANGEDTOUCHES, i);
224 stream << " time:" << touch_event.GetTimeStamp();
/external/chromium_org/ppapi/thunk/
H A Dppb_input_event_thunk.cc449 void AddTouchPoint(PP_Resource touch_event, argument
453 EnterInputEvent enter(touch_event, true);
470 uint32_t GetTouchCount(PP_Resource touch_event, PP_TouchListType list) { argument
472 EnterInputEvent enter(touch_event, true);
478 struct PP_TouchPoint GetTouchByIndex(PP_Resource touch_event, argument
482 EnterInputEvent enter(touch_event, true);
488 struct PP_TouchPoint GetTouchById(PP_Resource touch_event, argument
492 EnterInputEvent enter(touch_event, true);
/external/chromium_org/content/common/input/
H A Dinput_param_traits_unittest.cc170 blink::WebTouchEvent touch_event; local
171 touch_event.type = blink::WebInputEvent::TouchStart;
172 touch_event.touchesLength = 1;
173 touch_event.touches[0].radiusX = 1;
174 events.push_back(new InputEvent(touch_event, latency, false));
/external/chromium_org/ppapi/tests/
H A Dtest_input_event.cc178 pp::TouchInputEvent touch_event(instance_, type, 100, 0);
179 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TOUCHES, touch_point);
180 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_CHANGEDTOUCHES, touch_point);
181 touch_event.AddTouchPoint(PP_TOUCHLIST_TYPE_TARGETTOUCHES, touch_point);
183 return touch_event;
/external/chromium_org/ui/views/corewm/
H A Dcapture_controller_unittest.cc161 ui::TouchEvent touch_event(
165 ui::GestureRecognizer::Get()->GetTouchLockedTarget(touch_event));
/external/chromium_org/ui/wm/core/
H A Duser_activity_detector_unittest.cc131 ui::TouchEvent touch_event(
133 detector_->OnTouchEvent(&touch_event);
134 EXPECT_FALSE(touch_event.handled());
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_impl.cc977 const blink::WebTouchEvent& touch_event) {
984 static_cast<size_t>(touch_event.touchesLength));
987 touch_event.touches[i].position.x, touch_event.touches[i].position.y);
991 NULL, touch_event.type, logical_coordinates, logical_coordinates_size);
992 TouchEventWithLatencyInfo touch_with_latency(touch_event, latency_info);
997 const blink::WebTouchEvent& touch_event,
1008 static_cast<size_t>(touch_event.touchesLength));
1011 touch_event.touches[i].position.x, touch_event
976 ForwardEmulatedTouchEvent( const blink::WebTouchEvent& touch_event) argument
996 ForwardTouchEventWithLatencyInfo( const blink::WebTouchEvent& touch_event, const ui::LatencyInfo& ui_latency) argument
1957 TouchEventWithLatencyInfo touch_event = event; local
[all...]
H A Drender_widget_host_impl.h268 const blink::WebTouchEvent& touch_event,
284 const blink::WebTouchEvent& touch_event) OVERRIDE;
/external/chromium_org/ui/events/ozone/
H A Devents_ozone.cc191 ui::TouchEvent touch_event(native_event);
192 callback.Run(&touch_event);
/external/chromium_org/content/renderer/input/
H A Dinput_handler_proxy.cc345 const WebTouchEvent& touch_event = local
347 for (size_t i = 0; i < touch_event.touchesLength; ++i) {
348 if (touch_event.touches[i].state != WebTouchPoint::StatePressed)
351 gfx::Point(touch_event.touches[i].position.x,
352 touch_event.touches[i].position.y))) {
/external/chromium_org/content/renderer/pepper/
H A Devent_conversion.cc251 const WebTouchEvent& touch_event = local
256 touch_event.touches, touch_event.touchesLength, ACTIVE, &result.touches);
257 SetPPTouchPoints(touch_event.touches,
258 touch_event.touchesLength,
261 SetPPTouchPoints(touch_event.touches,
262 touch_event.touchesLength,
/external/chromium_org/chrome/browser/chromeos/events/
H A Devent_rewriter.h153 const ui::TouchEvent& touch_event,
H A Devent_rewriter.cc492 const ui::TouchEvent& touch_event,
494 int flags = touch_event.flags();
495 RewriteLocatedEvent(touch_event, &flags);
496 if (touch_event.flags() == flags)
498 ui::TouchEvent* rewritten_touch_event = new ui::TouchEvent(touch_event);
491 RewriteTouchEvent( const ui::TouchEvent& touch_event, scoped_ptr<ui::Event>* rewritten_event) argument
/external/chromium_org/mojo/services/public/cpp/input_events/lib/
H A Dinput_events_type_converters.cc114 const ui::TouchEvent* touch_event = local
117 touch_data->pointer_id = touch_event->touch_id();
/external/chromium_org/ui/events/gestures/
H A Dgesture_recognizer_impl.cc186 TouchEvent touch_event(ui::ET_TOUCH_CANCELLED,
197 helper->DispatchCancelTouchEvent(&touch_event);
/external/chromium_org/ui/platform_window/x11/
H A Dx11_window.cc103 TouchEvent touch_event(xev);
104 delegate_->DispatchEvent(&touch_event);
/external/chromium_org/ppapi/api/
H A Dppb_input_event.idl893 * @param[in] touch_event A <code>PP_Resource</code> corresponding to a touch
900 void AddTouchPoint([in] PP_Resource touch_event,
/external/chromium_org/ppapi/c/
H A Dppb_input_event.h857 * @param[in] touch_event A <code>PP_Resource</code> corresponding to a touch
864 void (*AddTouchPoint)(PP_Resource touch_event,
/external/chromium_org/content/shell/renderer/test_runner/
H A Devent_sender.cc1907 WebTouchEvent touch_event; local
1908 touch_event.type = type;
1909 touch_event.modifiers = touch_modifiers_;
1910 touch_event.cancelable = touch_cancelable_;
1911 touch_event.timeStampSeconds = GetCurrentEventTimeSec();
1912 touch_event.touchesLength = touch_points_.size();
1914 touch_event.touches[i] = touch_points_[i];
1915 view_->handleInputEvent(touch_event);

Completed in 4871 milliseconds

12