Searched refs:delay (Results 76 - 100 of 107) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java117 long delay = recon.getDelay(TimeUnit.MILLISECONDS);
118 mRankingHandler.sendMessageDelayed(m, delay);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java86 * only appears after a short delay. The info area appears below the main
194 * or if it should be delayed. The default behavior is to delay this
204 * @param delay True (default) if the selected animation should be delayed
208 public void setSelectedAnimationDelayed(boolean delay) { argument
209 mDelaySelectedAnim = delay;
216 * @return true if this card is set to delay the selected animation the next
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java255 long delay = timeout - SystemClock.uptimeMillis();
256 if (delay <= 0) {
261 Slog.d(TAG, "waitForDefaultDisplay: waiting, timeout=" + delay);
264 mSyncRoot.wait(delay);
H A DDisplayPowerController.java98 // Proximity sensor debounce delay in milliseconds for positive or negative transitions.
619 // without any delay.
764 long delay = SystemClock.elapsedRealtime() - mScreenOnBlockStartRealTime;
765 Slog.i(TAG, "Unblocked screen on after " + delay + " ms");
970 // stable for the entire debounce delay. We hold a wake lock while
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp376 int64_t delay = getNowUs() - startTime; local
378 printf("avg. %.2f fps\n", n * 1E6 / delay);
391 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay);
/frameworks/base/core/java/android/transition/
H A DTransition.java236 // The function for calculating the Animation start delay.
347 * Sets the startDelay of this transition. By default, there is no delay
349 * the transition will have its own specified startDelay. If the delay of a
350 * Transition is set, that delay will override the Animator delay.
352 * @param startDelay The length of the delay, in milliseconds.
440 * delay between that start and the child Transition start time. For
770 long delay = mPropagation
772 startDelays.put(mAnimators.size(), delay);
773 minStartDelay = Math.min(delay, minStartDela
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp141 Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized);
539 /* check rate control and vbv delay*/
2195 /* Purpose : Update VBV buffer size(in delay) */
2202 Bool PVUpdateVBVDelay(VideoEncControls *encCtrl, float delay) argument
2216 /* Check whether the input delay is valid based on the given profile */
2223 if (total_bitrate*delay > (float)max_buffer_size)
2226 encData->encParams->VBV_delay = delay;
2993 Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized) argument
3062 base_VBV_size = PV_MAX((Int)(base_bitrate * delay),
3101 enhance_VBV_size = PV_MAX((Int)((total_bitrate - base_bitrate) * delay),
[all...]
H A Drate_control.cpp429 extern Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized);
628 // not necessary bound = 10; /* 1/17/02 -- For Low delay */
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java1289 // format: HS20-DEAUTH-IMMINENT-NOTICE code, delay, url
1291 int delay = -1;
1296 delay = Integer.parseInt(dataTokens[2]);
1299 mStateMachine2.sendMessage(HS20_DEAUTH_EVENT, code, delay, url);
H A DWifiStateMachine.java267 int delay = 30 * 1000;
269 sendMessageDelayed(CMD_RESTART_AUTOJOIN_OFFLOAD, delay,
271 (long)delay);
3470 int delay = 30 * 1000 + CONNECTED_SHORT_SCANS_DURATION_MILLI;
3471 sendMessageDelayed(CMD_RESTART_AUTOJOIN_OFFLOAD, delay,
3473 (long)delay);
3516 int delay = 30 * 1000 + DISCONNECTED_SHORT_SCANS_DURATION_MILLI;
3517 sendMessageDelayed(CMD_RESTART_AUTOJOIN_OFFLOAD, delay,
3519 (long)delay);
5534 //TODO: Re-establish connection to state machine after a delay
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java822 long delay;
843 delay = NTP_INTERVAL;
847 delay = mNtpBackOff.nextBackoffMillis();
855 mHandler.sendEmptyMessageDelayed(INJECT_NTP_TIME, delay);
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java27 * can be set up to play together, in sequence, or after a specified delay.
112 // The amount of time in ms to delay starting the animation after start() is called
134 * start until that delay elapses, which means that if the first animator in the list
408 * The amount of time, in milliseconds, to delay starting the animation after
411 * @return the number of milliseconds to delay running the animation
419 * The amount of time, in milliseconds, to delay starting the animation after
422 * @param startDelay The amount of the delay, in milliseconds
1249 * @param delay The number of milliseconds that should elapse before the
1252 public Builder after(long delay) { argument
1255 anim.setDuration(delay);
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java580 void scheduleSpamAlarm(long delay) { argument
583 mHandler.sendMessageDelayed(msg, delay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java464 public void animateToFullShade(long delay) { argument
466 mNotificationStackScroller.goToFullShade(delay);
1069 long delay = mStatusBarState == StatusBarState.SHADE_LOCKED
1075 .setStartDelay(delay)
1084 mQsContainerAnimator.setStartDelay(delay);
H A DPhoneStatusBar.java221 /** The minimum delay in ms between reports of notification visibility. */
225 * The delay to reset the hint text when the hint animation is finished running.
1007 // Decrease the delay for every row we animate to give the sense of
3222 public void postStartActivityDismissingKeyguard(final Intent intent, int delay) { argument
3228 }, delay);
3527 long delay = calculateGoingToFullShadeDelay();
3528 mNotificationPanel.animateToFullShade(delay);
3543 }, delay + StackStateAnimator.ANIMATION_DURATION_GO_TO_FULL_SHADE);
3588 * @param delay the precalculated animation delay i
3591 setKeyguardFadingAway(long startTime, long delay, long fadeoutDuration) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java698 * If the user hits another key within the play sound delay, then
706 * The user has hit another key during the delay (e.g., 300ms)
3146 * @return a delay in ms that the caller should wait before broadcasting
3153 int delay = 0;
3155 delay = service.setBluetoothA2dpDeviceConnectionState(device, state, profile);
3159 return delay;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java802 public void dismissViewAnimated(View child, Runnable endRunnable, int delay, long duration) { argument
803 mSwipeHelper.dismissChild(child, 0, endRunnable, delay, true, duration);
2449 public void goToFullShade(long delay) { argument
2454 mGoToFullShadeDelay = delay;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java1654 int delay = mDcRetryAlarmController.getSuggestedRetryTime(
1657 + " delay=" + delay
1678 } else if (delay >= 0) {
1681 mTag, delay);
1915 + " mTag=" + mTag + " delay=" + delayMillis + "ms");
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4763 // to 2 ticks per second, then there may be up to half a second delay between the next
5099 long delay = (long)(mConfigTickDistance / mFlingVelocity * 1000);
5100 postAtTime(mFlingRunnable, time + delay);
5103 + mFlingVelocity + ", delay=" + delay
6887 handlerAction.delay = delayMillis;
6914 handler.postDelayed(handlerAction.action, handlerAction.delay);
6923 long delay; field in class:ViewRootImpl.RunQueue.HandlerAction
6938 result = 31 * result + (int) (delay ^ (delay >>> 3
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DTouchExplorer.java441 // Deliver hover enter with a delay to have a chance
1499 public SendAccessibilityEventDelayed(int eventType, int delay) { argument
1501 mDelay = delay;
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java573 final long delay = (long) (mLongAnimationDuration
577 mHandler.sendMessageDelayed(message, delay);
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp1022 int64_t delay = (media_time * samplerate + 500000) / 1000000; local
1023 mLastTrack->meta->setInt32(kKeyEncoderDelay, delay);
2588 int32_t delay, padding; local
2590 " %*x %x %x %*x", &delay, &padding) == 2) {
2594 mLastTrack->meta->setInt32(kKeyEncoderDelay, delay);
H A DOMXCodec.cpp1740 int32_t delay = 0; local
1741 if (!meta->findInt32(kKeyEncoderDelay, &delay)) {
1742 delay = 0;
1749 if (delay + padding) {
1758 mSkipCutBuffer = new SkipCutBuffer(delay * frameSize, padding * frameSize);
/frameworks/base/services/core/java/com/android/server/audio/
H A DMediaFocusControl.java289 di.mRcDisplay /*obj*/, 0/*delay*/);
348 int existingMsgPolicy, int arg1, int arg2, Object obj, int delay) {
356 handler.sendMessageDelayed(handler.obtainMessage(msg, arg1, arg2, obj), delay);
1919 rcd /*obj*/, 0/*delay*/);
347 sendMsg(Handler handler, int msg, int existingMsgPolicy, int arg1, int arg2, Object obj, int delay) argument
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp3510 nsecs_t delay = mPolicy->interceptKeyBeforeDispatching(commandEntry->inputWindowHandle, local
3515 if (delay < 0) {
3517 } else if (!delay) {
3521 entry->interceptKeyWakeupTime = now() + delay;

Completed in 985 milliseconds

12345