Searched refs:timer (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/docs/html/resources/articles/ |
D | timed-ui-updates.jd | 22 Java Swing and SE application. It is like a stopwatch with a lap timer 33 <p>In the original version, the timer code looked like this:</p> 47 timer = new Timer(); 48 timer.schedule(new UpdateTimeTask(), 100, 200); 86 time for the timer. Instead, we grab the System.currentTimeMillis(). 130 <p>All we need now is a way to stop the timer when the stop button
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 944 private static final String printWakeLock(StringBuilder sb, Timer timer, in printWakeLock() argument 947 if (timer != null) { in printWakeLock() 949 long totalTimeMicros = timer.getTotalTimeLocked(batteryRealtime, which); in printWakeLock() 952 int count = timer.getCountLocked(which); in printWakeLock() 978 private static final String printWakeLockCheckin(StringBuilder sb, Timer timer, long now, in printWakeLockCheckin() argument 982 if (timer != null) { in printWakeLockCheckin() 983 totalTimeMicros = timer.getTotalTimeLocked(now, which); in printWakeLockCheckin() 984 count = timer.getCountLocked(which); in printWakeLockCheckin() 1208 Timer timer = se.getSensorTime(); in dumpCheckinLocked() local 1209 if (timer != null) { in dumpCheckinLocked() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 584 static Timer timer; field in SystemServer 611 timer = new Timer(); in main() 612 timer.schedule(new TimerTask() { in main()
|
/frameworks/base/libs/utils/ |
D | AssetManager.cpp | 1412 DurationTimer timer; in loadFileNameCacheLocked() local 1413 timer.start(); in loadFileNameCacheLocked() 1419 timer.stop(); in loadFileNameCacheLocked() 1421 timer.durationUsecs() / 1000.0); in loadFileNameCacheLocked()
|
/frameworks/base/docs/html/guide/topics/media/jet/ |
D | jetcreator_manual.jd | 257 not pressed a button, a timer is set to half the length of the window. If the 258 player presses the button before the timer expires, the game registers a 264 event is received, a timer is set to half the length of the window. If an event 265 is received before the timer expires, the game registers a success, and if not,
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 568 public static void writeTimerToParcel(Parcel out, Timer timer, in writeTimerToParcel() argument 570 if (timer == null) { in writeTimerToParcel() 576 timer.writeToParcel(out, batteryRealtime); in writeTimerToParcel() 4026 for (SamplingTimer timer : mKernelWakelockStats.values()) { in resetAllStatsLocked() 4027 mUnpluggables.remove(timer); in resetAllStatsLocked()
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_passed.txt | 1876 /sdcard/android/layout_tests/fast/dom/Window/redirect-with-timer.html 1971 /sdcard/android/layout_tests/fast/dom/timer-clear-interval-in-handler.html 2529 /sdcard/android/layout_tests/fast/frames/hover-timer-crash.html 2572 /sdcard/android/layout_tests/http/tests/misc/timer-vs-loading.html
|
D | layout_tests_failed.txt | 447 /sdcard/android/layout_tests/fast/loader/cancel-load-during-port-block-timer.html
|