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

  /external/replicaisland/src/com/replica/replicaisland/
PlayerComponent.java 174 float currentSpeed = parentObject.getVelocity().x;
175 final float newSpeed = Math.abs(currentSpeed + impulse.x);
177 if (Math.abs(currentSpeed) < maxHorizontalSpeed) {
178 currentSpeed = maxHorizontalSpeed * Utils.sign(impulse.x);
179 parentObject.getVelocity().x = (currentSpeed);
194 if (Math.abs(currentSpeed) > maxHorizontalSpeed) {
195 float postDragSpeed = currentSpeed -
196 (AIR_DRAG_SPEED * timeDelta * Utils.sign(currentSpeed));
197 if (Utils.sign(currentSpeed) != Utils.sign(postDragSpeed)) {
  /packages/services/Car/service/src/com/android/car/
CarUxRestrictionsManagerService.java 112 Float currentSpeed = getCurrentSpeed();
113 if (currentSpeed == SPEED_NOT_AVAILABLE) {
119 handleDispatchUxRestrictions(currentDrivingState, currentSpeed);
CarUxRestrictionsServiceHelper.java 346 * @param currentSpeed speed of the vehicle
350 float currentSpeed) {
365 restrictions = restrictionsList.findRestrictions(currentSpeed);

Completed in 673 milliseconds