Searched defs:delay (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ds_lt_pred_status.h159 Int delay[MAX_SHORT_WINDOWS]; member in struct:__anon286
H A Dps_allocate_decoder.cpp249 int delay; local
253 delay = 2;
255 ptr4 += delay;
258 ptr5 += delay;
265 delay = SHORT_DELAY;
269 delay = LONG_DELAY;
273 ptr1 += delay;
276 ptr1 += delay;
H A Dlong_term_prediction.cpp70 delay = buffer (Int) containing delays for each window.
122 y(n) = weight * x(n - delay)
127 delay ----- optimal delay from 0 to 2047
174 lag = delay[0];
213 delay[wnd] = delay[0] + ltp_short_lag[wnd];
215 lag = delay[wnd];
352 const Int delay[],
417 lag = delay[
349 long_term_prediction( WINDOW_SEQUENCE win_seq, const Int weight_index, const Int delay[], const Int16 buffer[], const Int buffer_offset, const Int32 time_quant[], Int32 predicted_samples[], const Int frame_length) argument
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A Djpeg_decoder_bench.cpp62 int64_t delay = getNowUs() - startTime; local
64 printf("Decoding Time in BoundsMode %.1f msec.\n", delay / 1000.0f);
79 int64_t delay = getNowUs() - startTime; local
80 printf("Decoding Time in PixelsMode %.1f msec.\n", delay / 1000.0f);
/frameworks/base/core/java/android/view/animation/
H A DLayoutAnimationController.java31 * is used by {@link android.view.ViewGroup} to compute the delay by which each
32 * child's animation start must be offset. The delay is computed by using
35 * This standard implementation computes the delay by multiplying a fixed
39 * of computing the delay. For instance, a
41 * delay based on the column and row indices of the child in its parent view
44 * Information used to compute the animation delay of each child are stored
126 * Creates a new layout animation controller with a delay of 50%
136 * Creates a new layout animation controller with the specified delay
140 * @param delay the delay b
142 LayoutAnimationController(Animation animation, float delay) argument
281 setDelay(float delay) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DDeviceStorageMonitorService.java244 private void postCheckMemoryMsg(boolean clearCache, long delay) { argument
249 delay);
H A DSensorService.java69 void addSensor(int sensor, int delay) { argument
71 if (delay < mDelay)
72 mDelay = delay;
105 // TODO: we should recalculate the delay, since removing
230 // calculate and set the new delay
262 pr.println(mListeners.size() + " listener(s), delay=" + mCurrentDelay + " ms");
267 ", delay=" +
H A DVibratorService.java286 private void delay(long duration) { method in class:VibratorService.VibrateThread
320 delay(duration);
327 // duration is saved for delay() at top of loop
H A DWindowManagerService.java3673 // If we are preparing an app transition, then delay changing
7111 // to delay showing the surface until all windows in a token are ready
9201 // delay a bit so we don't interrupt the animation.
10786 void requestAnimationLocked(long delay) { argument
10789 mH.sendMessageDelayed(mH.obtainMessage(H.ANIMATE), delay);
/frameworks/base/camera/libcameraservice/
H A DCameraHardwareStub.cpp170 int delay = (int)(1000000.0f / float(previewFrameRate)); local
190 usleep(delay);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp483 nsecs_t delay = frameDuration - (now - lastFrame); local
/frameworks/base/cmds/stagefright/
H A Dstagefright.cpp242 int64_t delay = getNowUs() - startTime; local
244 printf("avg. %.2f fps\n", n * 1E6 / delay);
253 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / 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);
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java75 * @param delay The delay after each request (in seconds).
80 int delay, int timeout) throws IOException {
161 Thread.sleep(delay * 1000);
182 int delay, int timeout) throws IOException {
184 delay, timeout);
78 fetch(SSLSocketFactory socketFactory, String host, int port, boolean secure, String path, int outerLoop, int innerLoop, int delay, int timeout) argument
180 fetch(String host, int port, boolean secure, String path, int outerLoop, int innerLoop, int delay, int timeout) argument
/frameworks/base/core/java/android/content/
H A DSyncManager.java106 * When retrying a sync for the first time use this delay. After that
190 scheduleSync(null /* account */, null /* authority */, new Bundle(), 0 /* delay */,
237 scheduleSync(null, null, null, 0 /* no delay */, onlyThoseWithUnkownSyncableState);
323 scheduleSync(null, type.authority, null, 0 /* no delay */,
510 * @param delay how many milliseconds in the future to wait before performing this
514 Bundle extras, long delay, boolean onlyThoseWithUnkownSyncableState) {
524 delay = -1; // this means schedule at the front of the queue
615 + " delay " + delay
622 new SyncOperation(account, source, authority, extras, delay));
513 scheduleSync(Account requestedAccount, String requestedAuthority, Bundle extras, long delay, boolean onlyThoseWithUnkownSyncableState) argument
[all...]
/frameworks/base/libs/surfaceflinger/
H A DSurfaceFlinger.cpp465 void SurfaceFlinger::signalDelayedEvent(nsecs_t delay) argument
467 mEventQueue.postMessage( new MessageBase(MessageQueue::INVALIDATE), delay);
1140 uint32_t SurfaceFlinger::setTransactionFlags(uint32_t flags, nsecs_t delay) argument
1144 if (delay > 0) {
1145 signalDelayedEvent(delay);
/frameworks/base/media/java/android/media/
H A DAudioService.java80 /** How long to delay before persisting a change in volume/ringer mode. */
1248 int existingMsgPolicy, int arg1, int arg2, Object obj, int delay) {
1258 .sendMessageDelayed(handler.obtainMessage(msg, arg1, arg2, obj), delay);
1724 // and persist with no delay as there might be registered observers of the persisted
1812 // introduction of a delay for transient disconnections of docks when
1814 // we reconnect the dock under a preset delay
1247 sendMsg(Handler handler, int baseMsg, int streamType, int existingMsgPolicy, int arg1, int arg2, Object obj, int delay) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateTracker.java129 * within the delay window, we immediately handle the pending
131 * The five second delay is chosen somewhat arbitrarily, but is
145 * to restart scanning. Wait this delay before asking it to start
146 * scanning (in case it forgot). 15 sec is the standard delay between
1022 * supplicant sent us a DISCONNECTED event, we delay
1307 * by a reconnect to the same access point. Therefore, we delay resetting
2124 * @param delay time in milliseconds after which the notification should be made
2127 public void setNotificationVisible(boolean visible, int numNetworks, boolean force, int delay) { argument
2180 mTarget.sendMessageDelayed(message, delay);
2235 * early because there is a delay befor
[all...]
/frameworks/base/core/java/android/view/
H A DViewRoot.java3286 handlerAction.delay = delayMillis;
3313 handler.postDelayed(handlerAction.action, handlerAction.delay);
3322 long delay; field in class:ViewRoot.RunQueue.HandlerAction
3337 result = 31 * result + (int) (delay ^ (delay >>> 32));
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java1413 private synchronized void sendMessageDelayed(Message msg, long delay) { argument
1417 mHandler.sendMessageDelayed(msg, delay);
1508 void sendMessageDelayed(int what, Object obj, long delay) { argument
1509 mEventHub.sendMessageDelayed(Message.obtain(null, what, obj), delay);
1621 * delay between {@link #didFirstLayout} and
H A DWebView.java2155 // Called by JNI to invalidate the View after a delay, given rectangle
2157 private void viewInvalidateDelayed(long delay, int l, int t, int r, int b) { argument
2160 postInvalidateDelayed(delay,

Completed in 537 milliseconds