Searched refs:delay (Results 1 - 25 of 27) 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/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DWaveformImage.java56 final int delay = (SAMPLING_RATE * 100 / 1000);
57 int endIndex = end / 2 + delay;
61 int index = start / 2 - 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/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/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/
H A DGoogleLoginServiceBlockingHelper.java153 private void delay() { method in class:GoogleLoginServiceBlockingHelper
157 // just delay for less time
164 * Reset the sleep time used by delay() to the minimum.
246 delay();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DLatinKeyboardView.java116 public void startKeyRepeatTimer(long delay, int keyIndex, PointerTracker tracker) { argument
118 sendMessageDelayed(obtainMessage(MSG_REPEAT_KEY, keyIndex, 0, tracker), delay);
131 public void startLongPressTimer(long delay, int keyIndex, PointerTracker tracker) { argument
133 sendMessageDelayed(obtainMessage(MSG_LONGPRESS_KEY, keyIndex, 0, tracker), delay);
268 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
274 super.setKeyPreviewPopupEnabled(false, delay);
278 super.setKeyPreviewPopupEnabled(previewEnabled, delay);
H A DKeyboardView.java159 public void showKeyPreview(long delay, int keyIndex, PointerTracker tracker) { argument
163 if (tracker.getKeyPreviewText().getVisibility() == VISIBLE || delay == 0) {
168 obtainMessage(MSG_SHOW_KEY_PREVIEW, keyIndex, 0, tracker), delay);
180 public void dismissKeyPreview(long delay, PointerTracker tracker) { argument
181 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, tracker), delay);
418 * @param delay the delay after which the preview is dismissed
421 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
423 mDelayAfterPreview = delay;
H A DMiniKeyboardView.java126 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
128 // delay of 0. The delay does not matter actually since the popup is not shown anyway.
H A DPointerTracker.java76 public void startKeyRepeatTimer(long delay, int keyIndex, PointerTracker tracker); argument
77 public void startLongPressTimer(long delay, int keyIndex, PointerTracker tracker); argument
83 public void startKeyRepeatTimer(long delay, int keyIndex, PointerTracker tracker) {} argument
85 public void startLongPressTimer(long delay, int keyIndex, PointerTracker tracker) {} argument
/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/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.java586 int delay = 0;
597 REORDER_ANIMATION_DURATION, delay)) {
600 delay += delayAmount;
614 REORDER_ANIMATION_DURATION, delay)) {
617 delay += delayAmount;
H A DCellLayout.java960 int delay) {
1016 oa.setStartDelay(delay);
1673 public CellLayoutAnimationController(Animation animation, float delay) { argument
1674 super(animation, delay);
959 animateChildToPosition(final View child, int cellX, int cellY, int duration, int delay) argument
H A DLauncher.java475 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have
581 // We delay the layer building a bit in order to give
583 // this avoids a delay in hiding the IME if it was
736 // We set this directly so that there is no delay before the tab is set
1073 private void sendAdvanceMessage(long delay) { argument
1076 mHandler.sendMessageDelayed(msg, delay);
1085 long delay = mAutoAdvanceTimeLeft == -1 ? mAdvanceInterval : mAutoAdvanceTimeLeft;
1086 sendAdvanceMessage(delay);
1105 final int delay = mAdvanceStagger * i;
1111 }, delay);
3197 initCling(int clingId, int[] positionData, boolean animate, int delay) argument
[all...]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java520 final int delay = 120;
521 enqueueEmptyResponse(HTTP_SERVICE_UNAVAILABLE).addHeader("Retry-after", delay);
526 mSystemFacade.incrementTimeMillis((delay + 31) * 1000);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DMoreSuggestionsView.java136 public void setKeyPreviewPopupEnabled(boolean previewEnabled, int delay) { argument
138 // 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/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java1160 private void queueNextRefresh(long delay) { argument
1164 mHandler.sendMessageDelayed(msg, delay);

Completed in 3129 milliseconds

12