HomeSort by relevance Sort by last modified time
    Searched refs:mVel (Results 1 - 2 of 2) sorted by null

  /frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 154 mVel[0] = 0.f;
155 mVel[1] = 0.f;
156 mVel[2] = 0.f;
168 mVel[0] = 0;
169 mVel[1] = 0;
170 mVel[2] = 0;
358 totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass;
359 totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass;
360 totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass;
368 mVel[0] = mVel[0] + accel[0]*deltaT
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java 222 private float mVel, mAccel;
257 && mVel >= -mFlingGestureMinDistPx; // was this not possibly a "close" gesture?
260 } else if (mVel == 0) {
264 mClosing = mExpandedHeight > 0 && mVel < 0;
268 if (DEBUG) logf("tick: v=%.2fpx/s dt=%.4fs", mVel, dt);
285 mVel += mAccel * dt;
288 if (mClosing && mVel > -mBrakingSpeedPx) {
289 mVel = -mBrakingSpeedPx;
290 } else if (!mClosing && mVel < mBrakingSpeedPx) {
291 mVel = mBrakingSpeedPx
    [all...]

Completed in 79 milliseconds