Home
last modified time | relevance | path

Searched refs:GetPointerId (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ui/events/gestures/
Dmotion_event_aura_unittest.cc62 EXPECT_EQ(ids[0], event.GetPointerId(0)); in TEST()
68 EXPECT_EQ(ids[0], event.GetPointerId(0)); in TEST()
69 EXPECT_EQ(ids[1], event.GetPointerId(1)); in TEST()
75 EXPECT_EQ(ids[0], event.GetPointerId(0)); in TEST()
76 EXPECT_EQ(ids[1], event.GetPointerId(1)); in TEST()
77 EXPECT_EQ(ids[2], event.GetPointerId(2)); in TEST()
84 EXPECT_EQ(ids[0], event.GetPointerId(0)); in TEST()
85 EXPECT_EQ(ids[2], event.GetPointerId(1)); in TEST()
90 EXPECT_EQ(ids[0], clone->GetPointerId(0)); in TEST()
91 EXPECT_EQ(ids[2], clone->GetPointerId(1)); in TEST()
[all …]
Dmotion_event_aura.cc77 return GetPointerId(0); in GetId()
94 int MotionEventAura::GetPointerId(size_t pointer_index) const { in GetPointerId() function in ui::MotionEventAura
Dmotion_event_aura.h33 virtual int GetPointerId(size_t pointer_index) const OVERRIDE;
Dgesture_provider_aura.cc28 if (event.touch_id() != pointer_state_.GetPointerId(i)) in OnTouchEvent()
Dgesture_recognizer_impl.cc146 closest_touch_id = pointer_state.GetPointerId(j); in GetTargetForLocation()
/external/chromium_org/ui/events/gesture_detection/
Dgesture_detector.cc251 const int id1 = ev.GetPointerId(up_index); in OnTouchEvent()
260 const int id2 = ev.GetPointerId(i); in OnTouchEvent()
359 const int id0 = current_down_event_->GetPointerId(0); in OnTouchEvent()
360 const int ev_idx0 = ev.GetPointerId(0) == id0 ? 0 : 1; in OnTouchEvent()
396 const int pointer_id = ev.GetPointerId(0); in OnTouchEvent()
Dmotion_event.h53 virtual int GetPointerId(size_t pointer_index) const = 0;
Dvelocity_tracker.cc288 downIdBits.mark_bit(event.GetPointerId(event.GetActionIndex())); in AddMovement()
316 id_bits.mark_bit(event.GetPointerId(i)); in AddMovement()
321 pointer_index[i] = id_bits.get_index_of_bit(event.GetPointerId(i)); in AddMovement()
/external/chromium_org/content/browser/renderer_host/input/
Dmotion_event_web.h24 virtual int GetPointerId(size_t pointer_index) const OVERRIDE;
Dmotion_event_android.h53 virtual int GetPointerId(size_t pointer_index) const OVERRIDE;
Dmotion_event_web.cc78 int MotionEventWeb::GetPointerId(size_t pointer_index) const { in GetPointerId() function in content::MotionEventWeb
Dmotion_event_android.cc227 int MotionEventAndroid::GetPointerId(size_t pointer_index) const { in GetPointerId() function in content::MotionEventAndroid
Dweb_input_event_util.cc183 touch.id = event.GetPointerId(pointer_index); in CreateWebTouchPoint()
/external/chromium_org/ui/events/test/
Dmock_motion_event.h48 virtual int GetPointerId(size_t pointer_index) const OVERRIDE;
Dmock_motion_event.cc105 int MockMotionEvent::GetPointerId(size_t pointer_index) const { in GetPointerId() function in ui::test::MockMotionEvent