Searched refs:GetPointerCount (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/content/browser/renderer_host/input/
H A Dmotion_event_web.cc67 DCHECK_GT(GetPointerCount(), 0U);
82 size_t MotionEventWeb::GetPointerCount() const { return event_.touchesLength; } function in class:content::MotionEventWeb
85 DCHECK_LT(pointer_index, GetPointerCount());
90 DCHECK_LT(pointer_index, GetPointerCount());
95 DCHECK_LT(pointer_index, GetPointerCount());
100 DCHECK_LT(pointer_index, GetPointerCount());
105 DCHECK_LT(pointer_index, GetPointerCount());
110 DCHECK_LT(pointer_index, GetPointerCount());
116 DCHECK_LT(pointer_index, GetPointerCount());
122 DCHECK_LT(pointer_index, GetPointerCount());
[all...]
H A Dgesture_text_selector.cc65 DCHECK_GT(event.GetPointerCount(), 0u);
H A Dmotion_event_web.h23 virtual size_t GetPointerCount() const OVERRIDE;
H A Dmotion_event_android_unittest.cc108 EXPECT_EQ(static_cast<size_t>(pointer_count), event.GetPointerCount());
205 cancel_event->GetPointerCount());
H A Dmotion_event_android.h58 virtual size_t GetPointerCount() const OVERRIDE;
H A Dmotion_event_android.cc269 size_t MotionEventAndroid::GetPointerCount() const { function in class:content::MotionEventAndroid
H A Dweb_input_event_util.cc271 std::min(event.GetPointerCount(),
/external/chromium_org/ui/events/test/
H A Dmock_motion_event.cc103 if (GetPointerCount() > 1) {
104 set_action_index(static_cast<int>(GetPointerCount()) - 1);
113 DCHECK_LT(index, GetPointerCount());
126 DCHECK_GT(GetPointerCount(), 0U);
127 if (GetPointerCount() > 1) {
128 set_action_index(static_cast<int>(GetPointerCount()) - 1);
137 DCHECK_GT(GetPointerCount(), 0U);
142 for (size_t i = 0; i < GetPointerCount(); ++i)
147 for (size_t i = 0; i < GetPointerCount(); ++i) {
154 DCHECK_LT(pointer_index, GetPointerCount());
[all...]
/external/chromium_org/ui/events/gestures/
H A Dmotion_event_aura_unittest.cc78 EXPECT_EQ(0U, event.GetPointerCount());
82 EXPECT_EQ(1U, event.GetPointerCount());
88 EXPECT_EQ(2U, event.GetPointerCount());
95 EXPECT_EQ(3U, event.GetPointerCount());
104 EXPECT_EQ(2U, event.GetPointerCount());
112 EXPECT_EQ(2U, clone->GetPointerCount());
119 EXPECT_EQ(1U, event.GetPointerCount());
126 EXPECT_EQ(0U, event.GetPointerCount());
135 EXPECT_EQ(0U, event.GetPointerCount());
143 EXPECT_EQ(3U, event.GetPointerCount());
[all...]
H A Dmotion_event_aura.h30 virtual size_t GetPointerCount() const OVERRIDE;
H A Dgesture_recognizer_impl.cc106 for (size_t j = 0; j < pointer_state.GetPointerCount(); ++j) {
179 if (pointer_state.GetPointerCount() == 0)
183 for (size_t i = 0; i < pointer_state_clone->GetPointerCount(); ++i) {
H A Dmotion_event_aura.cc122 size_t MotionEventAura::GetPointerCount() const { return pointer_count_; } function in class:ui::MotionEventAura
/external/chromium_org/ui/events/gesture_detection/
H A Dmotion_event.cc40 const size_t pointer_count = GetPointerCount();
51 lhs.GetPointerCount() != rhs.GetPointerCount() ||
57 for (size_t i = 0; i < lhs.GetPointerCount(); ++i) {
H A Dmotion_event_generic_unittest.cc15 EXPECT_EQ(1U, event.GetPointerCount());
20 ASSERT_EQ(2U, event.GetPointerCount());
25 ASSERT_EQ(3U, event.GetPointerCount());
H A Dmotion_event_buffer.cc38 const size_t pointer_count = event0.GetPointerCount();
39 if (pointer_count != event1.GetPointerCount())
133 DCHECK_EQ(event0.GetPointerCount(), event1.GetPointerCount());
144 const size_t pointer_count = event0.GetPointerCount();
145 DCHECK_EQ(pointer_count, event1.GetPointerCount());
186 virtual size_t GetPointerCount() const OVERRIDE {
187 return latest().GetPointerCount();
H A Dgesture_provider.cc223 e.GetPointerCount(),
259 e.GetPointerCount(),
310 e2.GetPointerCount(),
339 e2.GetPointerCount(),
400 e2.GetPointerCount(),
548 event.GetPointerCount(),
572 for (size_t i = 0; i < event.GetPointerCount(); ++i) {
701 DCHECK_NE(0u, event.GetPointerCount());
771 event.GetPointerCount(),
H A Dmotion_event.h54 virtual size_t GetPointerCount() const = 0;
H A Dgesture_detector.cc208 const int count = static_cast<int>(ev.GetPointerCount());
235 if (ev.GetPointerCount() == 2 &&
276 if (two_finger_tap_allowed_for_gesture_ && ev.GetPointerCount() == 2 &&
369 if (ev.GetPointerCount() == 2) {
H A Dmotion_event_generic.h45 virtual size_t GetPointerCount() const OVERRIDE;
H A Dmotion_event_generic.cc82 size_t MotionEventGeneric::GetPointerCount() const { function in class:ui::MotionEventGeneric
H A Dscale_gesture_detector.cc127 const int count = static_cast<int>(event.GetPointerCount());
293 const int count = static_cast<int>(ev.GetPointerCount());
H A Dmotion_event_buffer_unittest.cc90 ASSERT_EQ(a.GetPointerCount(), b.GetPointerCount());
91 for (size_t i = 0; i < a.GetPointerCount(); ++i) {
132 EXPECT_EQ(a.GetPointerCount(), b.GetPointerCount());
135 for (size_t i = 0; i < a.GetPointerCount(); ++i) {
H A Dvelocity_tracker.cc322 size_t pointer_count = event.GetPointerCount();

Completed in 321 milliseconds