/external/quake/quake/src/QW/client/ |
view.h | 30 float V_CalcRoll (vec3_t angles, vec3_t velocity);
|
pmove.c | 124 VectorCopy (pmove.velocity, original_velocity); 125 VectorCopy (pmove.velocity, primal_velocity); 133 end[i] = pmove.origin[i] + time_left * pmove.velocity[i]; 139 VectorCopy (vec3_origin, pmove.velocity); 170 VectorCopy (vec3_origin, pmove.velocity); 182 PM_ClipVelocity (original_velocity, planes[i], pmove.velocity, 1); 186 if (DotProduct (pmove.velocity, planes[j]) < 0) 200 // Con_Printf ("clip velocity, numplanes == %i\n",numplanes); 201 VectorCopy (vec3_origin, pmove.velocity); 205 d = DotProduct (dir, pmove.velocity); [all...] |
cl_pred.c | 83 VectorCopy (from->velocity, pmove.velocity); 99 VectorCopy (pmove.velocity, to->velocity); 157 VectorCopy (from->playerstate[cl.playernum].velocity, cl.simvel); 200 VectorCopy (to->playerstate[cl.playernum].velocity, cl.simvel); 209 cl.simvel[i] = from->playerstate[cl.playernum].velocity[i] 210 + f*(to->playerstate[cl.playernum].velocity[i] - from->playerstate[cl.playernum].velocity[i]);
|
/external/quake/quake/src/WinQuake/ |
view.h | 33 float V_CalcRoll (vec3_t angles, vec3_t velocity);
|
sv_user.cpp | 38 float *velocity; variable 130 vel = velocity; 179 VectorSubtract (wishvel, velocity, pushvec); 187 velocity[i] += accelspeed*pushvec[i]; 195 currentspeed = DotProduct (velocity, wishdir); 204 velocity[i] += accelspeed*wishdir[i]; 215 currentspeed = DotProduct (velocity, wishveloc); 225 velocity[i] += accelspeed*wishveloc[i]; 277 speed = Length (velocity); 283 VectorScale (velocity, newspeed/speed, velocity) [all...] |
sv_phys.cpp | 95 // bound velocity 99 if (IS_NAN(ent->u.v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", pr_strings + ent->u.v.classname); 102 ent->u.v.velocity[i] = 0; 109 if (ent->u.v.velocity[i] > sv_maxvelocity.value) 110 ent->u.v.velocity[i] = sv_maxvelocity.value; 111 else if (ent->u.v.velocity[i] < -sv_maxvelocity.value) 112 ent->u.v.velocity[i] = -sv_maxvelocity.value; 221 Returns the clipflags if the velocity was modified (hit something solid) 246 VectorCopy (ent->u.v.velocity, original_velocity) [all...] |
/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/Gallery2/src/com/android/gallery3d/ui/ |
FlingScroller.java | 26 // (1) The velocity does not change because of min/max limit. 32 // The fling duration (in milliseconds) when velocity is 1 pixel/second 85 double velocity = Math.hypot(velocityX, velocityY); local 86 mSinAngle = velocityY / velocity; 87 mCosAngle = velocityX / velocity; 90 // velocity formula: v(t) = d * (e - s) * (1 - t / T) ^ (d - 1) / T 97 * Math.pow(Math.abs(velocity), 1.0 / (DECELERATED_FACTOR - 1))); 101 velocity * mDuration / DECELERATED_FACTOR / 1000); 127 // velocity formula: v(t) = d * (e - s) * (1 - t / T) ^ (d - 1) / T
|
Paper.java | 49 public void edgeReached(float velocity) { 50 velocity /= mWidth; // make it relative to width 51 if (velocity < 0) { 52 mAnimationRight.onAbsorb(-velocity); 54 mAnimationLeft.onAbsorb(velocity); 152 public void onAbsorb(float velocity) { 153 float finish = Utils.clamp(mValue + velocity * VELOCITY_FACTOR,
|
ScrollerHelper.java | 74 public void fling(int velocity, int min, int max) { 78 velocity, 0, // velocityX, velocityY
|
EdgeEffect.java | 76 // Minimum velocity that will be absorbed 252 * Call when the effect absorbs an impact at the given velocity. 259 * @param velocity Velocity at impact in pixels per second. 261 public void onAbsorb(int velocity) { 263 velocity = Math.max(MIN_VELOCITY, Math.abs(velocity)); 266 mDuration = 0.1f + (velocity * 0.03f); 269 // of velocity. 272 // The glow depends more on the velocity, and therefore starts ou [all...] |
EdgeView.java | 119 // Call when the effect absorbs an impact at the given velocity. 120 // Used when a fling reaches the scroll boundary. velocity is in pixels 122 public void onAbsorb(int velocity, int direction) { 123 mEffect[direction].onAbsorb(velocity);
|
/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);
|
/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/webkit/Source/WebCore/webaudio/ |
AudioListener.h | 65 // Velocity 67 void setVelocity(const FloatPoint3D &velocity) { m_velocity = velocity; } 68 const FloatPoint3D& velocity() const { return m_velocity; } function in class:WebCore::AudioListener
|
/frameworks/base/core/java/android/widget/ |
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 169 * Returns the absolute value of the current velocity. 171 * @return The original velocity less the deceleration, norm of the X and Y velocity vector. 406 * depend on the initial velocity of the fling. 410 * @param velocityX Initial velocity of the fling (X) measured in pixels per 412 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 548 // Initial velocity 551 // Current velocity [all...] |
EdgeEffect.java | 70 // Minimum velocity that will be absorbed 247 * Call when the effect absorbs an impact at the given velocity. 254 * @param velocity Velocity at impact in pixels per second. 256 public void onAbsorb(int velocity) { 258 velocity = Math.max(MIN_VELOCITY, Math.abs(velocity)); 261 mDuration = 0.1f + (velocity * 0.03f); 264 // of velocity. 267 // The glow depends more on the velocity, and therefore starts ou [all...] |
SlidingDrawer.java | 434 float velocity = (float) Math.hypot(xVelocity, yVelocity); 436 velocity = -velocity; 442 if (Math.abs(velocity) < mMaximumTapVelocity) { 459 performFling(vertical ? top : left, velocity, false); 463 performFling(vertical ? top : left, velocity, false); 466 performFling(vertical ? top : left, velocity, false); 486 private void performFling(int position, float velocity, boolean always) { 488 mAnimatedVelocity = velocity; 491 if (always || (velocity > mMaximumMajorVelocity | [all...] |
Scroller.java | 199 * Returns the current velocity. 201 * @return The original velocity less the deceleration. Result may be 350 * depend on the initial velocity of the fling. 354 * @param velocityX Initial velocity of the fling (X) measured in pixels per 356 * @param velocityY Initial velocity of the fling (Y) measured in pixels per 392 float velocity = FloatMath.sqrt(velocityX * velocityX + velocityY * velocityY); local 394 mVelocity = velocity; 395 final double l = Math.log(START_TENSION * velocity / ALPHA); 401 float coeffX = velocity == 0 ? 1.0f : velocityX / velocity; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 207 * @param velocity The desired pixels/second speed at which the view should move 209 public void dismissChild(final View view, float velocity) { 214 if (velocity < 0 215 || (velocity == 0 && getTranslation(animView) < 0) 217 || (velocity == 0 && getTranslation(animView) == 0 && mSwipeDirection == Y)) { 223 if (velocity != 0) { 226 .abs(velocity))); 252 public void snapChild(final View view, float velocity) { 305 float velocity = getVelocity(mVelocityTracker); local 311 boolean childSwipedFastEnough = (Math.abs(velocity) > escapeVelocity) & [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon11142
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon11192
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_otadata.h | 74 EAS_U8 velocity; /* current volume */ member in struct:__anon11244
|
/external/quake/quake/src/QW/server/ |
sv_phys.c | 95 // bound velocity 99 if (IS_NAN(ent->v.velocity[i])) 101 Con_Printf ("Got a NaN velocity on %s\n", PR_GetString(ent->v.classname)); 102 ent->v.velocity[i] = 0; 109 if (ent->v.velocity[i] > sv_maxvelocity.value) 110 ent->v.velocity[i] = sv_maxvelocity.value; 111 else if (ent->v.velocity[i] < -sv_maxvelocity.value) 112 ent->v.velocity[i] = -sv_maxvelocity.value; 230 Returns the clipflags if the velocity was modified (hit something solid) 255 VectorCopy (ent->v.velocity, original_velocity) [all...] |
/frameworks/base/core/jni/ |
android_view_VelocityTracker.cpp | 29 // Special constant to request the velocity of the active pointer. 54 struct Velocity { 61 Velocity mCalculatedVelocity[MAX_POINTERS]; 101 Velocity& velocity = mCalculatedVelocity[index]; local 102 velocity.vx = vx; 103 velocity.vy = vy; 115 const Velocity& velocity = mCalculatedVelocity[index]; local 116 vx = velocity.vx [all...] |