Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java155 long delay = rm.getDelayForNextApn(false); in testRetryManagerEmpty() local
156 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerEmpty()
160 delay = rm.getDelayForNextApn(false); in testRetryManagerEmpty()
161 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerEmpty()
182 long delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnNoRetry() local
183 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerOneApnNoRetry()
204 long delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnTwoRetries() local
205 assertEquals(2000, delay); in testRetryManagerOneApnTwoRetries()
209 delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnTwoRetries()
210 assertEquals(3000, delay); in testRetryManagerOneApnTwoRetries()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java92 long delay = columns[0]; in startAnimations() local
101 creator.createAnimation(objects[row], delay, mDuration, in startAnimations()
120 long delay = columns[col]; in startAnimations() local
125 creator.createAnimation(objects[row][col], delay, mDuration, in startAnimations()
139 long delay = calculateDelay(row, 0); in getDelays() local
140 mProperties.delays[row][0] = delay; in getDelays()
141 if (items[row] != null && delay > maxDelay) { in getDelays()
142 maxDelay = delay; in getDelays()
159 long delay = calculateDelay(row, col); in getDelays() local
160 mProperties.delays[row][col] = delay; in getDelays()
[all …]
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java144 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument
145 mDelay = delay; in LayoutAnimationController()
283 public void setDelay(float delay) { in setDelay() argument
284 mDelay = delay; in setDelay()
323 final long delay = getDelayForView(view) + mAnimation.getStartOffset(); in getAnimationForView() local
324 mMaxDelay = Math.max(mMaxDelay, delay); in getAnimationForView()
328 animation.setStartOffset(delay); in getAnimationForView()
378 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView() local
379 final long viewDelay = (long) (getTransformedIndex(params) * delay); in getDelayForView()
380 final float totalDelay = delay * params.count; in getDelayForView()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DDelayMix_16x16.c29 LVM_INT16 *delay, /* Delay buffer */ in DelayMix_16x16() argument
42 … temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
46 delay[Offset] = *src; in DelayMix_16x16()
52 … temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
56 delay[Offset] = *src; in DelayMix_16x16()
DDelayAllPass_Sat_32x16To32.c30 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */ in DelayAllPass_Sat_32x16To32() argument
46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15) in DelayAllPass_Sat_32x16To32()
48 b = delay[DelayOffset]; in DelayAllPass_Sat_32x16To32()
69 b = delay[AllPassOffset]; in DelayAllPass_Sat_32x16To32()
82 delay[AllPassOffset] = c; in DelayAllPass_Sat_32x16To32()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackStateAnimator.java216 long delay = 0; in startStackAnimations() local
218 delay = fixedDelay; in startStackAnimations()
220 delay = mCurrentAdditionalDelay + calculateChildAnimationDelay(viewState, finalState); in startStackAnimations()
223 startViewAnimations(child, viewState, delay, duration); in startStackAnimations()
227 startHeightAnimation(child, viewState, duration, delay); in startStackAnimations()
234 startShadowAlphaAnimation(child, viewState, duration, delay); in startStackAnimations()
241 startInsetAnimation(child, viewState, duration, delay); in startStackAnimations()
254 delay, duration); in startStackAnimations()
257 child.setDark(viewState.dark, mAnimationFilter.animateDark, delay); in startStackAnimations()
260 child.performAddAnimation(delay, mCurrentLength); in startStackAnimations()
[all …]
/frameworks/base/core/java/android/view/
DHandlerActionQueue.java87 handler.postDelayed(handlerAction.action, handlerAction.delay); in executeActions()
110 return mActions[index].delay; in getDelay()
115 final long delay; field in HandlerActionQueue.HandlerAction
117 public HandlerAction(Runnable action, long delay) { in HandlerAction() argument
119 this.delay = delay; in HandlerAction()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java60 public static void schedule(Context ctx, long delay) { in schedule() argument
63 if (delay <= 0) { in schedule()
64 delay = BATCH_INTERVAL + new Random().nextInt(FUZZ_MILLIS); in schedule()
68 + (delay / 1000 / 60) + " minutes"); in schedule()
72 .setMinimumLatency(delay) in schedule()
78 sNextScheduled = System.currentTimeMillis() + delay; in schedule()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java116 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument
117 TestFuture future = new TestFuture(command, delay, unit); in schedule()
123 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument
135 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument
156 final long delay; field in TestScheduledExecutorService.TestFuture
159 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture() argument
161 this.delay = delay; in TestFuture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationHeaderViewWrapper.java162 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
166 super.setDark(dark, fade, delay); in setDark()
168 mInvertHelper.fade(dark, delay); in setDark()
179 fadeIconColorFilter(mIcon, dark, delay); in setDark()
180 fadeIconAlpha(mIcon, dark, delay); in setDark()
182 fadeGrayscale(mIcon, dark, delay); in setDark()
195 private void fadeIconColorFilter(final ImageView target, boolean dark, long delay) { in fadeIconColorFilter() argument
201 }, dark, delay, null /* listener */); in fadeIconColorFilter()
204 private void fadeIconAlpha(final ImageView target, boolean dark, long delay) { in fadeIconAlpha() argument
211 }, dark, delay, null /* listener */); in fadeIconAlpha()
[all …]
DNotificationTemplateViewWrapper.java169 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
173 super.setDark(dark, fade, delay); in setDark()
174 setPictureGrayscale(dark, fade, delay); in setDark()
175 setProgressBarDark(dark, fade, delay); in setDark()
178 private void setProgressBarDark(boolean dark, boolean fade, long delay) { in setProgressBarDark() argument
181 fadeProgressDark(mProgressBar, dark, delay); in setProgressBarDark()
188 private void fadeProgressDark(final ProgressBar target, final boolean dark, long delay) { in fadeProgressDark() argument
195 }, dark, delay, null /* listener */); in fadeProgressDark()
208 protected void setPictureGrayscale(boolean grayscale, boolean fade, long delay) { in setPictureGrayscale() argument
211 fadeGrayscale(mPicture, grayscale, delay); in setPictureGrayscale()
DNotificationCustomViewWrapper.java54 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
58 super.setDark(dark, fade, delay); in setDark()
61 mInvertHelper.fade(dark, delay); in setDark()
68 fadeGrayscale(dark, delay); in setDark()
75 protected void fadeGrayscale(final boolean dark, long delay) { in fadeGrayscale() argument
83 }, dark, delay, new AnimatorListenerAdapter() { in fadeGrayscale()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { in addAnimationFrameCallback() argument
101 if (delay > 0) { in addAnimationFrameCallback()
102 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay)); in addAnimationFrameCallback()
197 public static void setFrameDelay(long delay) { in setFrameDelay() argument
198 getInstance().getProvider().setFrameDelay(delay); in setFrameDelay()
267 public void setFrameDelay(long delay) { in setFrameDelay() argument
268 Choreographer.setFrameDelay(delay); in setFrameDelay()
314 void setFrameDelay(long delay); in setFrameDelay() argument
/frameworks/base/core/java/android/os/
DCountDownTimer.java136 long delay = lastTickStart + mCountdownInterval - SystemClock.elapsedRealtime();
140 while (delay < 0) delay += mCountdownInterval;
142 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java281 long delay = Math.max(0, startTime + HIDE_TIMING_CORRECTION_MS - uptimeMillis); in hide() local
320 mPhoneStatusBar.setKeyguardFadingAway(startTime, delay, fadeoutDuration); in hide()
336 animateScrimControllerKeyguardFadingOut(delay, fadeoutDuration, in hide()
340 mScrimController.animateGoingToFullShade(delay, fadeoutDuration); in hide()
356 private void animateScrimControllerKeyguardFadingOut(long delay, long duration, in animateScrimControllerKeyguardFadingOut() argument
358 animateScrimControllerKeyguardFadingOut(delay, duration, null /* endRunnable */, in animateScrimControllerKeyguardFadingOut()
362 private void animateScrimControllerKeyguardFadingOut(long delay, long duration, in animateScrimControllerKeyguardFadingOut() argument
365 mScrimController.animateKeyguardFadingOut(delay, duration, new Runnable() { in animateScrimControllerKeyguardFadingOut()
470 long delay = getNavBarShowDelay(); in updateStates() local
471 if (delay == 0) { in updateStates()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java231 int delay = Settings.Secure.getIntForUser( in onChange() local
234 mClickScheduler.updateDelay(delay); in onChange()
280 public ClickScheduler(Handler handler, int delay) { in ClickScheduler() argument
285 mDelay = delay; in ClickScheduler()
343 public void updateDelay(int delay) { in updateDelay() argument
344 mDelay = delay; in updateDelay()
352 private void rescheduleClick(int delay) { in rescheduleClick() argument
353 long clickTime = SystemClock.uptimeMillis() + delay; in rescheduleClick()
369 mHandler.postDelayed(this, delay); in rescheduleClick()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java69 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound() local
70 if (delay > 1000) { in startSound()
71 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); in startSound()
101 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run() local
102 if (delay > 1000) { in run()
103 Log.w(mTag, "Notification stop delayed by " + delay + "msecs"); in run()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java528 long delay; in getDelayForNextApn() local
535 delay = getRetryTimer(); in getDelayForNextApn()
539 delay = mInterApnDelay; in getDelayForNextApn()
542 if (failFastEnabled && delay > mFailFastInterApnDelay) { in getDelayForNextApn()
547 delay = mFailFastInterApnDelay; in getDelayForNextApn()
550 return delay; in getDelayForNextApn()
617 public void setModemSuggestedDelay(long delay) { in setModemSuggestedDelay() argument
618 mModemSuggestedDelay = delay; in setModemSuggestedDelay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DViewInvertHelper.java63 public void fade(final boolean invert, long delay) { in fade() argument
88 animator.setStartDelay(delay); in fade()
119 public void setInverted(boolean invert, boolean fade, long delay) { in setInverted() argument
121 fade(invert, delay); in setInverted()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java396 long delay = endTime - SystemClock.elapsedRealtime(); in run() local
397 if (delay <= 0) { in run()
401 int status = (int)((MAX_BROADCAST_TIME - delay) * 1.0 * in run()
406 mActionDoneSync.wait(Math.min(delay, PHONE_STATE_POLL_SLEEP_MSEC)); in run()
472 long delay = endShutTime - SystemClock.elapsedRealtime(); in run() local
473 if (delay <= 0) { in run()
477 int status = (int)((MAX_SHUTDOWN_WAIT_TIME - delay) * 1.0 * in run()
484 mActionDoneSync.wait(Math.min(delay, PHONE_STATE_POLL_SLEEP_MSEC)); in run()
569 long delay = endTime - SystemClock.elapsedRealtime(); in shutdownRadios()
570 while (delay > 0) { in shutdownRadios()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationOverflowContainer.java54 public void setDark(boolean dark, boolean fade, long delay) { in setDark() argument
55 super.setDark(dark, fade, delay); in setDark()
59 mViewInvertHelper.fade(dark, delay); in setDark()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DTransitionHelperKitkat.java92 Integer delay = mViewStartDelays.get(view); in getDelay() local
93 if (delay != null) { in getDelay()
94 return delay; in getDelay()
100 delay = mClassStartDelays.get(view.getClass().getName()); in getDelay()
101 if (delay != null) { in getDelay()
102 return delay; in getDelay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java157 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound() local
158 if (delay > 1000) { in startSound()
159 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); in startSound()
189 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run() local
190 if (delay > 1000) { in run()
191 Log.w(mTag, "Notification stop delayed by " + delay + "msecs"); in run()
/frameworks/base/native/android/
Dchoreographer.cpp53 void postFrameCallbackDelayed(AChoreographer_frameCallback cb, void* data, nsecs_t delay);
112 AChoreographer_frameCallback cb, void* data, nsecs_t delay) { in postFrameCallbackDelayed() argument
114 FrameCallback callback{cb, data, now + delay}; in postFrameCallbackDelayed()
128 mLooper->sendMessageDelayed(delay, this, m); in postFrameCallbackDelayed()
/frameworks/base/core/java/android/hardware/
DSensorManager.java780 int delay = getDelay(samplingPeriodUs); in registerListener() local
781 return registerListenerImpl(listener, sensor, delay, null, maxReportLatencyUs, 0); in registerListener()
815 int delay = getDelay(samplingPeriodUs); in registerListener() local
816 return registerListenerImpl(listener, sensor, delay, handler, 0, 0); in registerListener()
1796 int delay = -1; in getDelay() local
1799 delay = 0; in getDelay()
1802 delay = 20000; in getDelay()
1805 delay = 66667; in getDelay()
1808 delay = 200000; in getDelay()
1811 delay = rate; in getDelay()
[all …]

1234567