Searched refs:milliseconds (Results 1 – 15 of 15) sorted by relevance
306 final int milliseconds = prefs.getInt( in readKeyLongpressTimeout() local308 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds in readKeyLongpressTimeout()318 final int milliseconds = prefs.getInt( in readKeypressVibrationDuration() local320 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds in readKeypressVibrationDuration()341 final int milliseconds = prefs.getInt(prefKey, UNDEFINED_PREFERENCE_VALUE_INT); in readKeyPreviewAnimationDuration() local342 return (milliseconds != UNDEFINED_PREFERENCE_VALUE_INT) ? milliseconds : defaultValue; in readKeyPreviewAnimationDuration()
35 public void advance(long milliseconds) { in advance() argument36 mTime += milliseconds; in advance()
48 private void advanceClock(int milliseconds) { in advanceClock() argument49 mClock.advance(milliseconds); in advanceClock()
71 public void vibrate(final long milliseconds) { in vibrate() argument75 mVibrator.vibrate(milliseconds); in vibrate()
126 private void vibrate(long milliseconds) { in vibrate() argument131 vibrator.vibrate(milliseconds); in vibrate()
227 public void threadSleep(long milliseconds) throws InterruptedException { in threadSleep() argument228 Thread.sleep(milliseconds); in threadSleep()
446 public static int millsToUnit(int milliseconds) { in millsToUnit() argument447 return (int) (TimeUnit.MILLISECONDS.toMicros(milliseconds) / MICROS_PER_UNIT); in millsToUnit()
422 protected static void sleep(final int milliseconds) { in sleep() argument424 Thread.sleep(milliseconds); in sleep()
55 std::cv_status result = mEventCond.wait_for(g, std::chrono::milliseconds(timeout_ms)); in waitForEvents()
34 // A parameter specifying a time period in milliseconds.
55 self.runtime = datetime.timedelta(milliseconds=uptimes[1]-uptimes[0])
157 // The number of milliseconds that this event pair took.