Home
last modified time | relevance | path

Searched refs:mLastTime (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DMainActivity.java71 private long mLastTime = 0; field in MainActivity
165 if(timestamp - mLastTime < TIME_THRESHOLD_NS && mUp != (xValue > 0)) { in detectJump()
169 mLastTime = timestamp; in detectJump()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java177 if (mLastTime != 0) { in onDrawFrame()
178 long delta = time - mLastTime; in onDrawFrame()
181 mLastTime = time; in onDrawFrame()
278 private long mLastTime; field in SpriteTextRenderer
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java182 private long mLastTime; field in LunarView.LunarThread
308 mLastTime = System.currentTimeMillis() + 100; in doStart()
535 mLastTime = System.currentTimeMillis() + 100; in unpause()
693 if (mLastTime > now) return; in updatePhysics()
695 double elapsed = (now - mLastTime) / 1000.0; in updatePhysics()
748 mLastTime = now; in updatePhysics()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java65 long mLastTime = 0; field in ImagePixelization
108 if ((System.currentTimeMillis() - mLastTime) > TIME_BETWEEN_TASKS) { in checkIfShouldPixelize()
262 mLastTime = System.currentTimeMillis(); in invokePixelization()