/external/chromium_org/content/test/ |
H A D | web_gesture_curve_mock.cc | 11 WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity, argument 13 : velocity_(velocity), 26 blink::WebFloatSize velocity(velocity_.x, velocity_.y); 29 target->scrollBy(increment, velocity);
|
H A D | web_gesture_curve_mock.h | 13 // A simple class for mocking a WebGestureCurve. The curve flings at velocity 17 WebGestureCurveMock(const blink::WebFloatPoint& velocity,
|
/external/chromium_org/content/child/ |
H A D | fling_animator_impl_android.cc | 38 void FlingAnimatorImpl::StartFling(const gfx::PointF& velocity) { argument 43 DCHECK(velocity.x() || velocity.y()); 50 velocity.x(), 51 velocity.y(), 94 const blink::WebFloatPoint& velocity, 97 gesture_curve->StartFling(velocity); 93 CreateAndroidGestureCurve( const blink::WebFloatPoint& velocity, const blink::WebSize&) argument
|
H A D | fling_animator_impl_android.h | 27 const blink::WebFloatPoint& velocity, 33 void StartFling(const gfx::PointF& velocity);
|
H A D | touch_fling_gesture_curve.cc | 40 inline double velocity(double t) { function in namespace:__anon7517 56 // curve, which starts at a large velocity and smoothly decreases to 57 // zero. For a given input velocity, we find where on the curve this 58 // velocity occurs, and start the animation at this point---denoted by 62 // that scales with input velocity, as faster initial velocities start 66 // Since the starting velocity is implicitly determined by our starting 71 // velocities that lie outside the max velocity are constrained to start 76 // position/velocity estimates outside this range are undefined. 91 // Curve ends when velocity reaches zero. 100 // velocity, o [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebGestureCurveTarget.h | 35 virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) = 0;
|
H A D | WebFlingAnimator.h | 39 virtual void startFling(const WebFloatPoint& velocity, const WebRect& range) = 0;
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | NPCAnimationComponent.java | 125 final Vector2 velocity = parentObject.getVelocity(); 126 if (velocity.y < FALL_SPEED_THRESHOLD) { 137 final Vector2 velocity = parentObject.getVelocity(); 138 if (velocity.y > JUMP_SPEED_THRESHOLD) { 148 final Vector2 velocity = parentObject.getVelocity(); 149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) { 158 final Vector2 velocity = parentObject.getVelocity(); 161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall()) 162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) { 193 final Vector2 velocity [all...] |
H A D | Interpolator.java | 20 * Helper class for interpolating velocity over time given a target velocity and acceleration. 21 * The current velocity will be accelerated towards the target until the target is reached. 23 * the target velocity. 35 // Rather than simply interpolating acceleration and velocity for each time step 36 // (as in, position += (velocity * time); velocity += (acceleration * time);), 37 // we actually perform the work needed to calculate the integral of velocity with respect to 40 // The integral of velocity is: 49 // change in position = velocity * tim 106 calculateAcceleration(float velocity, float acceleration, float target) argument [all...] |
/external/chromium_org/ui/events/gesture_detection/ |
H A D | velocity_tracker_state.cc | 12 // Special constant to request the velocity of the active pointer. 61 Velocity& velocity = calculated_velocity_[index]; local 62 velocity.vx = vx; 63 velocity.vy = vy; 90 const Velocity& velocity = calculated_velocity_[index]; local 91 vx = velocity.vx; 92 vy = velocity.vy;
|
/external/chromium_org/ui/events/gestures/ |
H A D | fling_curve.cc | 37 FlingCurve::FlingCurve(const gfx::Vector2dF& velocity, argument 43 float max_start_velocity = std::max(fabs(velocity.x()), fabs(velocity.y())); 48 displacement_ratio_ = gfx::Vector2dF(velocity.x() / max_start_velocity, 49 velocity.y() / max_start_velocity);
|
H A D | fling_curve_unittest.cc | 13 const gfx::Vector2dF velocity(0, 5000); 15 FlingCurve curve(velocity, now);
|
H A D | fling_curve.h | 19 FlingCurve(const gfx::Vector2dF& velocity, base::TimeTicks start_timestamp);
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
H A D | goose.h | 13 // A Goose. Each goose has a location and a velocity. Implements the 19 // Initialize a Goose at location (0, 0) no velocity. 22 // Initialize a Goose at the given location with the specified velocity. 23 Goose(const Vector2& location, const Vector2& velocity); 27 // by integrating acceleration and velocity. 66 Vector2 velocity() const { function in class:Goose 90 // is the average velocity of the neighbours. Only consider geese that are
|
/external/chromium_org/ui/app_list/ |
H A D | pagination_controller.cc | 75 float velocity = scroll_axis_ == SCROLL_AXIS_HORIZONTAL local 79 if (fabs(velocity) > kMinHorizVelocityToSwitchPage) 80 pagination_model_->SelectPageRelative(velocity < 0 ? 1 : -1, true);
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
H A D | ContentViewScrollingTest.java | 155 // Scaling the initial velocity by the device scale factor ensures that 159 int velocity = (int) (1000 * deviceScaleFactor); 162 fling(0, -velocity); 166 fling(-velocity, 0); 170 fling(0, velocity); 174 fling(velocity, 0); 178 fling(-velocity, -velocity);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | AudioListener.cpp | 138 void AudioListener::setVelocity(const FloatPoint3D &velocity) argument 140 if (m_velocity == velocity) 145 m_velocity = velocity;
|
/external/chromium_org/ui/gfx/android/ |
H A D | scroller.h | 49 // depend on the initial velocity of the fling. 108 double GetSplineDeceleration(float velocity) const; 109 base::TimeDelta GetSplineFlingDuration(float velocity) const; 110 double GetSplineFlingDistance(float velocity) const;
|
H A D | scroller.cc | 245 float velocity = std::sqrt(velocity_x * velocity_x + velocity_y * velocity_y); local 247 velocity_ = velocity; 248 duration_ = GetSplineFlingDuration(velocity); 255 float coeff_x = velocity == 0 ? 1.0f : velocity_x / velocity; 256 float coeff_y = velocity == 0 ? 1.0f : velocity_y / velocity; 258 double total_distance = GetSplineFlingDistance(velocity); 259 distance_ = total_distance * Signum(velocity); 419 double Scroller::GetSplineDeceleration(float velocity) cons [all...] |
/external/chromium_org/content/renderer/input/ |
H A D | input_handler_proxy_client.h | 31 // with |velocity| and already scrolled |cumulative_scroll| pixels. 34 const blink::WebFloatPoint& velocity,
|
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon30867
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon30917
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon30969
|
/external/chromium_org/content/browser/android/ |
H A D | overscroll_glow.cc | 108 gfx::Vector2dF velocity, 139 velocity = ZeroSmallComponents(velocity); 140 if (!velocity.IsZero()) 141 Absorb(current_time, velocity, x_overscroll_started, y_overscroll_started); 264 const gfx::Vector2dF& velocity, 268 DCHECK(!velocity.IsZero()); 270 // Only trigger on initial overscroll at a non-zero velocity 272 y_overscroll_started ? min(velocity.y(), 0.f) : 0, // Top 273 x_overscroll_started ? min(velocity 104 OnOverscrolled(cc::Layer* overscrolling_layer, base::TimeTicks current_time, gfx::Vector2dF accumulated_overscroll, gfx::Vector2dF overscroll_delta, gfx::Vector2dF velocity, gfx::Vector2dF displacement) argument 263 Absorb(base::TimeTicks current_time, const gfx::Vector2dF& velocity, bool x_overscroll_started, bool y_overscroll_started) argument [all...] |
H A D | overscroll_glow.h | 51 // |velocity| is in device pixels / second. 57 gfx::Vector2dF velocity, 85 const gfx::Vector2dF& velocity,
|