/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
H A D | MotionAllowedListener.java | 40 * Check if motion allowed. Modify position and velocity vectors 44 * @param velocity 46 public void checkMotionAllowed(Vector3f position, Vector3f velocity); argument
|
H A D | SweepSphere.java | 45 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 D | Listener.java | 41 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 D | fling_curve_configuration.cc | 29 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 D | fling_animator_impl_android.cc | 40 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 D | fling_curve_configuration.h | 29 const blink::WebFloatPoint& velocity, 34 const blink::WebFloatPoint& velocity, 45 const blink::WebFloatPoint& velocity,
|
H A D | fling_animator_impl_android.h | 28 const blink::WebFloatPoint& velocity, 37 void StartFling(const gfx::PointF& velocity);
|
H A D | webkitplatformsupport_child_impl.cc | 46 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 D | touch_fling_gesture_curve.cc | 31 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 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/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
H A D | NewtonianParticleInfluencer.java | 14 * 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 D | web_gesture_curve_mock.cc | 11 WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity, argument 13 : velocity_(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/third_party/WebKit/public/platform/ |
H A D | WebFlingAnimator.h | 39 virtual void startFling(const WebFloatPoint& velocity, const WebRect& range) = 0;
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
H A D | Particle.java | 46 * 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 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/content/browser/android/ |
H A D | overscroll_glow.cc | 112 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 D | overscroll_glow.h | 47 // |velocity| is the instantaneous velocity for the overscroll. 52 gfx::Vector2dF velocity); 84 gfx::Vector2dF velocity,
|
/external/chromium_org/content/renderer/input/ |
H A D | input_handler_proxy_client.h | 29 // with |velocity| and already scrolled |cumulative_scroll| pixels. 32 const blink::WebFloatPoint& velocity,
|
H A D | input_handler_wrapper.cc | 48 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 D | AudioListener.h | 68 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 D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon26588
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon26638
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon26690
|