Searched defs:velocity_y (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/ui/views/animation/
H A Dscroll_animator.cc46 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 Doverscroll_controller.cc234 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 Dsynthetic_web_input_event_builders.cc141 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 Dgesture_event_details.h72 float velocity_y() const { function in struct:ui::GestureEventDetails
/external/chromium_org/ui/events/gesture_detection/
H A Dgesture_detector.cc85 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 Dscroller.cc225 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 Devent_sender.cc372 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 Dgesture_recognizer_unittest.cc184 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);

Completed in 3215 milliseconds