Home
last modified time | relevance | path

Searched refs:velocity_y (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/ui/views/animation/
Dscroll_animator.cc46 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()
Dscroll_animator.h37 void Start(float velocity_x, float velocity_y);
/external/chromium_org/ui/events/gesture_detection/
Dgesture_detector.h85 float velocity_y) = 0;
90 float velocity_y) = 0;
122 float velocity_y) OVERRIDE;
126 float velocity_y) OVERRIDE;
Dgesture_detector.cc85 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()
Dgesture_provider.cc350 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/
Dscroller.cc225 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()
Dscroller.h53 float velocity_y,
/external/chromium_org/content/browser/renderer_host/
Doverscroll_controller.cc234 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()
Dui_events_helper.cc204 gesture_event.data.flingStart.velocityY = event.details().velocity_y(); in MakeWebGestureEventFromUIEvent()
/external/chromium_org/athena/home/
Dhome_card_gesture_manager.cc71 bool is_fling = ::fabs(details.velocity_y()) > kFlingCompletionVelocity; in ProcessGestureEvent()
73 if (details.velocity_y() > 0) { in ProcessGestureEvent()
/external/chromium_org/athena/wm/
Dtitle_drag_controller.cc134 bool swipe_downwards = gesture->details().velocity_y() > 0; in OnGestureEvent()
139 gesture->details().velocity_y() >= kMinDragVelocityForSwitch)); in OnGestureEvent()
Dwindow_overview_mode.cc406 event.details().velocity_y()); in CreateFlingerFor()
/external/chromium_org/ui/app_list/
Dpagination_controller.cc77 : details.velocity_y(); in OnGestureEvent()
/external/chromium_org/content/common/input/
Dsynthetic_web_input_event_builders.cc141 float velocity_y, in BuildFling() argument
146 result.data.flingStart.velocityY = velocity_y; in BuildFling()
Dsynthetic_web_input_event_builders.h57 float velocity_y,
/external/chromium_org/ash/wm/gestures/
Dtray_gesture_handler.cc86 event.details().velocity_y() > -kMinThresholdGestureFling) in CompleteGestureDrag()
/external/chromium_org/ui/events/
Dgesture_event_details.h72 float velocity_y() const { in velocity_y() function
/external/chromium_org/ui/views/controls/menu/
Dsubmenu_view.cc297 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/
Dtoplevel_window_event_handler.cc329 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/
Devent_sender.h115 void GestureFlingStart(float x, float y, float velocity_x, float velocity_y);
Devent_sender.cc372 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/
Dshelf_layout_manager.cc461 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/
Dbase_scroll_bar.cc260 IsHorizontal() ? 0.f : event->details().velocity_y()); in OnGestureEvent()
/external/chromium_org/content/browser/renderer_host/input/
Dweb_input_event_util.cc345 gesture.data.flingStart.velocityY = data.details.velocity_y(); in CreateWebGestureEventFromGestureEventData()
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc184 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()