/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
MockAutofillDialogController.java | 32 final long delayMillis, 67 delayMillis, 89 final long delayMillis, 118 }, delayMillis);
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
ReferenceQueueTest.java | 92 private void runLater(Runnable runnable, int delayMillis) { 94 executor.schedule(runnable, delayMillis, TimeUnit.MILLISECONDS); 98 private void enqueueLater(final ReferenceQueue<Object> queue, int delayMillis) { 103 }, delayMillis);
|
/frameworks/native/libs/input/tests/ |
TestHelpers.h | 65 DelayedTask(int delayMillis) : mDelayMillis(delayMillis) { }
|
/system/core/libutils/tests/ |
TestHelpers.h | 63 DelayedTask(int delayMillis) : mDelayMillis(delayMillis) { }
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHandler.java | 51 public boolean postDelayed(Runnable r, long delayMillis) { 52 return shadowOf(looper).post(r, delayMillis); 97 public final boolean sendMessageDelayed(final Message msg, long delayMillis) { 98 Robolectric.shadowOf(msg).setWhen(Robolectric.shadowOf(looper).getScheduler().getCurrentTime()+delayMillis); 108 }, delayMillis); 126 public final boolean sendEmptyMessageDelayed(int what, long delayMillis) { 129 return sendMessageDelayed(msg, delayMillis);
|
ShadowLooper.java | 150 * @param delayMillis how many milliseconds into the (virtual) future to run it 152 public boolean post(Runnable runnable, long delayMillis) { 154 scheduler.postDelayed(runnable, delayMillis);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Scheduler.java | 30 public void postDelayed(Runnable runnable, long delayMillis) { 31 if (paused || delayMillis > 0) { 32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis));
|
/packages/apps/Calendar/src/com/android/calendar/ |
AsyncQueryService.java | 197 * @param delayMillis delay in executing the operation. This operation will 202 long delayMillis) { 212 info.delayMillis = delayMillis; 233 * @param delayMillis delay in executing the operation. This operation will 238 String selection, String[] selectionArgs, long delayMillis) { 250 info.delayMillis = delayMillis; 270 * @param delayMillis delay in executing the operation. This operation will 275 String[] selectionArgs, long delayMillis) { [all...] |
AsyncQueryServiceHelper.java | 68 * delayMillis is relative time e.g. 10,000 milliseconds 70 public long delayMillis; 81 mScheduledTimeMillis = SystemClock.elapsedRealtime() + delayMillis; 113 builder.append(",\n\t delayMillis= "); 114 builder.append(delayMillis); 185 if (info.delayMillis > 0 && lastScheduleTime < info.mScheduledTimeMillis) {
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
ViewCompatJB.java | 49 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { 50 view.postOnAnimationDelayed(action, delayMillis);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecFeatureAction.java | 115 * @param delayMillis amount of delay for the timer 117 void sendTimerMessage(int state, long delayMillis); 132 public void sendTimerMessage(int state, long delayMillis) { 134 sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis); 160 // delayMillis. 161 protected void addTimer(int state, int delayMillis) { 162 mActionTimer.sendTimerMessage(state, delayMillis);
|
/development/samples/devbytes/ui/ImmersiveMode/src/main/java/com/example/android/immersive/ |
ImmersiveActivity.java | 113 private void delayedHide(int delayMillis) { 115 mHideHandler.sendEmptyMessageDelayed(0, delayMillis);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
DisconnectTest.java | 83 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { 87 sleep(delayMillis);
|
ThreadInterruptTest.java | 84 private void interruptLater(final int delayMillis) { 89 sleep(delayMillis);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
UiHandler.java | 59 public void postDelayed(final Runnable r, long delayMillis) { 68 }, delayMillis);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
AsyncQueryServiceTest.java | 121 work[index].delayMillis = 0; 148 work[index].delayMillis = 0; 153 work[index].delayMillis); 176 work[index].delayMillis = 0; 181 work[index].selection, work[index].selectionArgs, work[index].delayMillis); 202 work[index].delayMillis = 0; 211 work[index].delayMillis); 233 work[index].delayMillis = 0; 243 work[index].delayMillis); 365 private OperationInfo generateWork(long delayMillis) { [all...] |
/frameworks/base/core/java/android/view/ |
Choreographer.java | 251 * @param delayMillis The original delay time including an assumed frame delay. 255 public static long subtractFrameDelay(long delayMillis) { 257 return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay; 303 * @param delayMillis The delay time in milliseconds. 309 Runnable action, Object token, long delayMillis) { 317 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 321 Object action, Object token, long delayMillis) { 325 + ", delayMillis=" + delayMillis); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmap.java | 57 public void sleep(long delayMillis) { 59 sendMessageDelayed(obtainMessage(0), delayMillis);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ThreadUtils.java | 177 * @param delayMillis The delay in milliseconds until the Runnable will be run 179 public static void postOnUiThreadDelayed(Runnable task, long delayMillis) { 180 getUiThreadHandler().postDelayed(task, delayMillis);
|
ApiCompatibilityUtils.java | 267 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { 269 view.postOnAnimationDelayed(action, delayMillis); 271 view.postDelayed(action, getFrameTime() + delayMillis);
|
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationPlayerActivity.java | 65 public void sleep(long delayMillis) { 67 sendMessageDelayed(obtainMessage(0), delayMillis);
|
/frameworks/base/core/java/com/android/internal/os/ |
HandlerCaller.java | 69 public void sendMessageDelayed(Message msg, long delayMillis) { 70 mH.sendMessageDelayed(msg, delayMillis);
|
/frameworks/volley/tests/src/com/android/volley/ |
RequestQueueTest.java | 180 public DelayedRequest(long delayMillis, AtomicInteger parsed, AtomicInteger delivered) { 182 mDelayMillis = delayMillis;
|
/frameworks/base/core/java/android/os/ |
Handler.java | 386 * @param delayMillis The delay (in milliseconds) until the Runnable 396 public final boolean postDelayed(Runnable r, long delayMillis) 398 return sendMessageDelayed(getPostMessage(r), delayMillis); 531 public final boolean sendEmptyMessageDelayed(int what, long delayMillis) { 534 return sendMessageDelayed(msg, delayMillis); 555 * before (current time + delayMillis). You will receive it in 565 public final boolean sendMessageDelayed(Message msg, long delayMillis) 567 if (delayMillis < 0) { 568 delayMillis = 0; 570 return sendMessageAtTime(msg, SystemClock.uptimeMillis() + delayMillis); [all...] |
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
MediaCodecVideoDecoder.java | 73 long delayMillis = 5; // Don't busy wait. 75 handler.obtainMessage(DECODE), delayMillis);
|