Home
last modified time | relevance | path

Searched refs:GetY (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ui/events/gesture_detection/
Dmotion_event.h55 virtual float GetY(size_t pointer_index) const = 0;
79 float GetY() const { return GetY(0); } in GetY() function
83 float GetRawOffsetY() const { return GetRawY() - GetY(); } in GetRawOffsetY()
Dgesture_detector.cc213 sum_y += ev.GetY(i); in OnTouchEvent()
233 const float dy = ev.GetY(action_index) - current_down_event_->GetY(); in OnTouchEvent()
364 float dy = current_down_event_->GetY() - ev.GetY(ev_idx0); in OnTouchEvent()
374 dy = secondary_pointer_down_event_->GetY(idx1) - ev.GetY(ev_idx1); in OnTouchEvent()
522 const float delta_y = first_down.GetY() - second_down.GetY(); in IsConsideredDoubleTap()
Dsnap_scroll_controller.cc75 first_touch_y_ = event.GetY(); in SetSnapScrollingMode()
86 int y_diff = static_cast<int>(std::abs(event.GetY() - first_touch_y_)); in SetSnapScrollingMode()
Dscale_gesture_detector.cc145 if (event.GetY() < focus_y) { in OnTouchEvent()
155 sum_y += event.GetY(i); in OnTouchEvent()
171 dev_sum_y += std::abs(event.GetY(i) - focus_y); in OnTouchEvent()
304 double_tap_focus_y_ = ev.GetY(); in OnDoubleTap()
Dgesture_provider.cc38 event.GetY(i) - diameter / 2, in GetBoundingBox()
91 event.GetY(), in CreateGesture()
348 e1.GetY(), in OnScroll()
412 e1.GetY(), in OnTwoFingerTap()
742 event.GetY(action_index), in OnTouchEventHandlingBegin()
773 event.GetY(i), in OnTouchEventHandlingEnd()
Dgesture_event_data_packet.cc82 gfx::PointF(touch.GetX(), touch.GetY()), in FromTouch()
Dvelocity_tracker.cc338 positions[index].y = event.GetY(i); in AddMovement()
Dtouch_disposition_gesture_filter_unittest.cc205 touch_event_.GetY(0), in CreateGesture()
/external/chromium_org/ui/events/gestures/
Dmotion_event_aura_unittest.cc167 EXPECT_FLOAT_EQ(y, event.GetY(0)); in TEST()
185 EXPECT_FLOAT_EQ(y, event.GetY(1)); in TEST()
195 EXPECT_FLOAT_EQ(y, clone->GetY(1)); in TEST()
212 EXPECT_FLOAT_EQ(y, event.GetY(1)); in TEST()
229 EXPECT_FLOAT_EQ(y, event.GetY(0)); in TEST()
Dmotion_event_aura.h35 virtual float GetY(size_t pointer_index) const OVERRIDE;
Dgesture_recognizer_impl.cc140 gfx::PointF point(pointer_state.GetX(j), pointer_state.GetY(j)); in GetTargetForLocation()
207 *point = gfx::PointF(pointer_state.GetX(), pointer_state.GetY()); in GetLastTouchPointForTarget()
Dmotion_event_aura.cc104 float MotionEventAura::GetY(size_t pointer_index) const { in GetY() function in ui::MotionEventAura
/external/chromium_org/ui/events/test/
Dmock_motion_event.cc114 float MockMotionEvent::GetY(size_t pointer_index) const { in GetY() function in ui::test::MockMotionEvent
123 return GetY(pointer_index) + raw_offset.y(); in GetRawY()
Dmock_motion_event.h50 virtual float GetY(size_t pointer_index) const OVERRIDE;
/external/chromium_org/content/browser/renderer_host/input/
Dmotion_event_web.h26 virtual float GetY(size_t pointer_index) const OVERRIDE;
Dmotion_event_android.cc243 float MotionEventAndroid::GetY(size_t pointer_index) const { in GetY() function in content::MotionEventAndroid
256 return GetY(pointer_index) + cached_raw_position_offset_.y(); in GetRawY()
Dmotion_event_android.h55 virtual float GetY(size_t pointer_index) const OVERRIDE;
Dmotion_event_web.cc88 float MotionEventWeb::GetY(size_t pointer_index) const { in GetY() function in content::MotionEventWeb
Dweb_input_event_util.cc188 touch.position.y = event.GetY(pointer_index); in CreateWebTouchPoint()