Searched refs:durationMillis (Results 1 – 5 of 5) sorted by relevance
51 public boolean waitForWindowFocus(long durationMillis) { in waitForWindowFocus() argument55 while (!mHasWindowFocus && durationMillis > 0) { in waitForWindowFocus()57 durationMillis -= (newElapsedMillis - elapsedMillis); in waitForWindowFocus()59 if (durationMillis > 0) { in waitForWindowFocus()61 mHasWindowFocusLock.wait(durationMillis); in waitForWindowFocus()
84 public boolean waitForWindowFocus(long durationMillis) { in waitForWindowFocus() argument88 while (!mHasWindowFocus && durationMillis > 0) { in waitForWindowFocus()90 durationMillis -= (newElapsedMillis - elapsedMillis); in waitForWindowFocus()92 if (durationMillis > 0) { in waitForWindowFocus()94 mHasWindowFocusLock.wait(durationMillis); in waitForWindowFocus()
2774 private long durationMillis;2779 this.durationMillis = 0;2791 long durationMillis = System.currentTimeMillis() - start;2795 this.durationMillis = durationMillis;2804 return this.frames / (this.durationMillis / 1000.0);
2025 private static boolean isDeadlineReached(long startTimeMillis, long durationMillis) { in isDeadlineReached() argument2030 return nowMillis - startTimeMillis > durationMillis; in isDeadlineReached()
523 private static String generateDurationString(long durationMillis, boolean isAllDay) { in generateDurationString() argument524 long durationSeconds = durationMillis / 1000; in generateDurationString()