Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 36) sorted by relevance

12

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DBalloonHint.java183 public void delayedShow(long delay, int locationInParent[]) { in delayedShow() argument
187 if (delay <= 0) { in delayedShow()
193 mBalloonTimer.startTimer(delay, BalloonTimer.ACTION_SHOW, in delayedShow()
198 public void delayedUpdate(long delay, int locationInParent[], in delayedUpdate() argument
204 if (delay <= 0) { in delayedUpdate()
209 mBalloonTimer.startTimer(delay, BalloonTimer.ACTION_UPDATE, in delayedUpdate()
214 public void delayedDismiss(long delay) { in delayedDismiss() argument
218 if (0 != delay && BalloonTimer.ACTION_HIDE != pendingAction) { in delayedDismiss()
222 if (delay <= 0) { in delayedDismiss()
225 mBalloonTimer.startTimer(delay, BalloonTimer.ACTION_HIDE, null, -1, in delayedDismiss()
DSoftKeyboardView.java176 long delay = BalloonHint.TIME_DELAY_SHOW; in showBalloon() local
177 if (movePress) delay = 0; in showBalloon()
182 balloon.delayedShow(delay, balloonLocationToSkb); in showBalloon()
184 balloon.delayedUpdate(delay, balloonLocationToSkb, balloon in showBalloon()
DCandidateView.java703 long delay = BalloonHint.TIME_DELAY_SHOW;
704 if (!delayedShow) delay = 0;
707 mBalloonHint.delayedShow(delay, mHintPositionToInputView);
DSkbContainer.java389 private void resetKeyPress(long delay) { in resetKeyPress() argument
393 mSkv.resetKeyPress(delay); in resetKeyPress()
/packages/apps/Mms/src/com/android/mms/transaction/
DNotificationPlayer.java147 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound() local
148 if (delay > 1000) { in startSound()
149 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); in startSound()
180 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run() local
181 if (delay > 1000) { in run()
182 Log.w(mTag, "Notification stop delayed by " + delay + "msecs"); in run()
/packages/apps/Mms/src/com/android/mms/ui/
DConfirmRateLimitActivity.java82 long delay = mCreateTime - System.currentTimeMillis() in onResume() local
85 if (delay <= 0) { in onResume()
89 mHandler.postDelayed(mRunnable, delay); in onResume()
/packages/apps/DeskClock/src/com/android/deskclock/
DSettingsActivity.java156 String delay = (String) newValue; in onPreferenceChange() local
157 updateAutoSnoozeSummary(listPref, delay); in onPreferenceChange()
181 String delay) { in updateAutoSnoozeSummary() argument
182 int i = Integer.parseInt(delay); in updateAutoSnoozeSummary()
198 String delay = listPref.getValue(); in refresh() local
199 updateAutoSnoozeSummary(listPref, delay); in refresh()
DUtils.java236 long delay = MOVE_DELAY; in run() local
239 mHandler.postDelayed(this, delay); in run()
248 delay = 500; // back in a split second in run()
306 delay = delay in run()
313 mHandler.postDelayed(this, delay); in run()
/packages/apps/Email/tests/src/com/android/email/
DThrottleTest.java181 public void schedule(TimerTask task, long delay) {
182 if (delay == 0) {
186 e.mScheduledTime = mClock.getTime() + delay;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java204 private void startKeyRepeatTimer(final PointerTracker tracker, final long delay) { in startKeyRepeatTimer() argument
207 sendMessageDelayed(obtainMessage(MSG_REPEAT_KEY, key.mCode, 0, tracker), delay); in startKeyRepeatTimer()
227 final int delay; in startLongPressTimer() local
230 delay = mLongPressShiftKeyTimeout; in startLongPressTimer()
233 delay = 0; in startLongPressTimer()
236 if (delay > 0) { in startLongPressTimer()
237 sendMessageDelayed(obtainMessage(MSG_LONGPRESS_KEY, code, 0), delay); in startLongPressTimer() local
248 final int delay; in startLongPressTimer() local
251 delay = mLongPressShiftKeyTimeout; in startLongPressTimer()
257 delay = mLongPressKeyTimeout * 3; in startLongPressTimer()
[all …]
DMoreKeysKeyboardView.java147 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { in setKeyPreviewPopupEnabled() argument
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTweener.java58 long delay = 0; in to() local
81 delay = ((Number) value).longValue(); in to()
118 anim.setStartDelay(delay); in to()
DGlowPadView.java397 private void showGlow(int duration, int delay, float finalAlpha, in showGlow() argument
402 "delay", delay, in showGlow()
409 private void hideGlow(int duration, int delay, float finalAlpha, in hideGlow() argument
414 "delay", delay, in hideGlow()
494 final int delay = animate ? HIDE_ANIMATION_DELAY : 0; in hideTargets() local
508 "delay", delay, in hideTargets()
519 "delay", delay, in hideTargets()
529 final int delay = animate ? SHOW_ANIMATION_DELAY : 0; in showTargets() local
540 "delay", delay, in showTargets()
548 "delay", delay, in showTargets()
/packages/experimental/Bummer/src/com/android/dreams/bummer/
DBummerView.java84 public void setAnimationParams(boolean animate, int delay, int animTime) { in setAnimationParams() argument
86 mDelay = delay; in setAnimationParams()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java84 public void setAnimationParams(boolean animate, int delay, int animTime) { in setAnimationParams() argument
86 mDelay = delay; in setAnimationParams()
DPhotoCarousel.java90 private void scheduleNext(long delay) { in scheduleNext() argument
92 postDelayed(mFlipper, delay); in scheduleNext()
/packages/apps/Phone/src/com/android/phone/
DAccelerometerListener.java105 int delay = (orientation == ORIENTATION_VERTICAL ? VERTICAL_DEBOUNCE in setOrientation() local
107 mHandler.sendMessageDelayed(m, delay); in setOrientation()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java121 long delay = nextWakeTime - currentTime; in processList() local
122 mHandler.postDelayed(mProcessRunnable, delay); in processList()
/packages/apps/Gallery/src/com/android/camera/
DImageGetter.java302 public void postDelayedGetterCallback(Runnable callback, long delay) {
309 sendMessageDelayed(message, delay);
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java315 long delay = System.currentTimeMillis() - mClickTime; in onTouch() local
318 delay > mTotalClickDelay ? 0 : mTotalClickDelay - delay); in onTouch()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java90 String query, long delay) { in checkSourceConcurrent() argument
104 Thread.sleep(delay); in checkSourceConcurrent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
DResearchLog.java160 public void awaitTermination(int delay, TimeUnit timeUnit) throws InterruptedException { in awaitTermination() argument
161 mExecutor.awaitTermination(delay, timeUnit); in awaitTermination()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java516 final int delay = mDistanceSinceScroll < slop ? RESCROLL_DELAY : SCROLL_DELAY; in handleMoveEvent()
524 mHandler.postDelayed(mScrollRunnable, delay); in handleMoveEvent()
533 mHandler.postDelayed(mScrollRunnable, delay); in handleMoveEvent()
DFolder.java592 int delay = 0; in realTimeReorder() local
603 REORDER_ANIMATION_DURATION, delay, true, true)) { in realTimeReorder()
606 delay += delayAmount; in realTimeReorder()
620 REORDER_ANIMATION_DURATION, delay, true, true)) { in realTimeReorder()
623 delay += delayAmount; in realTimeReorder()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java560 final int delay = 120; in testRetryAfter() local
562 buildEmptyResponse(HTTP_SERVICE_UNAVAILABLE).setHeader("Retry-after", delay)); in testRetryAfter()
569 mSystemFacade.incrementTimeMillis((delay + 31) * 1000); in testRetryAfter()

12