Searched refs:diff (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dsub.cpp39 Description: Changed all occurrences of L_diff to diff, deleted "short" in
113 diff = 16-bit limited difference between var1 and var2 (Word16)
146 Word32 diff;
148 diff = (Word32) var1 - var2;
154 var_out = saturate (diff);
193 Word32 diff; local
195 diff = (Word32) var1 - var2;
199 /* to conserve MIPS, i.e., var_out = saturate (diff) */
202 if ((UWord32)(diff - 0xFFFF8000L) > 0x000FFFF)
204 if (diff > (Word3
[all...]
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java104 long diff;
106 diff = mOffAt - SystemClock.uptimeMillis();
107 if (diff <= 0) {
115 sleep(diff);
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dsbr_update_freq_scale.h88 void CalcBands(Int32 * diff,
94 Int32 * diff,
H A Dsbr_update_freq_scale.cpp284 /* Adjust diff vector to get spec. SBR range */
302 void CalcBands(Int32 * diff, argument
328 diff[i-1] = current - previous;
336 Int32 * diff,
343 Int32 *pt_diff = diff;
335 cumSum(Int32 start_value, Int32 * diff, Int32 length, Int32 * start_adress) argument
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp284 Word16 cbGainMix, diff, tmp_diff, bgMix, cbGainMean;
320 diff = tmp[0];
322 diff = add(diff, tmp[i]); // Q13
326 if (sub(diff, 5325) > 0) // 0.65 in Q11
352 // bgMix = min(0.25, max(0.0, diff-0.55)) / 0.25;
353 tmp_diff = sub(diff, 4506); // 0.55 in Q13
355 // max(0.0, diff-0.55)
377 // bgMix = min(0.25, max(0.0, diff-0.40)) / 0.25;
378 tmp_diff = sub(diff, 327
480 Word16 diff; local
[all...]
/frameworks/base/core/jni/
H A DTime.cpp39 int diff = a.t.field - b.t.field; \
40 if (diff != 0) return diff; \
60 int64_t diff = am-bm; local
61 return (diff < 0) ? -1 : ((diff > 0) ? 1 : 0);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java184 int diff = where - find;
185 before += diff;
186 after += diff;
187 where -= diff;
221 int diff = where - st;
222 before += diff;
223 after += diff;
224 where -= diff;
230 int diff = en - (where + after);
231 before += diff;
[all...]
/frameworks/base/core/java/android/app/
H A DProgressDialog.java239 public void incrementProgressBy(int diff) { argument
241 mProgress.incrementProgressBy(diff);
244 mIncrementBy += diff;
248 public void incrementSecondaryProgressBy(int diff) { argument
250 mProgress.incrementSecondaryProgressBy(diff);
253 mIncrementSecondaryBy += diff;
H A DActivityThread.java3759 && mConfiguration.diff(tmp.createdConfig) != 0)) {
3909 int diff = activity.mCurrentConfig.diff(config);
3910 if (diff != 0) {
3915 if ((~activity.mActivityInfo.configChanges & diff) == 0) {
/frameworks/base/core/java/android/text/method/
H A DTouch.java60 int diff = 0;
64 diff = (width - padding - (right - left)) / 2;
66 diff = width - padding - (right - left);
70 x = Math.min(x, right - (width - padding) - diff);
71 x = Math.max(x, left - diff);
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java212 int diff = compare(curName, targetLetter);
213 if (diff != 0) {
225 if (diff < 0) {
H A DProgressBar.java676 * @param diff the amount by which the progress must be increased
680 public synchronized final void incrementProgressBy(int diff) { argument
681 setProgress(mProgress + diff);
687 * @param diff the amount by which the secondary progress must be increased
691 public synchronized final void incrementSecondaryProgressBy(int diff) { argument
692 setSecondaryProgress(mSecondaryProgress + diff);
/frameworks/base/include/utils/
H A DResourceTypes.h1003 int32_t diff = (int32_t)(imsi - o.imsi); local
1004 if (diff != 0) return diff;
1005 diff = (int32_t)(locale - o.locale);
1006 if (diff != 0) return diff;
1007 diff = (int32_t)(screenType - o.screenType);
1008 if (diff != 0) return diff;
1009 diff
1042 inline int diff(const ResTable_config& o) const { function in struct:android::ResTable_config
[all...]
/frameworks/base/cmds/stagefright/
H A Dstagefright.cpp127 int64_t diff = timestampUs - seekTimeUs; local
129 if (diff < 0) {
130 diff = -diff;
133 if ((gReproduceBug == 4 && diff > 500000)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix.java685 float diff;
688 diff = dst.width() - src.width() * sy;
690 diff = dst.height() - src.height() * sy;
694 diff = diff / 2;
698 tx += diff;
700 ty += diff;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java312 * {@link #diff}.
424 public int diff(Configuration delta) { method in class:Configuration
514 int diff = other.seq - seq;
515 if (diff > 0x10000) {
520 return diff > 0;
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DCaretManager.java477 int diff = logical-prevLogical;
480 if (diff > 1 || diff < -1) {
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java213 int diff = cookie2.path.length() - cookie1.path.length();
214 if (diff != 0) return diff;
216 diff = cookie2.domain.length() - cookie1.domain.length();
217 if (diff != 0) return diff;
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp540 int64_t diff = time1Us - time2Us;
541 if (diff < 0) {
542 diff = -diff;
545 return diff <= 50000;
/frameworks/base/core/java/android/text/format/
H A DTime.java763 int diff = julianDay - approximateDay;
764 monthDay += diff;
/frameworks/base/opengl/libs/ETC1/
H A Detc1.cpp46 | base col1 | base col2 | table | table |diff|flip|
61 | base col 1 | dcol 2 | table | table |diff|flip|
162 inline int convertDiff(int base, int diff) { argument
163 return convert5To8((0x1f & base) + kLookup[0x7 & diff]);
/frameworks/base/services/java/com/android/server/status/
H A DStatusBarService.java1702 int diff = net ^ old;
1706 if ((diff & StatusBarManager.DISABLE_EXPAND) != 0) {
1712 if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
1727 } else if ((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java148 long diff = (blks1-blks2-2);
149 assertTrue(invokePMFreeApplicationCache(diff*st.getBlockSize()));
/frameworks/base/libs/surfaceflinger/
H A DSurfaceFlinger.cpp1047 nsecs_t diff = now - mLastFpsTime; local
1048 if (diff > ms2ns(250)) {
1049 mFps = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff;
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java2442 int diff = 0;
2445 || (diff=mCurConfiguration.diff(win.mConfiguration)) != 0)) {
2450 + Integer.toHexString(diff));
3164 if (currentConfig.diff(mTempConfiguration) != 0) {
10285 || mCurConfiguration.diff(w.mConfiguration) != 0);
10647 int diff = 0;
10651 || (diff=mCurConfiguration.diff(win.mConfiguration)) != 0);
10657 + Integer.toHexString(diff));
[all...]

Completed in 588 milliseconds

12