Home
last modified time | relevance | path

Searched refs:touchesLength (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/content/renderer/pepper/
Devent_conversion_unittest.cc19 ASSERT_EQ(expected.touchesLength, actual.touchesLength); in CompareWebTouchEvents()
20 for (size_t i = 0; i < expected.touchesLength; ++i) { in CompareWebTouchEvents()
22 for (; j < actual.touchesLength; ++j) { in CompareWebTouchEvents()
26 ASSERT_NE(j, actual.touchesLength); in CompareWebTouchEvents()
59 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F()
86 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F()
113 ASSERT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F()
141 EXPECT_EQ(touch.touchesLength, touch_out->touchesLength); in TEST_F()
Devent_conversion.cc256 touch_event.touches, touch_event.touchesLength, ACTIVE, &result.touches); in AppendTouchEvent()
258 touch_event.touchesLength, in AppendTouchEvent()
262 touch_event.touchesLength, in AppendTouchEvent()
346 web_event->touchesLength = 0; in BuildTouchEvent()
353 &web_event->touchesLength); in BuildTouchEvent()
357 &web_event->touchesLength); in BuildTouchEvent()
/external/chromium_org/content/common/input/
Dweb_touch_event_traits.cc18 if (!event.touchesLength) in AllTouchPointsHaveState()
20 for (size_t i = 0; i < event.touchesLength; ++i) { in AllTouchPointsHaveState()
28 DCHECK(event.touchesLength); in IsTouchSequenceStart()
38 if (!event.touchesLength) in IsTouchSequenceEnd()
40 for (size_t i = 0; i < event.touchesLength; ++i) { in IsTouchSequenceEnd()
80 for (size_t i = 0; i < event->touchesLength; ++i) in ResetTypeAndTouchStates()
Dtouch_event_stream_validator.cc18 for (unsigned i = 0; i < event.touchesLength; ++i) { in FindTouchPoint()
41 if (!event.touchesLength) { in Validate()
56 for (unsigned i = 0; i < previous_event.touchesLength; ++i) { in Validate()
68 for (unsigned i = 0; i < event.touchesLength; ++i) { in Validate()
Dsynthetic_web_input_event_builders.cc156 for (unsigned int i = 0; i < touchesLength; ++i) { in ResetPoints()
164 touchesLength = point; in ResetPoints()
169 if (touchesLength == touchesLengthCap) in PressPoint()
171 WebTouchPoint& point = touches[touchesLength]; in PressPoint()
172 point.id = touchesLength; in PressPoint()
177 ++touchesLength; in PressPoint()
Dweb_input_event_traits.cc98 for (unsigned i = 0; i < event.touchesLength; ++i) { in GetIndexOfTouchID()
110 event.touchesLength != event_to_coalesce.touchesLength || in CanCoalesce()
111 event.touchesLength > WebTouchEvent::touchesLengthCap) in CanCoalesce()
118 (1 << event.touchesLength) - 1); in CanCoalesce()
119 for (unsigned i = 0; i < event_to_coalesce.touchesLength; ++i) { in CanCoalesce()
141 for (unsigned i = 0; i < event->touchesLength; ++i) { in Coalesce()
Dtouch_event_stream_validator_unittest.cc127 event.touchesLength = 1; in TEST()
156 event.touchesLength = 1; in TEST()
Dweb_input_event_traits_unittest.cc37 event.touchesLength = touch_count; in CreateTouch()
Dinput_param_traits_unittest.cc172 touch_event.touchesLength = 1; in TEST_F()
/external/chromium_org/content/browser/renderer_host/input/
Dmotion_event_web.cc24 DCHECK(event.touchesLength); in GetActionFrom()
53 for (size_t i = 0; i < event.touchesLength; ++i) { in GetActionIndexFrom()
82 size_t MotionEventWeb::GetPointerCount() const { return event_.touchesLength; } in GetPointerCount()
Dtouch_event_queue.cc250 if (event.touchesLength > 1) { in FilterEvent()
252 } else if (event.touchesLength == 1) { in FilterEvent()
747 for (unsigned int i = 0; i < event.touchesLength; ++i) { in FilterBeforeForwarding()
766 for (unsigned i = 0; i < event.touchesLength; ++i) { in UpdateTouchConsumerStates()
773 for (unsigned i = 0; i < event.touchesLength; ++i) { in UpdateTouchConsumerStates()
Dweb_input_event_util.cc270 result.touchesLength = in CreateWebTouchEventFromMotionEvent()
273 DCHECK_GT(result.touchesLength, 0U); in CreateWebTouchEventFromMotionEvent()
275 for (size_t i = 0; i < result.touchesLength; ++i) in CreateWebTouchEventFromMotionEvent()
Dsynthetic_gesture_target_android.cc70 const unsigned num_touches = web_touch.touchesLength; in DispatchWebTouchEventToPlatform()
Dsynthetic_gesture_target_base.cc59 for (unsigned i = 0; i < web_touch.touchesLength; i++) in DispatchInputEventToPlatform()
Dtouch_emulator_unittest.cc78 EXPECT_EQ(1U, event.touchesLength); in ForwardEmulatedTouchEvent()
210 event.touchesLength = 1; in MakeTouchEvent()
Dsynthetic_gesture_controller_unittest.cc160 ASSERT_EQ(touch_event.touchesLength, 1U); in DispatchInputEventToPlatform()
209 ASSERT_EQ(touch_event.touchesLength, 2U); in DispatchInputEventToPlatform()
309 ASSERT_EQ(touch_event.touchesLength, 1U); in DispatchInputEventToPlatform()
Dtouch_event_queue_unittest.cc809 followup_event.touchesLength = 1; in TEST_F()
878 followup_event.touchesLength = 1; in TEST_F()
887 stationary_event.touchesLength = 1; in TEST_F()
2081 followup_cancel.touchesLength = 1; in TEST_F()
Dtouch_emulator.cc418 touch_event_.touchesLength = 1; in FillTouchEventAndPoint()
Dinput_router_impl_perftest.cc144 touch.touchesLength = 1; in BuildTouchSequence()
/external/chromium_org/content/browser/renderer_host/
Dui_events_helper.cc123 for (unsigned i = 0; i < touch.touchesLength; ++i) { in MakeUITouchEventsFromWebTouchEvents()
253 if (web_event->touchesLength < blink::WebTouchEvent::touchesLengthCap) { in UpdateWebTouchEventFromUIEvent()
254 point = &web_event->touches[web_event->touchesLength++]; in UpdateWebTouchEventFromUIEvent()
265 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent()
297 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent()
Drender_widget_host_view_aura_unittest.cc837 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
845 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
853 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F()
865 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
873 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
881 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F()
887 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
906 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
915 EXPECT_EQ(0U, view_->touch_event_.touchesLength); in TEST_F()
943 EXPECT_EQ(1U, view_->touch_event_.touchesLength); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebInputEventConversionTest.cpp135 ASSERT_EQ(1u, webTouchBuilder.touchesLength); in TEST()
158 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST()
175 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST()
192 ASSERT_EQ(2u, webTouchBuilder.touchesLength); in TEST()
212 … ASSERT_EQ(static_cast<unsigned>(WebTouchEvent::touchesLengthCap), webTouchBuilder.touchesLength); in TEST()
346 webTouchEvent.touchesLength = 1; in TEST()
413 ASSERT_EQ(1u, webTouchBuilder.touchesLength); in TEST()
552 webTouchEvent.touchesLength = 1; in TEST()
696 webTouchEvent.touchesLength = 1; in TEST()
DTouchActionTest.cpp314 webTouchEvent.touchesLength = 1; in sendTouchEvent()
/external/chromium_org/third_party/WebKit/public/web/
DWebInputEvent.h490 unsigned touchesLength; variable
501 , touchesLength(0) in WebTouchEvent()
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventConversion.cpp457 for (unsigned i = 0; i < event.touchesLength; ++i) in PlatformTouchEventBuilder()
804 …toWebTouchPointState(event.type()), event.changedTouches(), touches, &touchesLength, renderObject); in WebTouchEventBuilder()
805 …ed(widget, WebTouchPoint::StateStationary, event.touches(), touches, &touchesLength, renderObject); in WebTouchEventBuilder()

12