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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java605 long delay = 0;
607 delay = endDelay;
609 delay = 0;
611 delay = mSurfaceFlingerOffsetMs;
613 if (delay == 0) {
616 mHandler.postDelayed(endAction, delay);
/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java161 /** Used to delay the zoom controller dismissal. */
165 * we delay the setVisible(true) call until it is not null.
233 * Sets the delay between zoom callbacks as the user holds a zoom button.
235 * @param speed The delay in milliseconds between zoom callbacks.
438 private void dismissControlsDelayed(int delay) { argument
441 mHandler.sendEmptyMessageDelayed(MSG_DISMISS_ZOOM_CONTROLS, delay);
H A DSuggestionsAdapter.java94 * The amount of time we delay in the filter when the user presses the delete key.
127 // delay 500ms when deleting
135 long delay = constraint.length() < mPreviousLength ? DELETE_KEY_POST_DELAY : 0;
137 return delay;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java217 // int delay = mReverb.getReflectionsDelay();
218 // assertTrue(msg +": got incorrect reflections delay",
219 // ((float)delay > (float)(30 / DELAY_TOLERANCE)) &&
220 // ((float)delay < (float)(30 * DELAY_TOLERANCE)));
251 // TODO: change delay when early reflections are implemented
253 int delay = mReverb.getReverbDelay();
254 assertTrue(msg +": got incorrect reverb delay", delay < 5);
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java320 void postCheckMemoryMsg(boolean clearCache, long delay) { argument
325 delay);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp845 nsecs_t delay = frameDuration - (now - lastFrame); local
846 //ALOGD("%lld, %lld", ns2ms(now - lastFrame), ns2ms(delay));
849 if (delay > 0) {
851 spec.tv_sec = (now + delay) / 1000000000;
852 spec.tv_nsec = (now + delay) % 1000000000;
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUManager.java70 private static final String DEAUTH_DELAY = "deauth-delay";
373 public void deAuthNotification(String spIdentity, boolean ess, int delay, URL url) {
379 intent.putExtra(DEAUTH_DELAY, delay);
672 public void deauth(long bssid, boolean ess, int delay, String url) throws MalformedURLException { argument
673 Log.d(TAG, String.format("De-auth imminent on %s, delay %ss to '%s'",
675 delay,
677 mWifiNetworkAdapter.setHoldoffTime(delay * Constants.MILLIS_IN_A_SEC, ess);
680 mAppBridge.showDeauth(spName, ess, delay, url);
H A DOSUSocketFactory.java160 Utils.delay(ReconnectWait);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java218 * @param delay time in milliseconds after which the notification should be made
222 int delay) {
221 setNotificationVisible(boolean visible, int numNetworks, boolean force, int delay) argument
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java159 /** How long to delay before persisting a change in volume/ringer mode. */
162 /** How long to delay after a volume down event before unmuting a stream */
234 // retry delay in case of failure to indicate system ready to AudioFlinger
1405 // Called after a delay when volume down is pressed while muted
3015 // without delay to reset the SCO audio state and clear SCO clients.
3129 int delay = checkSendBecomingNoisyIntent(
3137 delay);
3154 0 /* delay */);
3259 int delay = checkSendBecomingNoisyIntent(
3263 makeA2dpDeviceUnavailableLater(toRemove.valueAt(i), delay);
3682 queueMsgUnderWakeLock(Handler handler, int msg, int arg1, int arg2, Object obj, int delay) argument
3692 sendMsg(Handler handler, int msg, int existingMsgPolicy, int arg1, int arg2, Object obj, int delay) argument
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp700 int32_t delay = 0; local
701 if (meta->findInt32(kKeyEncoderDelay, &delay)) {
702 msg->setInt32("encoder-delay", delay);
1347 int32_t delay = 0; local
1348 if (msg->findInt32("encoder-delay", &delay)) {
1349 meta->setInt32(kKeyEncoderDelay, delay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackAnimationHelper.java279 // Animate the tasks up - add some delay to match the divider animation
323 int delay = Math.min(ENTER_EXIT_NUM_ANIMATING_TASKS , taskIndexFromFront) *
326 .setStartDelay(AnimationProps.BOUNDS, delay)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java435 animateIconTint(dark ? 1.0f : 0.0f, 0 /* delay */, DEFAULT_TINT_ANIMATION_DURATION);
439 private void animateIconTint(float targetDarkIntensity, long delay, argument
455 mTintAnimator.setStartDelay(delay);
539 animateIconTint(mPendingDarkIntensity, 0 /* delay */, DEFAULT_TINT_ANIMATION_DURATION);
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java406 float delay = (System.nanoTime() - begin) / 1000.0f / 1000.0f / 1000.0f;
408 results.size(), delay));
H A DVibratorService.java668 private void delay(long duration) { method in class:VibratorService.VibrateThread
703 delay(duration);
710 // duration is saved for delay() at top of loop
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnContext.java217 * Save the modem suggested delay for retrying the current APN.
218 * This method is called when we get the suggested delay from RIL.
219 * @param delay The delay in milliseconds
221 public void setModemSuggestedDelay(long delay) { argument
222 mRetryManager.setModemSuggestedDelay(delay);
226 * Get the delay for trying the next APN setting if the current one failed.
228 * delay.
229 * @return The delay in milliseconds
342 * Check if apn reason is fast retry reason which should apply shorter delay betwee
[all...]
H A DDcTracker.java2306 private void startAlarmForReconnect(long delay, ApnContext apnContext) { argument
2319 log("startAlarmForReconnect: delay=" + delay + " action=" + intent.getAction()
2332 SystemClock.elapsedRealtime() + delay, alarmIntent);
2795 // Make sure our reconnect delay starts at the initial value
3065 * be a delay defined by {@link #getApnDelay()}.
3073 long delay = apnContext.getDelayForNextApn(mFailFast);
3076 if (delay >= 0) {
3077 if (DBG) log("onDataSetupCompleteError: Try next APN. delay = " + delay);
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java87 * only appears after a short delay. The info area appears below the main
204 * or if it should be delayed. The default behavior is to delay this
214 * @param delay True (default) if the selected animation should be delayed
218 public void setSelectedAnimationDelayed(boolean delay) { argument
219 mDelaySelectedAnim = delay;
226 * @return true if this card is set to delay the selected animation the next
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java288 public static void delay(long ms) { method in class:Utils
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java261 long delay = timeout - SystemClock.uptimeMillis();
262 if (delay <= 0) {
267 Slog.d(TAG, "waitForDefaultDisplay: waiting, timeout=" + delay);
270 mSyncRoot.wait(delay);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp380 int64_t delay = getNowUs() - startTime; local
382 printf("avg. %.2f fps\n", n * 1E6 / delay);
395 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationChildrenContainer.java820 public void setDark(boolean dark, boolean fade, long delay) { argument
822 mOverflowInvertHelper.setInverted(dark, fade, delay);
824 mNotificationHeaderWrapper.setDark(dark, fade, 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/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java954 long delay;
978 delay = NTP_INTERVAL;
982 delay = mNtpBackOff.nextBackoffMillis();
989 "onDemandTimeInjection=%s, refreshSuccess=%s, delay=%s",
992 delay);
998 mHandler.sendEmptyMessageDelayed(INJECT_NTP_TIME, delay);
/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...]

Completed in 849 milliseconds

12345