/frameworks/base/core/java/android/os/ |
H A D | CountDownTimer.java | 120 // no tick, just delay until done 127 long delay = lastTickStart + mCountdownInterval - SystemClock.elapsedRealtime(); 131 while (delay < 0) delay += mCountdownInterval; 133 sendMessageDelayed(obtainMessage(MSG), delay);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | long_term_prediction.h | 106 const Int delay[],
|
H A D | s_lt_pred_status.h | 159 Int delay[MAX_SHORT_WINDOWS]; member in struct:__anon286
|
H A D | ps_allocate_decoder.cpp | 249 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 D | long_term_prediction.cpp | 70 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...] |
H A D | lt_decode.cpp | 324 Int *pDelay = pLt_pred->delay;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 31 * 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/media/tests/omxjpegdecoder/ |
H A D | jpeg_decoder_bench.cpp | 62 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/media/java/android/media/ |
H A D | AsyncPlayer.java | 70 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 71 if (delay > 1000) { 72 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); 102 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 103 if (delay > 1000) { 104 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
|
/frameworks/base/services/java/com/android/server/ |
H A D | HeadsetObserver.java | 106 int delay = 0; 123 // immediate, so delay the route change by 1000ms. 126 delay = 1000; 128 // Insert the same delay for headset connection so that the connection event is not 131 delay = 1000; 139 delay);
|
H A D | NotificationPlayer.java | 143 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 144 if (delay > 1000) { 145 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); 175 long delay = SystemClock.uptimeMillis() - cmd.requestTime; 176 if (delay > 1000) { 177 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
|
H A D | SensorService.java | 69 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 D | VibratorService.java | 286 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 D | DeviceStorageMonitorService.java | 244 private void postCheckMemoryMsg(boolean clearCache, long delay) { argument 249 delay);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 171 long delay = endTime - System.currentTimeMillis(); 172 if (delay < 0) { 178 wait(delay);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | DatagramTest.java | 181 long delay = System.currentTimeMillis() - start; 182 if (Math.abs(delay - timeout) > 1000) { 184 + " actual: " + delay + " miliseconds.");
|
H A D | URLTest.java | 205 long delay = System.currentTimeMillis() - start; 206 if (Math.abs(timeout - delay) > 1000) { 207 fail("Timeout was not accurate. it needed " + delay +
|
H A D | SSLSocketTest.java | 75 * @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/com/android/internal/app/ |
H A D | ShutdownThread.java | 205 long delay = endTime - SystemClock.elapsedRealtime(); 206 if (delay <= 0) { 211 mActionDoneSync.wait(delay); 312 long delay = endShutTime - SystemClock.elapsedRealtime(); 313 if (delay <= 0) { 318 mActionDoneSync.wait(delay);
|
/frameworks/base/core/java/android/widget/ |
H A D | Filter.java | 61 * Provide an interface that decides how long to delay the message for a given query. Useful 62 * for heuristics such as posting a delay for the delete key to avoid doing any work while the 110 final long delay = (mDelayer == null) ? 0 : mDelayer.getPostingDelay(constraint); 123 mThreadHandler.sendMessageDelayed(message, delay); 318 * @return The delay that should be used for
|
/frameworks/base/camera/libcameraservice/ |
H A D | CameraHardwareStub.cpp | 170 int delay = (int)(1000000.0f / float(previewFrameRate)); local 190 usleep(delay);
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_reliability_tests.py | 133 if not options.delay: 136 manual_delay = options.delay 184 "runReliabilityTest -e timeout %s -e delay %s" % 266 option_parser.add_option("-d", "--delay", 268 help="add a manual delay between pages (in ms)")
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 893 int delay = -1; 896 delay = 0; 899 delay = 20; 902 delay = 60; 905 delay = 200; 930 result = mSensorService.enableSensor(l, name, handle, delay); 938 result = mSensorService.enableSensor(l, name, handle, delay);
|
/frameworks/base/cmds/stagefright/ |
H A D | stagefright.cpp | 242 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/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 327 Object delay = arguments.get(ARGUMENT_DELAY_MSEC); // Accept either string or int 328 if (delay != null) mDelayMsec = Integer.parseInt(delay.toString()); 738 // for power measurement purposes. To make sure there is a delay before and after 739 // every test in a suite, we delay *after* every test (see endTest below) and also 740 // delay *before* the first test. So, delay test1 delay test2 delay.
|