/external/chromium_org/ui/views/animation/ |
D | scroll_animator.cc | 46 void ScrollAnimator::Start(float velocity_x, float velocity_y) { in Start() argument 49 float v = std::max(fabs(velocity_x), fabs(velocity_y)); in Start() 52 velocity_y_ = velocity_y; in Start()
|
D | scroll_animator.h | 37 void Start(float velocity_x, float velocity_y);
|
/external/chromium_org/ui/events/gesture_detection/ |
D | gesture_detector.h | 85 float velocity_y) = 0; 90 float velocity_y) = 0; 122 float velocity_y) OVERRIDE; 126 float velocity_y) OVERRIDE;
|
D | gesture_detector.cc | 85 float velocity_y) { in OnFling() argument 92 float velocity_y) { in OnSwipe() argument 398 const float velocity_y = velocity_tracker_.GetYVelocity(pointer_id); in OnTouchEvent() local 401 if ((std::abs(velocity_y) > min_fling_velocity_) || in OnTouchEvent() 404 *current_down_event_, ev, velocity_x, velocity_y); in OnTouchEvent() 407 handled |= HandleSwipeIfNeeded(ev, velocity_x, velocity_y); in OnTouchEvent()
|
D | gesture_provider.cc | 350 float velocity_y) OVERRIDE { in OnFling() argument 353 velocity_y = 0; in OnFling() 359 if (!velocity_x && !velocity_y) in OnFling() 367 ET_GESTURE_SCROLL_BEGIN, velocity_x, velocity_y); in OnFling() 372 ET_SCROLL_FLING_START, velocity_x, velocity_y); in OnFling() 380 float velocity_y) OVERRIDE { in OnSwipe() argument 381 GestureEventDetails swipe_details(ET_GESTURE_SWIPE, velocity_x, velocity_y); in OnSwipe()
|
/external/chromium_org/ui/gfx/android/ |
D | scroller.cc | 225 float velocity_y, in Fling() argument 236 Signum(velocity_y) == Signum(old_velocity_y)) { in Fling() 238 velocity_y += old_velocity_y; in Fling() 245 float velocity = std::sqrt(velocity_x * velocity_x + velocity_y * velocity_y); in Fling() 256 float coeff_y = velocity == 0 ? 1.0f : velocity_y / velocity; in Fling()
|
D | scroller.h | 53 float velocity_y,
|
/external/chromium_org/content/browser/renderer_host/ |
D | overscroll_controller.cc | 234 float velocity_y = gesture.data.flingStart.velocityY; in ProcessEventForOverscroll() local 242 } else if (fabs(velocity_y) > kFlingVelocityThreshold) { in ProcessEventForOverscroll() 243 if ((overscroll_mode_ == OVERSCROLL_NORTH && velocity_y < 0) || in ProcessEventForOverscroll() 244 (overscroll_mode_ == OVERSCROLL_SOUTH && velocity_y > 0)) { in ProcessEventForOverscroll()
|
D | ui_events_helper.cc | 204 gesture_event.data.flingStart.velocityY = event.details().velocity_y(); in MakeWebGestureEventFromUIEvent()
|
/external/chromium_org/athena/home/ |
D | home_card_gesture_manager.cc | 71 bool is_fling = ::fabs(details.velocity_y()) > kFlingCompletionVelocity; in ProcessGestureEvent() 73 if (details.velocity_y() > 0) { in ProcessGestureEvent()
|
/external/chromium_org/athena/wm/ |
D | title_drag_controller.cc | 134 bool swipe_downwards = gesture->details().velocity_y() > 0; in OnGestureEvent() 139 gesture->details().velocity_y() >= kMinDragVelocityForSwitch)); in OnGestureEvent()
|
D | window_overview_mode.cc | 406 event.details().velocity_y()); in CreateFlingerFor()
|
/external/chromium_org/ui/app_list/ |
D | pagination_controller.cc | 77 : details.velocity_y(); in OnGestureEvent()
|
/external/chromium_org/content/common/input/ |
D | synthetic_web_input_event_builders.cc | 141 float velocity_y, in BuildFling() argument 146 result.data.flingStart.velocityY = velocity_y; in BuildFling()
|
D | synthetic_web_input_event_builders.h | 57 float velocity_y,
|
/external/chromium_org/ash/wm/gestures/ |
D | tray_gesture_handler.cc | 86 event.details().velocity_y() > -kMinThresholdGestureFling) in CompleteGestureDrag()
|
/external/chromium_org/ui/events/ |
D | gesture_event_details.h | 72 float velocity_y() const { in velocity_y() function
|
/external/chromium_org/ui/views/controls/menu/ |
D | submenu_view.cc | 297 if (event->details().velocity_y() != 0.0f) in OnGestureEvent() 298 scroll_animator_->Start(0, event->details().velocity_y()); in OnGestureEvent()
|
/external/chromium_org/ash/wm/ |
D | toplevel_window_event_handler.cc | 329 if (event->details().velocity_y() > kMinVertVelocityForWindowMinimize) { in OnGestureEvent() 331 } else if (event->details().velocity_y() < in OnGestureEvent()
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | event_sender.h | 115 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y);
|
D | event_sender.cc | 372 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y); 691 float velocity_y) { in GestureFlingStart() argument 693 sender_->GestureFlingStart(x, y, velocity_x, velocity_y); in GestureFlingStart() 1561 float velocity_y) { in GestureFlingStart() argument 1571 event.data.flingStart.velocityY = velocity_y; in GestureFlingStart()
|
/external/chromium_org/ash/shelf/ |
D | shelf_layout_manager.cc | 461 should_change = horizontal ? fabs(gesture.details().velocity_y()) > 0 : in CompleteGestureDrag() 465 gesture.details().velocity_y() < 0, in CompleteGestureDrag() 468 gesture.details().velocity_y() > 0); in CompleteGestureDrag()
|
/external/chromium_org/ui/views/controls/scrollbar/ |
D | base_scroll_bar.cc | 260 IsHorizontal() ? 0.f : event->details().velocity_y()); in OnGestureEvent()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | web_input_event_util.cc | 345 gesture.data.flingStart.velocityY = data.details.velocity_y(); in CreateWebGestureEventFromGestureEventData()
|
/external/chromium_org/ui/aura/gestures/ |
D | gesture_recognizer_unittest.cc | 184 float velocity_y() const { return velocity_y_; } in velocity_y() function in aura::test::__anonfebb0a910111::GestureEventConsumeDelegate 256 gesture->details().velocity_y() != 0); in OnGestureEvent() 260 velocity_y_ = gesture->details().velocity_y(); in OnGestureEvent() 1184 EXPECT_EQ(0, delegate->velocity_y()); in TEST_F() 1236 EXPECT_GT(delegate->velocity_y(), 0); in TEST_F() 1280 EXPECT_GT(delegate->velocity_y(), 0); in TEST_F()
|