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

1234567

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DRetryManagerTest.java155 long delay = rm.getDelayForNextApn(false);
156 assertEquals(RetryManager.NO_RETRY, delay);
160 delay = rm.getDelayForNextApn(false);
161 assertEquals(RetryManager.NO_RETRY, delay);
183 long delay = rm.getDelayForNextApn(false);
184 assertEquals(RetryManager.NO_RETRY, delay);
205 long delay = rm.getDelayForNextApn(false);
206 assertEquals(2000, delay);
210 delay = rm.getDelayForNextApn(false);
211 assertEquals(3000, delay);
[all...]
/frameworks/base/core/java/android/os/
H A DCountDownTimer.java134 long delay;
137 // just delay until done
138 delay = millisLeft - lastTickDuration;
141 // complete, trigger onFinish without delay
142 if (delay < 0) delay = 0;
144 delay = mCountdownInterval - lastTickDuration;
148 while (delay < 0) delay += mCountdownInterval;
151 sendMessageDelayed(obtainMessage(MSG), delay);
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayMix_16x16.c29 LVM_INT16 *delay, /* Delay buffer */
42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1);
46 delay[Offset] = *src;
52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1);
56 delay[Offset] = *src;
60 /* Make the reverb delay buffer a circular buffer */
74 LVM_FLOAT *delay, /* Delay buffer */
87 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f);
91 delay[Offset] = *src;
97 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst - (LVM_FLOAT)delay[Offse
28 DelayMix_16x16(const LVM_INT16 *src, LVM_INT16 *delay, LVM_INT16 size, LVM_INT16 *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument
73 DelayMix_Float(const LVM_FLOAT *src, LVM_FLOAT *delay, LVM_INT16 size, LVM_FLOAT *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument
[all...]
H A DDelayWrite_32.c29 LVM_INT32 *delay, /* Delay buffer */
39 delay[Offset] = *src;
43 /* Make the delay buffer a circular buffer */
28 DelayWrite_32(const LVM_INT32 *src, LVM_INT32 *delay, LVM_UINT16 size, LVM_UINT16 *pOffset, LVM_INT16 n) argument
H A DDelayAllPass_Sat_32x16To32.c30 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */ argument
33 LVM_UINT16 DelayOffset, /* Simple delay offset */
34 LVM_UINT16 *pAllPassOffset, /* All pass filter delay offset */
46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15)
48 b = delay[DelayOffset];
69 b = delay[AllPassOffset];
82 delay[AllPassOffset] = c;
85 /* Make the delay buffer a circular buffer */
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DExponentialBackoffTest.java72 long delay = mBackoffUnderTest.getCurrentDelay();
73 waitForHandlerActionDelayed(mHandler, delay, 2 * delay);
94 long delay = mBackoffUnderTest.getCurrentDelay();
97 assertTrue("delay = " + delay + " minDelay = " + minDelay, delay >= minDelay);
98 assertTrue("delay = " + delay + " maxDelay = " + maxDelay, delay <
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationIconDozeHelper.java45 public void setImageDark(ImageView target, boolean dark, boolean fade, long delay, argument
49 fadeImageColorFilter(target, dark, delay);
50 fadeImageAlpha(target, dark, delay);
52 fadeGrayscale(target, dark, delay);
64 private void fadeImageColorFilter(final ImageView target, boolean dark, long delay) { argument
67 }, dark, delay, null /* listener */);
70 private void fadeImageAlpha(final ImageView target, boolean dark, long delay) { argument
74 }, dark, delay, null /* listener */);
H A DNotificationDozeHelper.java37 public void fadeGrayscale(final ImageView target, final boolean dark, long delay) { argument
43 }, dark, delay, new AnimatorListenerAdapter() {
67 boolean dark, long delay, Animator.AnimatorListener listener) {
74 animator.setStartDelay(delay);
82 boolean animate, long delay, View view) {
84 startIntensityAnimation(a -> listener.accept((Float) a.getAnimatedValue()), dark, delay,
66 startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, boolean dark, long delay, Animator.AnimatorListener listener) argument
81 setIntensityDark(Consumer<Float> listener, boolean dark, boolean animate, long delay, View view) argument
/frameworks/base/core/java/com/android/internal/view/
H A DSurfaceFlingerVsyncChoreographer.java72 final long delay = calculateDelay();
73 if (delay <= 0) {
76 mHandler.postDelayed(r, delay);
81 final long delay = calculateDelay();
82 if (delay <= 0) {
86 h.sendMessageDelayed(m, delay);
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java85 handler.postDelayed(handlerAction.action, handlerAction.delay);
108 return mActions[index].delay;
113 final long delay; field in class:HandlerActionQueue.HandlerAction
115 public HandlerAction(Runnable action, long delay) { argument
117 this.delay = delay;
/frameworks/support/leanback/kitkat/androidx/leanback/transition/
H A DCustomChangeBounds.java31 * change bounds that support customized start delay.
37 // View -> delay
39 // id -> delay
41 // Class.getName() -> delay
45 Integer delay = mViewStartDelays.get(view);
46 if (delay != null) {
47 return delay;
53 delay = mClassStartDelays.get(view.getClass().getName());
54 if (delay != null) {
55 return delay;
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DConfigurator.java205 * Sets a delay between key presses when injecting text input.
208 * @param delay Delay value in milliseconds
212 public Configurator setKeyInjectionDelay(long delay) { argument
213 mKeyInjectionDelay = delay;
218 * Gets the current delay between key presses when injecting text input.
221 * @return current delay in milliseconds
/frameworks/base/core/java/com/android/internal/graphics/
H A DSfVsyncFrameCallbackProvider.java60 public void setFrameDelay(long delay) { argument
61 Choreographer.setFrameDelay(delay);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationCreator.java26 void createAnimation(T animatedObject, long delay, long duration, argument
H A DAppearAnimationUtils.java92 long delay = columns[0];
101 creator.createAnimation(objects[row], delay, mDuration,
120 long delay = columns[col];
125 creator.createAnimation(objects[row][col], delay, mDuration,
139 long delay = calculateDelay(row, 0);
140 mProperties.delays[row][0] = delay;
141 if (items[row] != null && delay > maxDelay) {
142 maxDelay = delay;
159 long delay = calculateDelay(row, col);
160 mProperties.delays[row][col] = delay;
184 createAnimation(final View view, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, final Runnable endRunnable) argument
225 startTranslationYAnimation(View view, long delay, long duration, float endTranslationY, Interpolator interpolator) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAnimationProperties.java32 public long delay; field in class:AnimationProperties
98 public AnimationProperties setDelay(long delay) { argument
99 this.delay = delay;
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DCustomSnackbarUsage.java53 public void animateContentIn(int delay, int duration) {
56 .setStartDelay(delay).start();
60 public void animateContentOut(int delay, int duration) {
63 .setStartDelay(delay).start();
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DCustomSnackbarUsage.java53 public void animateContentIn(int delay, int duration) {
56 .setStartDelay(delay).start();
60 public void animateContentOut(int delay, int duration) {
63 .setStartDelay(delay).start();
/frameworks/base/core/java/android/view/animation/
H A DLayoutAnimationController.java33 * is used by {@link android.view.ViewGroup} to compute the delay by which each
34 * child's animation start must be offset. The delay is computed by using
37 * This standard implementation computes the delay by multiplying a fixed
41 * of computing the delay. For instance, a
43 * delay based on the column and row indices of the child in its parent view
46 * Information used to compute the animation delay of each child are stored
128 * Creates a new layout animation controller with a delay of 50%
138 * Creates a new layout animation controller with the specified delay
142 * @param delay the delay b
144 LayoutAnimationController(Animation animation, float delay) argument
283 setDelay(float delay) argument
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DKeyValueBackupJob.java54 public static void schedule(Context ctx, long delay, BackupManagerConstants constants) { argument
71 if (delay <= 0) {
72 delay = interval + new Random().nextInt((int) fuzz);
75 Slog.v(TAG, "Scheduling k/v pass in " + (delay / 1000 / 60) + " minutes");
78 .setMinimumLatency(delay)
85 sNextScheduled = System.currentTimeMillis() + delay;
/frameworks/base/core/java/android/animation/
H A DAnimationHandler.java91 * Register to get a callback on the next frame after the delay.
93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { argument
101 if (delay > 0) {
102 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay));
169 * Remove the callbacks from mDelayedCallbackStartTime once they have passed the initial delay
172 * @return true if they have passed the initial delay or have no delay, false otherwise.
197 public static void setFrameDelay(long delay) { argument
198 getInstance().getProvider().setFrameDelay(delay);
267 public void setFrameDelay(long delay) { argument
315 setFrameDelay(long delay) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java41 public RankingReconsideration(String key, long delay) { argument
42 mDelay = delay;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DWnmData.java42 public WnmData(long bssid, String url, boolean ess, int delay) { argument
46 mDelay = delay;
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
H A DAnimationHandler.java119 * Register to get a callback on the next frame after the delay.
121 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { argument
129 if (delay > 0) {
130 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay));
161 * Remove the callbacks from mDelayedCallbackStartTime once they have passed the initial delay
164 * @return true if they have passed the initial delay or have no delay, false otherwise.
216 * a Runnable to the main thread Handler with a delay.
238 long delay = FRAME_DELAY_MS - (SystemClock.uptimeMillis() - mLastFrameTime);
239 delay
[all...]
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java70 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
71 if (delay > 1000) {
72 Log.w(mTag, "Notification sound delayed by " + delay + "msecs");
102 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
103 if (delay > 1000) {
104 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");

Completed in 569 milliseconds

1234567