Lines Matching full:speed
436 float speed = mRandom.nextFloat() * (mMaxObstacleSpeed - mMinObstacleSpeed)
438 float velocityX = (float) Math.cos(direction) * speed;
439 float velocityY = (float) Math.sin(direction) * speed;
646 // The ship actually determines the speed of the bullet, not the bullet
732 * velocity that is based upon the speed of the ship.
964 * Returns the bullet speed Y component.
966 * @return adjusted Y component bullet speed for the velocity and
974 * Returns the bullet speed X component
976 * @return adjusted X component bullet speed for the velocity and
995 final float speed = pythag(mVelocityX, mVelocityY);
996 if (speed > mMaxSpeed) {
997 final float scale = mMaxSpeed / speed;