Lines Matching refs:DURATION
61 private static final long DURATION = 300; // duration of transitional animations
62 private static final long FINAL_DURATION = 200; // duration of final animations when unlocking
220 mUnlockRing.addAnimTo(DURATION, 0, "x", mLockCenterX, true);
221 mUnlockRing.addAnimTo(DURATION, 0, "y", mLockCenterY, true);
222 mUnlockRing.addAnimTo(DURATION, 0, "scaleX", 0.1f, true);
223 mUnlockRing.addAnimTo(DURATION, 0, "scaleY", 0.1f, true);
224 mUnlockRing.addAnimTo(DURATION, 0, "alpha", 0.0f, true);
236 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleX", 1.0f, true);
237 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleY", 1.0f, true);
238 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "alpha", 1.0f, true);
250 mUnlockHalo.addAnimTo(DURATION, SHORT_DELAY, "x", mLockCenterX, true);
251 mUnlockHalo.addAnimTo(DURATION, SHORT_DELAY, "y", mLockCenterY, true);
252 mUnlockHalo.addAnimTo(DURATION, SHORT_DELAY, "scaleX", 1.0f, true);
253 mUnlockHalo.addAnimTo(DURATION, SHORT_DELAY, "scaleY", 1.0f, true);
254 mUnlockHalo.addAnimTo(DURATION, SHORT_DELAY, "alpha", 1.0f, true);
279 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleX", 1.0f, false);
280 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "scaleY", 1.0f, false);
281 mUnlockDefault.addAnimTo(DURATION, SHORT_DELAY, "alpha", 1.0f, false);
283 mUnlockRing.addAnimTo(DURATION, 0, "scaleX", 1.0f, true);
284 mUnlockRing.addAnimTo(DURATION, 0, "scaleY", 1.0f, true);
285 mUnlockRing.addAnimTo(DURATION, 0, "alpha", 1.0f, true);
577 private synchronized void vibrate(long duration) {
586 mVibrator.vibrate(duration);