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

12345

/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);
182 long delay = rm.getDelayForNextApn(false);
183 assertEquals(RetryManager.NO_RETRY, delay);
204 long delay = rm.getDelayForNextApn(false);
205 assertEquals(2000, delay);
209 delay = rm.getDelayForNextApn(false);
210 assertEquals(3000, delay);
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
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 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 */
28 DelayMix_16x16(const LVM_INT16 *src, LVM_INT16 *delay, LVM_INT16 size, LVM_INT16 *dst, LVM_INT16 *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/base/core/java/android/os/
H A DCountDownTimer.java129 // no tick, just delay until done
136 long delay = lastTickStart + mCountdownInterval - SystemClock.elapsedRealtime();
140 while (delay < 0) delay += mCountdownInterval;
142 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java87 handler.postDelayed(handlerAction.action, handlerAction.delay);
110 return mActions[index].delay;
115 final long delay; field in class:HandlerActionQueue.HandlerAction
117 public HandlerAction(Runnable action, long delay) { argument
119 this.delay = delay;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DKeyValueBackupJob.java60 public static void schedule(Context ctx, long delay) { argument
63 if (delay <= 0) {
64 delay = BATCH_INTERVAL + new Random().nextInt(FUZZ_MILLIS);
68 + (delay / 1000 / 60) + " minutes");
72 .setMinimumLatency(delay)
78 sNextScheduled = System.currentTimeMillis() + delay;
/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/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/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/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
314 setFrameDelay(long delay) argument
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DTestScheduledExecutorService.java116 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
117 TestFuture future = new TestFuture(command, delay, unit);
123 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument
135 long delay, TimeUnit unit) {
156 final long delay; field in class:TestScheduledExecutorService.TestFuture
159 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { argument
161 this.delay = delay;
134 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java41 public RankingReconsideration(String key, long delay) { argument
42 mDelay = delay;
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DUserInputListener.java41 * @param delay delay the number of seconds that the user will have to wait before
45 public void deAuthNotification(String spIdentity, boolean ess, int delay, URL url); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationOverflowContainer.java54 public void setDark(boolean dark, boolean fade, long delay) { argument
55 super.setDark(dark, fade, delay);
59 mViewInvertHelper.fade(dark, delay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationTemplateViewWrapper.java169 public void setDark(boolean dark, boolean fade, long delay) { argument
173 super.setDark(dark, fade, delay);
174 setPictureGrayscale(dark, fade, delay);
175 setProgressBarDark(dark, fade, delay);
178 private void setProgressBarDark(boolean dark, boolean fade, long delay) { argument
181 fadeProgressDark(mProgressBar, dark, delay);
188 private void fadeProgressDark(final ProgressBar target, final boolean dark, long delay) { argument
195 }, dark, delay, null /* listener */);
208 protected void setPictureGrayscale(boolean grayscale, boolean fade, long delay) { argument
211 fadeGrayscale(mPicture, grayscale, delay);
[all...]
H A DNotificationCustomViewWrapper.java54 public void setDark(boolean dark, boolean fade, long delay) { argument
58 super.setDark(dark, fade, delay);
61 mInvertHelper.fade(dark, delay);
68 fadeGrayscale(dark, delay);
75 protected void fadeGrayscale(final boolean dark, long delay) { argument
83 }, dark, delay, new AnimatorListenerAdapter() {
H A DNotificationHeaderViewWrapper.java162 public void setDark(boolean dark, boolean fade, long delay) { argument
166 super.setDark(dark, fade, delay);
168 mInvertHelper.fade(dark, delay);
179 fadeIconColorFilter(mIcon, dark, delay);
180 fadeIconAlpha(mIcon, dark, delay);
182 fadeGrayscale(mIcon, dark, delay);
195 private void fadeIconColorFilter(final ImageView target, boolean dark, long delay) { argument
201 }, dark, delay, null /* listener */);
204 private void fadeIconAlpha(final ImageView target, boolean dark, long delay) { argument
211 }, dark, delay, nul
214 fadeGrayscale(final ImageView target, final boolean dark, long delay) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java69 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
70 if (delay > 1000) {
71 Log.w(mTag, "Notification sound delayed by " + delay + "msecs");
101 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
102 if (delay > 1000) {
103 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackStateAnimator.java193 * @param fixedDelay a fixed delay if desired or -1 if the delay should be calculated
216 long delay = 0;
218 delay = fixedDelay;
220 delay = mCurrentAdditionalDelay + calculateChildAnimationDelay(viewState, finalState);
223 startViewAnimations(child, viewState, delay, duration);
227 startHeightAnimation(child, viewState, duration, delay);
234 startShadowAlphaAnimation(child, viewState, duration, delay);
241 startInsetAnimation(child, viewState, duration, delay);
254 delay, duratio
276 startViewAnimations(View child, ViewState viewState, long delay, long duration) argument
396 startShadowAlphaAnimation(final ExpandableView child, StackViewState viewState, long duration, long delay) argument
455 startHeightAnimation(final ExpandableView child, StackViewState viewState, long duration, long delay) argument
533 startInsetAnimation(final ExpandableView child, StackViewState viewState, long duration, long delay) argument
592 startAlphaAnimation(final View child, final ViewState viewState, long duration, long delay) argument
667 startZTranslationAnimation(final View child, final ViewState viewState, long duration, long delay) argument
720 startYTranslationAnimation(final View child, ViewState viewState, long duration, long delay) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWnmData.java80 private WnmData(long bssid, String url, boolean ess, int delay) { argument
84 mDelay = delay;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAutoclickController.java165 * Observes setting value for autoclick delay, and updates ClickScheduler delay whenever the
169 /** URI used to identify the autoclick delay setting with content resolver. */
183 * Starts the observer. And makes sure up-to-date autoclick delay is propagated to
188 * @param clickScheduler ClickScheduler that should be updated when click delay changes.
210 // Initialize mClickScheduler's initial delay value.
231 int delay = Settings.Secure.getIntForUser(
234 mClickScheduler.updateDelay(delay);
280 public ClickScheduler(Handler handler, int delay) { argument
285 mDelay = delay;
343 updateDelay(int delay) argument
352 rescheduleClick(int delay) argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
H A DVectorArithmetic.h71 LVM_INT16 *delay,
78 LVM_INT32 *delay, /* Delay buffer */
101 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */
104 LVM_UINT16 DelayOffset, /* Simple delay offset */
105 LVM_UINT16 *pAllPassOffset, /* All pass filter delay offset */
/frameworks/base/native/android/
H A Dchoreographer.cpp53 void postFrameCallbackDelayed(AChoreographer_frameCallback cb, void* data, nsecs_t delay);
112 AChoreographer_frameCallback cb, void* data, nsecs_t delay) {
114 FrameCallback callback{cb, data, now + delay};
128 mLooper->sendMessageDelayed(delay, this, m);
111 postFrameCallbackDelayed( AChoreographer_frameCallback cb, void* data, nsecs_t delay) argument

Completed in 532 milliseconds

12345