/external/replicaisland/src/com/replica/replicaisland/ |
D | PlayerComponent.java | 118 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 …]
|
D | TimeSystem.java | 58 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()
|
D | TheSourceComponent.java | 59 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()
|
D | MovementComponent.java | 39 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()
|
D | OrbitalMagnetComponent.java | 53 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()
|
D | MainLoop.java | 34 public void update(float timeDelta, BaseObject parent) { in update() argument 35 mTimeSystem.update(timeDelta, parent); in update()
|
D | GameThread.java | 57 final long timeDelta = time - mLastTime; in run() local 58 long finalDelta = timeDelta; in run() 59 if (timeDelta > 12) { in run()
|
D | NPCComponent.java | 112 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
|
D | FrameRateWatcherComponent.java | 37 public void update(float timeDelta, BaseObject parent) { in update() argument 39 if (timeDelta > mMaxFrameTime) { in update()
|
D | GravityComponent.java | 41 public void update(float timeDelta, BaseObject parent) { in update() argument 43 mScaledGravity.multiply(timeDelta); in update()
|
D | GameObjectManager.java | 75 public void update(float timeDelta, BaseObject parent) { in update() argument 92 gameObject.update(timeDelta, this); in update() 121 gameObject.update(timeDelta, this); in update()
|
D | SleeperComponent.java | 58 public void update(float timeDelta, BaseObject parent) { in update() argument 76 mStateTime -= timeDelta; in update()
|
D | InputGameInterface.java | 77 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()
|
D | CameraSystem.java | 99 public void update(float timeDelta, BaseObject parent) { in update() argument 104 mShakeTime -= timeDelta; in update() 131 mBias.multiply(BIAS_SPEED * timeDelta); in update()
|
D | ObjectManager.java | 81 public void update(float timeDelta, BaseObject parent) { in update() argument 88 object.update(timeDelta, this); in update()
|
D | MotionBlurComponent.java | 64 public void update(float timeDelta, BaseObject parent) { in update() argument 66 mTimeSinceLastStep += timeDelta; in update()
|
D | FadeDrawableComponent.java | 62 public void update(float timeDelta, BaseObject parent) { in update() argument 80 mInitialDelayTimer -= timeDelta; in update()
|
D | BaseObject.java | 37 public void update(float timeDelta, BaseObject parent) { in update() argument
|
D | LifetimeComponent.java | 78 public void update(float timeDelta, BaseObject parent) { in update() argument 81 mTimeUntilDeath -= timeDelta; in update()
|
D | SpriteComponent.java | 74 public void update(float timeDelta, BaseObject parent) { in update() argument 75 mAnimationTime += timeDelta; in update()
|
D | CameraBiasComponent.java | 30 public void update(float timeDelta, BaseObject parent) { in update() argument
|
D | FixedAnimationComponent.java | 34 public void update(float timeDelta, BaseObject parent) { in update() argument
|
D | PlaySingleSoundComponent.java | 40 public void update(float timeDelta, BaseObject parent) { in update() argument
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
D | ScrollElasticityController.mm | 195 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/ |
D | InputManager.java | 174 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()
|