Home
last modified time | relevance | path

Searched refs:currentStepTime (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java347 long currentStepTime = SystemClock.uptimeMillis();
348 step(currentStepTime);
352 handler.postAtTime(mAnimationRunnable, currentStepTime + ANIMATION_TIME_STEP);
357 private void step(long currentStepTime) {
358 float tau = (currentStepTime - mLastStepTime) * 0.001f;
359 mLastStepTime = currentStepTime;
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java316 long currentStepTime = SystemClock.uptimeMillis(); in animateFrame() local
317 step(currentStepTime); in animateFrame()
321 private void step(long currentStepTime) { in step() argument
322 float tau = (currentStepTime - mLastStepTime) * 0.001f; in step()
323 mLastStepTime = currentStepTime; in step()