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

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
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 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 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/native/services/sensorservice/
H A DSensorDevice.h43 Info() : delay(0) { }
45 nsecs_t delay; member in struct:android::SensorDevice::Info
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp194 // 'dlay' box specifies a delay after a scroll in and/or
200 uint32_t delay = *(tmpData) << 24 | *(tmpData + 1) << 16 local
202 parcel->writeInt32(delay);
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c121 SLmillisecond delay = 100 + (rand() & 8191); local
122 printf("sleep %u\n", (unsigned) delay);
123 usleep(delay * 1000);
/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/core/jni/
H A Dandroid_hardware_SensorManager.cpp105 jint nativeQueue, jstring name, jint sensor, jint delay)
110 if (delay >= 0) {
111 res = queue->enableSensor(sensor, delay);
104 sensors_enable_sensor(JNIEnv *env, jclass clazz, jint nativeQueue, jstring name, jint sensor, jint delay) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSyncRunner.java173 protected void scheduleFilterWake(Filter filter, int delay) { argument
187 }, delay, TimeUnit.MILLISECONDS);
/frameworks/av/media/libstagefright/
H A DUtils.cpp101 int32_t delay = 0; local
102 if (meta->findInt32(kKeyEncoderDelay, &delay)) {
103 msg->setInt32("encoder-delay", delay);
388 int32_t delay = 0; local
389 if (msg->findInt32("encoder-delay", &delay)) {
390 meta->setInt32(kKeyEncoderDelay, delay);
H A DMP3Extractor.cpp371 int32_t delay, padding; local
372 if (sscanf(value, " %*x %x %x %*x", &delay, &padding) == 2) {
373 mMeta->setInt32(kKeyEncoderDelay, delay);
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java288 private boolean enableSensorLocked(Sensor sensor, int delay) { argument
294 result = sensors_enable_sensor(sQueue, name, handle, delay);
316 int delay, Handler handler) {
335 if (!enableSensorLocked(sensor, delay)) {
351 if (!enableSensorLocked(sensor, delay)) {
315 registerListenerImpl(SensorEventListener listener, Sensor sensor, int delay, Handler handler) argument
/frameworks/base/core/java/android/net/
H A DDnsPinger.java81 * arg2 is the delay, or is negative on error.
267 public int pingDnsAsync(InetAddress dns, int timeout, int delay) { argument
270 new DnsArg(dns, mCurrentToken.get())), delay);
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java65 * @param delay the delay to start the animation, in ms.
70 public ObjectAnimator addAnimTo(long duration, long delay, argument
77 anim.setStartDelay(delay);
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java453 private void delay(long duration) { method in class:VibratorService.VibrateThread
486 delay(duration);
493 // duration is saved for delay() at top of loop
H A DDeviceStorageMonitorService.java298 private void postCheckMemoryMsg(boolean clearCache, long delay) { argument
303 delay);
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c217 SLmillisecond delay = 100 + (rand() & 1023); local
218 printf("sleep %u\n", (unsigned) delay);
219 usleep(delay * 1000);
273 if ((playTimeInMilliseconds > 0) && ((playTimeInMilliseconds -= delay) < 0))
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java26 * can be set up to play together, in sequence, or after a specified delay.
111 // The amount of time in ms to delay starting the animation after start() is called
376 * The amount of time, in milliseconds, to delay starting the animation after
379 * @return the number of milliseconds to delay running the animation
387 * The amount of time, in milliseconds, to delay starting the animation after
390 * @param startDelay The amount of the delay, in milliseconds
1109 * @param delay The number of milliseconds that should elapse before the
1112 public Builder after(long delay) { argument
1115 anim.setDuration(delay);
H A DLayoutTransition.java55 * animation. The other animations begin after a delay that is set to the default duration
68 * basic animation properties, such as the duration, start delay, and properties being animated.
232 * Used to track the current delay being assigned to successive animations as they are
401 * Sets the start delay on one of the animation objects used by this transition. The
402 * <code>transitionType</code> parameter determines the animation whose start delay
407 * the animation whose start delay is being set.
408 * @param delay The length of time, in milliseconds, to delay before starting the animation.
411 public void setStartDelay(int transitionType, long delay) { argument
414 mChangingAppearingDelay = delay;
[all...]
/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java162 /** Used to delay the zoom controller dismissal. */
166 * we delay the setVisible(true) call until it is not null.
234 * Sets the delay between zoom callbacks as the user holds a zoom button.
236 * @param speed The delay in milliseconds between zoom callbacks.
439 private void dismissControlsDelayed(int delay) { argument
442 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/cmds/bootanimation/
H A DBootAnimation.cpp541 nsecs_t delay = frameDuration - (now - lastFrame); local
542 //ALOGD("%lld, %lld", ns2ms(now - lastFrame), ns2ms(delay));
545 if (delay > 0) {
547 spec.tv_sec = (now + delay) / 1000000000;
548 spec.tv_nsec = (now + delay) % 1000000000;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnectionTracker.java468 private void startAlarmForReconnect(int delay, String reason) { argument
471 + (delay / 1000) + "s");
480 SystemClock.elapsedRealtime() + delay, mReconnectIntent);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp375 int64_t delay = getNowUs() - startTime; local
377 printf("avg. %.2f fps\n", n * 1E6 / delay);
390 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay);

Completed in 2642 milliseconds

12