Home
last modified time | relevance | path

Searched refs:timeDelta (Results 1 – 25 of 56) sorted by relevance

123

/external/replicaisland/src/com/replica/replicaisland/
DPlayerComponent.java118 protected void move(float time, float timeDelta, GameObject parentObject) { in move() argument
126 mFuel += mDifficultyConstants.getFuelGroundRefillSpeed() * timeDelta; in move()
128 mFuel += mFuelAirRefillSpeed * timeDelta; in move()
154 mFuel -= timeDelta; in move()
155 impulse.y = AIR_VERTICAL_IMPULSE_SPEED * timeDelta; in move()
171 impulse.x = (impulse.x * horziontalSpeed * timeDelta); in move()
196 (AIR_DRAG_SPEED * timeDelta * Utils.sign(currentSpeed)); in move()
213 public void update(float timeDelta, BaseObject parent) { in update() argument
294 stateMove(gameTime, timeDelta, parentObject); in update()
297 stateStomp(gameTime, timeDelta, parentObject); in update()
[all …]
DTimeSystem.java58 public void update(float timeDelta, BaseObject parent) { in update() argument
59 mRealTime += timeDelta; in update()
60 mRealFrameDelta = timeDelta; in update()
63 mFreezeDelay -= timeDelta; in update()
89 mGameTime += (timeDelta * scale); in update()
90 mGameFrameDelta = (timeDelta * scale); in update()
DTheSourceComponent.java59 public void update(float timeDelta, BaseObject parent) { in update() argument
86 mTimer -= timeDelta; in update()
96 final float offset = SINK_SPEED * timeDelta; in update()
99 mExplosionTimer -= timeDelta; in update()
117 if (mTimer - timeDelta <= 0.0f) { in update()
133 if (mTimer - timeDelta <= 0.0f) { in update()
DMovementComponent.java39 public void update(float timeDelta, BaseObject parent) { in update() argument
44 float offsetX = sInterpolator.interpolate(timeDelta); in update()
50 float offsetY = sInterpolator.interpolate(timeDelta); in update()
DOrbitalMagnetComponent.java53 public void update(float timeDelta, BaseObject parent) { in update() argument
62 timeDelta); in update()
67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) { in applyMagnetism() argument
88 mVelocity.multiply(timeDelta); in applyMagnetism()
DMainLoop.java34 public void update(float timeDelta, BaseObject parent) { in update() argument
35 mTimeSystem.update(timeDelta, parent); in update()
DGameThread.java57 final long timeDelta = time - mLastTime; in run() local
58 long finalDelta = timeDelta; in run()
59 if (timeDelta > 12) { in run()
DNPCComponent.java112 public void update(float timeDelta, BaseObject parent) { in update() argument
129 if (mDeathTime < mDeathFadeDelay && mDeathTime + timeDelta >= mDeathFadeDelay) { in update()
138 mDeathTime += timeDelta; in update()
170 accepted = executeCommand(hotSpot, parentObject, timeDelta); in update()
173 accepted = executeCommand(hotSpot, parentObject, timeDelta); in update()
185 accepted = executeCommand(nextCommand(), parentObject, timeDelta); in update()
201 mPauseTime -= timeDelta; in update()
212 private boolean executeCommand(int hotSpot, GameObject parentObject, float timeDelta) { in executeCommand() argument
DFrameRateWatcherComponent.java37 public void update(float timeDelta, BaseObject parent) { in update() argument
39 if (timeDelta > mMaxFrameTime) { in update()
DGravityComponent.java41 public void update(float timeDelta, BaseObject parent) { in update() argument
43 mScaledGravity.multiply(timeDelta); in update()
DGameObjectManager.java75 public void update(float timeDelta, BaseObject parent) { in update() argument
92 gameObject.update(timeDelta, this); in update()
121 gameObject.update(timeDelta, this); in update()
DSleeperComponent.java58 public void update(float timeDelta, BaseObject parent) { in update() argument
76 mStateTime -= timeDelta; in update()
DInputGameInterface.java77 public void update(float timeDelta, BaseObject parent) { in update() argument
134 final float delay = Math.max(ROLL_RESET_DELAY, timeDelta); in update()
153 x = x - (sign * ROLL_DECAY * timeDelta); in update()
161 y = y - (sign * ROLL_DECAY * timeDelta); in update()
DCameraSystem.java99 public void update(float timeDelta, BaseObject parent) { in update() argument
104 mShakeTime -= timeDelta; in update()
131 mBias.multiply(BIAS_SPEED * timeDelta); in update()
DObjectManager.java81 public void update(float timeDelta, BaseObject parent) { in update() argument
88 object.update(timeDelta, this); in update()
DMotionBlurComponent.java64 public void update(float timeDelta, BaseObject parent) { in update() argument
66 mTimeSinceLastStep += timeDelta; in update()
DFadeDrawableComponent.java62 public void update(float timeDelta, BaseObject parent) { in update() argument
80 mInitialDelayTimer -= timeDelta; in update()
DBaseObject.java37 public void update(float timeDelta, BaseObject parent) { in update() argument
DLifetimeComponent.java78 public void update(float timeDelta, BaseObject parent) { in update() argument
81 mTimeUntilDeath -= timeDelta; in update()
DSpriteComponent.java74 public void update(float timeDelta, BaseObject parent) { in update() argument
75 mAnimationTime += timeDelta; in update()
DCameraBiasComponent.java30 public void update(float timeDelta, BaseObject parent) { in update() argument
DFixedAnimationComponent.java34 public void update(float timeDelta, BaseObject parent) { in update() argument
DPlaySingleSoundComponent.java40 public void update(float timeDelta, BaseObject parent) { in update() argument
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DScrollElasticityController.mm195 CFTimeInterval timeDelta = wheelEvent.timestamp() - m_lastMomentumScrollTimestamp;
197 … if (m_lastMomentumScrollTimestamp && timeDelta > 0 && timeDelta < scrollVelocityZeroingTimeout) {
198 m_momentumVelocity.setWidth(eventCoalescedDeltaX / (float)timeDelta);
199 m_momentumVelocity.setHeight(eventCoalescedDeltaY / (float)timeDelta);
319 CFTimeInterval timeDelta = [NSDate timeIntervalSinceReferenceDate] - m_startTime;
349 …dZero(elasticDeltaForTimeDelta(m_startStretch.width(), -m_origVelocity.width(), (float)timeDelta)),
350 …ro(elasticDeltaForTimeDelta(m_startStretch.height(), -m_origVelocity.height(), (float)timeDelta)));
391 CFTimeInterval timeDelta = systemUptime() - m_lastMomentumScrollTimestamp;
392 if (m_lastMomentumScrollTimestamp && timeDelta >= scrollVelocityZeroingTimeout)
/external/jmonkeyengine/engine/src/core/com/jme3/input/
DInputManager.java174 private float computeAnalogValue(long timeDelta) { in computeAnalogValue() argument
178 return FastMath.clamp((float) timeDelta / (float) frameDelta, 0, 1); in computeAnalogValue()
198 long timeDelta = releaseTime - Math.max(pressTime, lastUpdate); in invokeTimedActions() local
200 if (timeDelta > 0) { in invokeTimedActions()
201 invokeAnalogs(hash, computeAnalogValue(timeDelta), false); in invokeTimedActions()
211 long timeDelta = lastUpdateTime - Math.max(lastLastUpdateTime, pressTime); in invokeUpdateActions() local
213 if (timeDelta > 0) { in invokeUpdateActions()
214 invokeAnalogs(hash, computeAnalogValue(timeDelta), false); in invokeUpdateActions()

123