Searched defs:delay (Results 1 - 25 of 54) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/async/
H A DResettingDelayedExecutor.java25 * An executor which executes with a delay, discarding pending executions such
40 public ResettingDelayedExecutor(ScheduledExecutorService executor, long delay, TimeUnit argument
43 mDelay = delay;
/packages/experimental/Bummer/src/com/android/dreams/bummer/
H A DBummerView.java84 public void setAnimationParams(boolean animate, int delay, int animTime) { argument
86 mDelay = delay;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DBummerView.java84 public void setAnimationParams(boolean animate, int delay, int animTime) { argument
86 mDelay = delay;
H A DPhotoCarousel.java90 private void scheduleNext(long delay) { argument
92 postDelayed(mFlipper, delay);
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
H A DSideChannel.java54 public static void delayDownloads(Context context, int delay) { argument
56 intent.putExtra(EXTRA_DELAY_FACTOR, delay);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DMultiValueUpdateListener.java58 public FloatProp(float start, float end, float delay, float duration, Interpolator i) { argument
61 mDelay = delay;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DTimerProxy.java41 * @param delay the interval delay to the next key repeat, in millisecond.
43 public void startKeyRepeatTimerOf(@Nonnull PointerTracker tracker, int repeatCount, int delay); argument
50 * @param delay the delay to fire the long press timer, in millisecond.
52 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay); argument
111 int delay) {}
113 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay) {} argument
110 startKeyRepeatTimerOf(@onnull PointerTracker tracker, int repeatCount, int delay) argument
H A DTimerHandler.java87 final int delay) {
89 if (key == null || delay == 0) {
93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay);
110 public void startLongPressTimerOf(@Nonnull final PointerTracker tracker, final int delay) { argument
119 sendMessageDelayed(obtainMessage(messageId, tracker), delay);
220 public void postDismissKeyPreview(@Nonnull final Key key, final long delay) { argument
221 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, key), delay);
224 public void postDismissGestureFloatingPreviewText(final long delay) { argument
225 sendMessageDelayed(obtainMessage(MSG_DISMISS_GESTURE_FLOATING_PREVIEW_TEXT), delay);
86 startKeyRepeatTimerOf(@onnull final PointerTracker tracker, final int repeatCount, final int delay) argument
/packages/services/Car/service/src/com/android/car/systeminterface/
H A DSystemStateInterface.java47 void scheduleActionForBootCompleted(Runnable action, Duration delay); argument
118 public void scheduleActionForBootCompleted(Runnable action, Duration delay) { argument
119 if (MIN_BOOT_COMPLETE_ACTION_DELAY.compareTo(delay) < 0) {
121 delay = MIN_BOOT_COMPLETE_ACTION_DELAY;
129 mActionsList.add(Pair.create(action, delay));
/packages/apps/Dialer/java/com/android/dialer/animation/
H A DAnimUtils.java83 final View fadeIn, int durationMs, int delay, final AnimationCallback callback) {
88 animator.setStartDelay(delay);
125 * @param startDelayMs The delay to applying the scaling in milliseconds.
82 fadeIn( final View fadeIn, int durationMs, int delay, final AnimationCallback callback) argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestTimer.java99 public void schedule(TimerTask task, long delay) { argument
100 long executeTime = mNow + delay;
105 public void schedule(TimerTask task, long delay, long period) { argument
115 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { argument
H A DTestScheduledExecutorService.java120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
121 TestFuture future = new TestFuture(command, delay, unit);
127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument
139 long delay, TimeUnit unit) {
185 final long delay; field in class:TestScheduledExecutorService.TestFuture
188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { argument
190 this.delay = delay;
138 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java186 public void schedule(TimerTask task, long delay) { argument
187 if (delay == 0) {
191 e.mScheduledTime = mClock.getTime() + delay;
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
H A DAnimUtils.java88 public static void fadeIn(final View fadeIn, int durationMs, int delay, argument
94 animator.setStartDelay(delay);
126 * @param startDelayMs The delay to applying the scaling in milliseconds.
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleAutoclickPreferenceFragment.java38 /** Min allowed autoclick delay value. */
40 /** Max allowed autoclick delay value. */
43 * Allowed autoclick delay values are discrete. This is the difference between two allowed
50 * placeholder for integer delay value.
61 * Seek bar preference for autoclick delay value. The seek bar has values between 0 and
62 * number of possible discrete autoclick delay values. These will have to be converted to actual
63 * delay values before saving them in settings.
69 * delay.
71 * @param delay Delay for whose value summary should be retrieved.
73 static CharSequence getAutoclickPreferenceSummary(Resources resources, int delay) { argument
82 getAutoclickPreferenceSummaryIndex(int delay) argument
177 delayToSeekBarProgress(int delay) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DContactsExecutors.java111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { argument
113 .fromRunnable(mHandler, delay, unit, command);
114 mHandler.postDelayed(future, unit.toMillis(delay));
120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument
121 final HandlerFuture<V> future = new HandlerFuture<>(mHandler, delay, unit, callable);
122 mHandler.postDelayed(future, unit.toMillis(delay));
136 long delay, TimeUnit unit) {
180 private HandlerFuture(Handler handler, long delay, TimeUnit timeUnit, Callable<T> task) { argument
182 mDelayMillis = timeUnit.toMillis(delay);
231 public static HandlerFuture<Void> fromRunnable(Handler handler, long delay, TimeUni argument
135 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/settings/
H A DSettingsActivity.java182 final String delay = (String) newValue;
183 updateAutoSnoozeSummary((ListPreference) pref, delay);
264 String delay = autoSilencePref.getValue();
265 updateAutoSnoozeSummary(autoSilencePref, delay);
318 private void updateAutoSnoozeSummary(ListPreference listPref, String delay) { argument
319 int i = Integer.parseInt(delay);
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
H A DDotAnswerHint.java262 long delay,
273 set.play(scaleX).with(scaleY).after(delay);
278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) {
282 alpha.setStartDelay(delay);
256 createUniformScaleAnimator( View target, float original, float begin, float end, long duration, long delay, Interpolator interpolator) argument
277 createAlphaAnimator( View target, float begin, float end, long duration, long delay, Interpolator interpolator) argument
H A DPawAnswerHint.java216 long delay,
225 set.play(scaleX).with(scaleY).after(delay);
230 View target, float begin, float end, long duration, long delay, Interpolator interpolator) {
234 alpha.setStartDelay(delay);
211 createUniformScaleAnimator( View target, float scaleBegin, float scaleEnd, long duration, long delay, Interpolator interpolator) argument
229 createAlphaAnimator( View target, float begin, float end, long duration, long delay, Interpolator interpolator) argument
/packages/apps/Gallery/src/com/android/camera/
H A DImageGetter.java302 public void postDelayedGetterCallback(Runnable callback, long delay) { argument
309 sendMessageDelayed(message, 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/TV/tuner/src/com/android/tv/tuner/cc/
H A DCaptionTrackRenderer.java137 delay((int) event.obj);
284 private void delay(int tenthsOfSeconds) { method in class:CaptionTrackRenderer
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseDialogFragment.java129 // delay a little so we can make sure all hardware layer is created before
199 * @param delay delay in ms
204 public void prepareAndAnimateView(final View v, float initAlpha, float initTransX, int delay, argument
211 v.animate().alpha(1f).translationX(0).setDuration(duration).setStartDelay(delay);
H A DDialogFragment.java89 * @param delay delay in ms
94 protected void prepareAndAnimateView(final View v, float initAlpha, float initTransX, int delay, argument
97 v, initAlpha, initTransX, delay, duration, interpolator, isIcon);
/packages/services/BuiltInPrintService/src/com/android/bips/
H A DBuiltInPrintService.java210 public DelayedAction delay(int delay, Runnable toRun) { argument
211 mMainHandler.postDelayed(toRun, delay);

Completed in 2555 milliseconds

123