Searched refs:velocity (Results 1 - 25 of 83) sorted by relevance

1234

/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DMotionAllowedListener.java40 * Check if motion allowed. Modify position and velocity vectors
44 * @param velocity
46 public void checkMotionAllowed(Vector3f position, Vector3f velocity); argument
H A DSweepSphere.java45 private Vector3f velocity = new Vector3f(); field in class:SweepSphere
86 return velocity;
89 public void setVelocity(Vector3f velocity) { argument
90 this.velocity.set(velocity);
146 // A = velocity * velocity
147 // B = 2 * (velocity . (center - vertex));
203 // Vector3f sVelocity = velocity.mult(invDim);
205 velocity
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
H A DListener.java41 private Vector3f velocity; field in class:Listener
48 velocity = new Vector3f();
54 velocity = source.velocity.clone();
82 return velocity;
109 public void setVelocity(Vector3f velocity) { argument
110 this.velocity.set(velocity);
/external/chromium_org/webkit/child/
H A Dfling_curve_configuration.cc29 const blink::WebFloatPoint& velocity,
40 return TouchFlingGestureCurve::Create(velocity, p0, p1, p2, cumulativeScroll);
44 const blink::WebFloatPoint& velocity,
46 return CreateCore(touchpad_coefs_, velocity, cumulativeScroll);
50 const blink::WebFloatPoint& velocity,
52 return CreateCore(touchscreen_coefs_, velocity, cumulativeScroll);
27 CreateCore( const std::vector<float>& coefs, const blink::WebFloatPoint& velocity, const blink::WebSize& cumulativeScroll) argument
43 CreateForTouchPad( const blink::WebFloatPoint& velocity, const blink::WebSize& cumulativeScroll) argument
49 CreateForTouchScreen( const blink::WebFloatPoint& velocity, const blink::WebSize& cumulativeScroll) argument
H A Dfling_animator_impl_android.cc40 void FlingAnimatorImpl::StartFling(const gfx::PointF& velocity) argument
46 DCHECK(velocity.x() || velocity.y());
52 last_velocity_ = velocity;
58 static_cast<int>(velocity.x()),
59 static_cast<int>(velocity.y()),
95 // vector velocity.
116 // Currently, the OverScroller only provides the velocity magnitude; use the
117 // angle of the scroll delta to yield approximate x and y velocity components.
118 // TODO(jdduke): Remove this when we can properly poll OverScroller velocity
123 float velocity = GetCurrentVelocity(); local
140 CreateAndroidGestureCurve( const blink::WebFloatPoint& velocity, const blink::WebSize&) argument
[all...]
H A Dfling_curve_configuration.h29 const blink::WebFloatPoint& velocity,
34 const blink::WebFloatPoint& velocity,
45 const blink::WebFloatPoint& velocity,
H A Dfling_animator_impl_android.h28 const blink::WebFloatPoint& velocity,
37 void StartFling(const gfx::PointF& velocity);
H A Dwebkitplatformsupport_child_impl.cc46 const blink::WebFloatPoint& velocity,
49 return FlingAnimatorImpl::CreateAndroidGestureCurve(velocity,
54 return fling_curve_configuration_->CreateForTouchScreen(velocity,
57 return fling_curve_configuration_->CreateForTouchPad(velocity,
44 createFlingAnimationCurve( int device_source, const blink::WebFloatPoint& velocity, const blink::WebSize& cumulative_scroll) argument
H A Dtouch_fling_gesture_curve.cc31 inline double velocity(double t, float* p) { function in namespace:__anon15733
47 // curve, which starts at a large velocity and smoothly decreases to
48 // zero. For a given input velocity, we find where on the curve this
49 // velocity occurs, and start the animation at this point---denoted by
53 // that scales with input velocity, as faster initial velocities start
57 // Since the starting velocity is implicitly determined by our starting
62 // velocities that lie outside the max velocity are constrained to start
67 // position/velocity estimates outside this range are undefined.
93 // Curve ends when velocity reaches zero.
102 // velocity, o
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DNPCAnimationComponent.java125 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 DInterpolator.java20 * 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/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/
H A DNewtonianParticleInfluencer.java14 * This influencer calculates initial velocity with the use of the emitter's shape.
27 * Constructor. Sets velocity variation to 0.0f.
35 emitterShape.getRandomPointAndNormal(particle.position, particle.velocity);
36 // influencing the particle's velocity
38 particle.velocity.multLocal(normalVelocity);
40 // calculating surface tangent (velocity contains the 'normal' value)
41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor);
44 m.fromAngleNormalAxis(FastMath.PI * surfaceTangentRotation, particle.velocity);
[all...]
/external/chromium_org/content/test/
H A Dweb_gesture_curve_mock.cc11 WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity, argument
13 : velocity_(velocity),
H A Dweb_gesture_curve_mock.h13 // A simple class for mocking a WebGestureCurve. The curve flings at velocity
17 WebGestureCurveMock(const blink::WebFloatPoint& velocity,
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebFlingAnimator.h39 virtual void startFling(const WebFloatPoint& velocity, const WebRect& range) = 0;
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
H A DParticle.java46 * Particle velocity.
48 public final Vector3f velocity = new Vector3f(); field in class:Particle
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dgoose.h13 // 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/content/browser/android/
H A Doverscroll_glow.cc112 gfx::Vector2dF velocity) {
125 velocity.set_x(0);
129 velocity.set_y(0);
134 velocity = ZeroSmallComponents(velocity);
147 if (!velocity.IsZero()) {
149 if (velocity.x() * old_velocity_.x() < 0)
151 if (velocity.y() * old_velocity_.y() < 0)
154 Absorb(current_time, velocity, overscroll, old_overscroll_);
167 old_velocity_ = velocity;
109 OnOverscrolled(cc::Layer* overscrolling_layer, base::TimeTicks current_time, gfx::Vector2dF overscroll, gfx::Vector2dF velocity) argument
281 Absorb(base::TimeTicks current_time, gfx::Vector2dF velocity, gfx::Vector2dF overscroll, gfx::Vector2dF old_overscroll) argument
[all...]
H A Doverscroll_glow.h47 // |velocity| is the instantaneous velocity for the overscroll.
52 gfx::Vector2dF velocity);
84 gfx::Vector2dF velocity,
/external/chromium_org/content/renderer/input/
H A Dinput_handler_proxy_client.h29 // with |velocity| and already scrolled |cumulative_scroll| pixels.
32 const blink::WebFloatPoint& velocity,
H A Dinput_handler_wrapper.cc48 const blink::WebFloatPoint& velocity,
51 deviceSource, velocity, cumulative_scroll);
46 CreateFlingAnimationCurve( int deviceSource, const blink::WebFloatPoint& velocity, const blink::WebSize& cumulative_scroll) argument
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioListener.h68 void setVelocity(const FloatPoint3D &velocity) { m_velocity = velocity; } argument
69 const FloatPoint3D& velocity() const { return m_velocity; } function in class:WebCore::AudioListener
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_otadata.h74 EAS_U8 velocity; /* current volume */ member in struct:__anon26588
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_otadata.h74 EAS_U8 velocity; /* current volume */ member in struct:__anon26638
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_otadata.h74 EAS_U8 velocity; /* current volume */ member in struct:__anon26690

Completed in 1679 milliseconds

1234