/external/chromium_org/ui/views/animation/ |
H A D | scroll_animator.cc | 46 void ScrollAnimator::Start(float velocity_x, float velocity_y) { argument 49 float v = std::max(fabs(velocity_x), fabs(velocity_y)); 52 velocity_y_ = velocity_y;
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | overscroll_controller.cc | 234 float velocity_y = gesture.data.flingStart.velocityY; local 242 } else if (fabs(velocity_y) > kFlingVelocityThreshold) { 243 if ((overscroll_mode_ == OVERSCROLL_NORTH && velocity_y < 0) || 244 (overscroll_mode_ == OVERSCROLL_SOUTH && velocity_y > 0)) {
|
/external/chromium_org/content/common/input/ |
H A D | synthetic_web_input_event_builders.cc | 141 float velocity_y, 146 result.data.flingStart.velocityY = velocity_y; 139 BuildFling( float velocity_x, float velocity_y, blink::WebGestureDevice source_device) argument
|
/external/chromium_org/ui/events/ |
H A D | gesture_event_details.h | 72 float velocity_y() const { function in struct:ui::GestureEventDetails
|
/external/chromium_org/ui/events/gesture_detection/ |
H A D | gesture_detector.cc | 85 float velocity_y) { 92 float velocity_y) { 398 const float velocity_y = velocity_tracker_.GetYVelocity(pointer_id); local 401 if ((std::abs(velocity_y) > min_fling_velocity_) || 404 *current_down_event_, ev, velocity_x, velocity_y); 407 handled |= HandleSwipeIfNeeded(ev, velocity_x, velocity_y); 82 OnFling(const MotionEvent& e1, const MotionEvent& e2, float velocity_x, float velocity_y) argument 89 OnSwipe(const MotionEvent& e1, const MotionEvent& e2, float velocity_x, float velocity_y) argument
|
/external/chromium_org/ui/gfx/android/ |
H A D | scroller.cc | 225 float velocity_y, 236 Signum(velocity_y) == Signum(old_velocity_y)) { 238 velocity_y += old_velocity_y; 245 float velocity = std::sqrt(velocity_x * velocity_x + velocity_y * velocity_y); 256 float coeff_y = velocity == 0 ? 1.0f : velocity_y / velocity; 222 Fling(float start_x, float start_y, float velocity_x, float velocity_y, float min_x, float max_x, float min_y, float max_y, base::TimeTicks start_time) argument
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | event_sender.cc | 372 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); 691 float velocity_y) { 693 sender_->GestureFlingStart(x, y, velocity_x, velocity_y); 1561 float velocity_y) { 1571 event.data.flingStart.velocityY = velocity_y; 688 GestureFlingStart(float x, float y, float velocity_x, float velocity_y) argument 1558 GestureFlingStart(float x, float y, float velocity_x, float velocity_y) argument
|
/external/chromium_org/ui/aura/gestures/ |
H A D | gesture_recognizer_unittest.cc | 184 float velocity_y() const { return velocity_y_; } function in class:aura::test::__anon16578::GestureEventConsumeDelegate 256 gesture->details().velocity_y() != 0); 260 velocity_y_ = gesture->details().velocity_y(); 1184 EXPECT_EQ(0, delegate->velocity_y()); 1236 EXPECT_GT(delegate->velocity_y(), 0); 1280 EXPECT_GT(delegate->velocity_y(), 0);
|