/external/chromium_org/third_party/WebKit/public/platform/ |
WebFlingAnimator.h | 39 virtual void startFling(const WebFloatPoint& velocity, const WebRect& range) = 0;
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
MotionAllowedListener.java | 40 * Check if motion allowed. Modify position and velocity vectors 44 * @param velocity 46 public void checkMotionAllowed(Vector3f position, Vector3f velocity);
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
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) { 110 this.velocity.set(velocity); 112 renderer.updateListenerParam(this, ListenerParam.Velocity);
|
/external/chromium_org/webkit/child/ |
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);
|
fling_animator_impl_android.cc | 40 void FlingAnimatorImpl::StartFling(const gfx::PointF& velocity) 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 [all...] |
fling_curve_configuration.h | 29 const blink::WebFloatPoint& velocity, 34 const blink::WebFloatPoint& velocity, 45 const blink::WebFloatPoint& velocity,
|
fling_animator_impl_android.h | 28 const blink::WebFloatPoint& velocity, 37 void StartFling(const gfx::PointF& velocity);
|
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,
|
/external/replicaisland/src/com/replica/replicaisland/ |
NPCAnimationComponent.java | 125 final Vector2 velocity = parentObject.getVelocity(); local 126 if (velocity.y < FALL_SPEED_THRESHOLD) { 137 final Vector2 velocity = parentObject.getVelocity(); local 138 if (velocity.y > JUMP_SPEED_THRESHOLD) { 148 final Vector2 velocity = parentObject.getVelocity(); local 149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) { 158 final Vector2 velocity = parentObject.getVelocity(); local 161 if ((velocity.x < 0.0f && parentObject.touchingLeftWall()) 162 || (velocity.x > 0.0f && parentObject.touchingRightWall())) { 193 final Vector2 velocity = parentObject.getVelocity() local 219 final Vector2 velocity = parentObject.getVelocity(); local 256 final Vector2 velocity = parentObject.getVelocity(); local 292 final Vector2 velocity = parentObject.getVelocity(); local 303 final Vector2 velocity = parentObject.getVelocity(); local 321 final Vector2 velocity = parentObject.getVelocity(); local [all...] |
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 * time + (0.5 * acceleration * (time^2) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/ |
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/ |
web_gesture_curve_mock.cc | 11 WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity, 13 : velocity_(velocity),
|
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/renderer/input/ |
input_handler_proxy_client.h | 29 // with |velocity| and already scrolled |cumulative_scroll| pixels. 32 const blink::WebFloatPoint& velocity,
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
Particle.java | 46 * Particle velocity. 48 public final Vector3f velocity = new Vector3f(); field in class:Particle
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SmoothPagedView.java | 119 protected void snapToPageWithVelocity(int whichPage, int velocity) { 121 super.snapToPageWithVelocity(whichPage, velocity); 127 private void snapToPageWithVelocity(int whichPage, int velocity, boolean settle) { 147 velocity = Math.abs(velocity); 148 if (velocity > 0) { 149 duration += (duration / (velocity / mBaseLineFlingVelocity)) * mFlingVelocityInfluence;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
SmoothPagedView.java | 116 protected void snapToPageWithVelocity(int whichPage, int velocity) { 118 super.snapToPageWithVelocity(whichPage, velocity); 124 private void snapToPageWithVelocity(int whichPage, int velocity, boolean settle) { 144 velocity = Math.abs(velocity); 145 if (velocity > 0) { 146 duration += (duration / (velocity / mBaseLineFlingVelocity)) * mFlingVelocityInfluence;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
EdgeEffectCompat.java | 51 public boolean onAbsorb(Object edgeEffect, int velocity); 81 public boolean onAbsorb(Object edgeEffect, int velocity) { 115 public boolean onAbsorb(Object edgeEffect, int velocity) { 116 return EdgeEffectCompatIcs.onAbsorb(edgeEffect, velocity); 193 * Call when the effect absorbs an impact at the given velocity. 200 * @param velocity Velocity at impact in pixels per second. 203 public boolean onAbsorb(int velocity) { 204 return IMPL.onAbsorb(mEdgeEffect, velocity);
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
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
|
/frameworks/support/v4/ics/android/support/v4/widget/ |
EdgeEffectCompatIcs.java | 56 public static boolean onAbsorb(Object edgeEffect, int velocity) { 57 ((EdgeEffect) edgeEffect).onAbsorb(velocity);
|
/external/chromium_org/content/browser/android/ |
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; [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioListener.h | 66 // Velocity 68 void setVelocity(const FloatPoint3D &velocity) { m_velocity = velocity; } 69 const FloatPoint3D& velocity() const { return m_velocity; } function in class:WebCore::AudioListener
|
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 85 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 102 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 171 * Returns the absolute value of the current velocity. 173 * @return The original velocity less the deceleration, norm of the X and Y velocity vector. 408 * depend on the initial velocity of the fling. 412 * @param velocityX Initial velocity of the fling (X) measured in pixels per 414 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 550 // Initial velocity 553 // Current velocity [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 89 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 106 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 175 * Returns the absolute value of the current velocity. 177 * @return The original velocity less the deceleration, norm of the X and Y velocity vector. 412 * depend on the initial velocity of the fling. 416 * @param velocityX Initial velocity of the fling (X) measured in pixels per 418 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 554 // Initial velocity 557 // Current velocity [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 87 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 104 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value 173 * Returns the absolute value of the current velocity. 175 * @return The original velocity less the deceleration, norm of the X and Y velocity vector. 410 * depend on the initial velocity of the fling. 414 * @param velocityX Initial velocity of the fling (X) measured in pixels per 416 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 552 // Initial velocity 555 // Current velocity [all...] |