/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)); 51 velocity_x_ = velocity_x;
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | overscroll_controller.cc | 235 float velocity_x = gesture.data.flingStart.velocityX; local 237 if (fabs(velocity_x) > kFlingVelocityThreshold) { 238 if ((overscroll_mode_ == OVERSCROLL_WEST && velocity_x < 0) || 239 (overscroll_mode_ == OVERSCROLL_EAST && velocity_x > 0)) {
|
/external/chromium_org/content/common/input/ |
H A D | synthetic_web_input_event_builders.cc | 140 float velocity_x, 145 result.data.flingStart.velocityX = velocity_x; 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 | 60 float velocity_x() const { function in struct:ui::GestureEventDetails
|
/external/chromium_org/ui/events/gesture_detection/ |
H A D | gesture_detector.cc | 84 float velocity_x, 91 float velocity_x, 399 const float velocity_x = velocity_tracker_.GetXVelocity(pointer_id); local 402 (std::abs(velocity_x) > 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
|
H A D | gesture_provider.cc | 378 float velocity_x, 384 velocity_x = 0; 388 provider_->Fling(e2, velocity_x, velocity_y); 394 float velocity_x, 396 GestureEventDetails swipe_details(ET_GESTURE_SWIPE, velocity_x, velocity_y); 624 float velocity_x, 626 if (!velocity_x && !velocity_y) { 637 ET_GESTURE_SCROLL_BEGIN, velocity_x, velocity_y); 643 ET_SCROLL_FLING_START, velocity_x, velocity_y); 623 Fling(const MotionEvent& event, float velocity_x, float velocity_y) argument
|
/external/chromium_org/ui/gfx/android/ |
H A D | scroller.cc | 224 float velocity_x, 235 if (Signum(velocity_x) == Signum(old_velocity_x) && 237 velocity_x += old_velocity_x; 245 float velocity = std::sqrt(velocity_x * velocity_x + velocity_y * velocity_y); 255 float coeff_x = velocity == 0 ? 1.0f : velocity_x / 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 | 349 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); 667 float velocity_x, 670 sender_->GestureFlingStart(x, y, velocity_x, velocity_y); 1530 float velocity_x, 1540 event.data.flingStart.velocityX = velocity_x; 665 GestureFlingStart(float x, float y, float velocity_x, float velocity_y) argument 1528 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 | 183 float velocity_x() const { return velocity_x_; } function in class:aura::test::__anon15848::GestureEventConsumeDelegate 255 EXPECT_TRUE(gesture->details().velocity_x() != 0 || 259 velocity_x_ = gesture->details().velocity_x(); 1242 EXPECT_GT(delegate->velocity_x(), 0); 1288 EXPECT_EQ(0, delegate->velocity_x()); 1326 EXPECT_GT(delegate->velocity_x(), 0);
|
/external/chromium_org/ui/events/gestures/ |
H A D | gesture_sequence.cc | 1372 float velocity_x = 0.f, velocity_y = 0.f; local 1383 velocity_x = points_[i].XVelocity(); 1385 sign_x = velocity_x < 0.f ? -1 : 1; 1398 velocity_x += points_[i].XVelocity(); 1404 velocity_x = fabs(velocity_x / point_count_); 1406 if (velocity_x < min_velocity) 1415 velocity_x = 0.001f; 1419 float ratio = velocity_x > velocity_y ? velocity_x / velocity_ [all...] |