Searched refs:delay (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
H A DSettingsActivity.java105 String delay = (String) newValue;
106 updateAutoSnoozeSummary(listPref, delay);
112 String delay) {
113 int i = Integer.parseInt(delay);
137 String delay = listPref.getValue();
138 updateAutoSnoozeSummary(listPref, delay);
111 updateAutoSnoozeSummary(ListPreference listPref, String delay) argument
H A DScreensaver.java88 long delay = MOVE_DELAY;
99 delay = 500; // back in a split second
157 delay = delay
162 "will move again in " + delay + " now=" + now + " adjusted by " + adjust);
166 mHandler.postDelayed(this, delay);
/packages/apps/Mms/src/com/android/mms/ui/
H A DConfirmRateLimitActivity.java83 long delay = mCreateTime - System.currentTimeMillis()
86 if (delay <= 0) {
90 mHandler.postDelayed(mRunnable, delay);
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DBalloonHint.java83 * Timer used to show/dismiss the balloon window with some time delay.
183 public void delayedShow(long delay, int locationInParent[]) { argument
187 if (delay <= 0) {
193 mBalloonTimer.startTimer(delay, BalloonTimer.ACTION_SHOW,
198 public void delayedUpdate(long delay, int locationInParent[], argument
204 if (delay <= 0) {
209 mBalloonTimer.startTimer(delay, BalloonTimer.ACTION_UPDATE,
214 public void delayedDismiss(long delay) { argument
218 if (0 != delay && BalloonTimer.ACTION_HIDE != pendingAction) {
222 if (delay <
[all...]
H A DSoftKeyboardView.java176 long delay = BalloonHint.TIME_DELAY_SHOW;
177 if (movePress) delay = 0;
182 balloon.delayedShow(delay, balloonLocationToSkb);
184 balloon.delayedUpdate(delay, balloonLocationToSkb, balloon
H A DCandidateView.java703 long delay = BalloonHint.TIME_DELAY_SHOW;
704 if (!delayedShow) delay = 0;
707 mBalloonHint.delayedShow(delay, mHintPositionToInputView);
H A DSkbContainer.java389 private void resetKeyPress(long delay) { argument
393 mSkv.resetKeyPress(delay);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DNotificationPlayer.java148 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
149 if (delay > 1000) {
150 Log.w(mTag, "Notification sound delayed by " + delay + "msecs");
181 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
182 if (delay > 1000) {
183 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java181 public void schedule(TimerTask task, long delay) { argument
182 if (delay == 0) {
186 e.mScheduledTime = mClock.getTime() + delay;
/packages/apps/Phone/src/com/android/phone/
H A DAccelerometerListener.java45 // This is sent to the client after a rebounce delay, at which point it is copied to
104 // set delay to our debounce timeout
105 int delay = (orientation == ORIENTATION_VERTICAL ? VERTICAL_DEBOUNCE
107 mHandler.sendMessageDelayed(m, delay);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DLatinKeyboardView.java160 private void startKeyRepeatTimer(PointerTracker tracker, long delay) { argument
161 sendMessageDelayed(obtainMessage(MSG_REPEAT_KEY, tracker), delay);
182 final int delay;
185 delay = mParams.mLongPressShiftKeyTimeout;
188 delay = 0;
191 if (delay > 0) {
192 sendMessageDelayed(obtainMessage(MSG_LONGPRESS_KEY, code, 0), delay);
203 final int delay;
206 delay = mParams.mLongPressShiftKeyTimeout;
212 delay
[all...]
H A DMoreKeysKeyboardView.java129 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
131 // delay of 0. The delay does not matter actually since the popup is not shown anyway.
H A DKeyboardView.java157 public void dismissKeyPreview(long delay, PointerTracker tracker) { argument
158 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, tracker), delay);
414 * @param delay the delay after which the preview is dismissed
417 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
419 mDelayAfterPreview = delay;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfile.java119 long delay = nextWakeTime - currentTime;
120 mHandler.postDelayed(mProcessRunnable, delay);
/packages/apps/Gallery/src/com/android/camera/
H A DImageGetter.java302 public void postDelayedGetterCallback(Runnable callback, long delay) { argument
309 sendMessageDelayed(message, delay);
H A DViewImage.java200 // zoomButtonControls will not able to show up. So delay it until the
776 private void loadNextImage(final int requestedPos, final long delay, argument
782 final long targetDisplayTime = System.currentTimeMillis() + delay;
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java316 long delay = System.currentTimeMillis() - mClickTime;
319 delay > mTotalClickDelay ? 0 : mTotalClickDelay - delay);
370 // Perform the tap animation in a runnable to allow a delay before showing the tap color.
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
H A DSourceLatency.java90 String query, long delay) {
104 Thread.sleep(delay);
89 checkSourceConcurrent(final String src, final ComponentName componentName, String query, long delay) argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java592 int delay = 0;
603 REORDER_ANIMATION_DURATION, delay, true, true)) {
606 delay += delayAmount;
620 REORDER_ANIMATION_DURATION, delay, true, true)) {
623 delay += delayAmount;
H A DDragController.java518 final int delay = mDistanceSinceScroll < slop ? RESCROLL_DELAY : SCROLL_DELAY;
526 mHandler.postDelayed(mScrollRunnable, delay);
535 mHandler.postDelayed(mScrollRunnable, delay);
H A DLauncher.java538 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have
857 // We set this directly so that there is no delay before the tab is set
1228 // We delay the layer building a bit in order to give
1230 // this avoids a delay in hiding the IME if it was
1247 private void sendAdvanceMessage(long delay) { argument
1250 mHandler.sendMessageDelayed(msg, delay);
1259 long delay = mAutoAdvanceTimeLeft == -1 ? mAdvanceInterval : mAutoAdvanceTimeLeft;
1260 sendAdvanceMessage(delay);
1279 final int delay = mAdvanceStagger * i;
1285 }, delay);
3558 initCling(int clingId, int[] positionData, boolean animate, int delay) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DMoreSuggestionsView.java137 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
139 // delay of 0. The delay does not matter actually since the popup is not shown anyway.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchActivity.java612 long delay = getConfig().getTypingUpdateSuggestionsDelayMillis();
613 mHandler.postDelayed(mUpdateSuggestionsTask, delay);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java525 final int delay = 120;
527 buildEmptyResponse(HTTP_SERVICE_UNAVAILABLE).setHeader("Retry-after", delay));
534 mSystemFacade.incrementTimeMillis((delay + 31) * 1000);
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java1160 private void queueNextRefresh(long delay) { argument
1164 mHandler.sendMessageDelayed(msg, delay);

Completed in 769 milliseconds

12