/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | sub.cpp | 39 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 D | ResettableTimeout.java | 104 long diff; 106 diff = mOffAt - SystemClock.uptimeMillis(); 107 if (diff <= 0) { 115 sleep(diff);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | sbr_update_freq_scale.h | 88 void CalcBands(Int32 * diff, 94 Int32 * diff,
|
H A D | sbr_update_freq_scale.cpp | 284 /* 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 D | c_g_aver.cpp | 284 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 D | Time.cpp | 39 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 D | DynamicLayout.java | 184 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 D | ProgressDialog.java | 239 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 D | ActivityThread.java | 3759 && 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 D | Touch.java | 60 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 D | AlphabetIndexer.java | 212 int diff = compare(curName, targetLetter); 213 if (diff != 0) { 225 if (diff < 0) {
|
H A D | ProgressBar.java | 676 * @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 D | ResourceTypes.h | 1003 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 D | stagefright.cpp | 127 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 D | Matrix.java | 685 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 D | Configuration.java | 312 * {@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 D | CaretManager.java | 477 int diff = logical-prevLogical; 480 if (diff > 1 || diff < -1) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | CookieManager.java | 213 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 D | OMXHarness.cpp | 540 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 D | Time.java | 763 int diff = julianDay - approximateDay; 764 monthDay += diff;
|
/frameworks/base/opengl/libs/ETC1/ |
H A D | etc1.cpp | 46 | 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 D | StatusBarService.java | 1702 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 D | AppCacheTest.java | 148 long diff = (blks1-blks2-2); 149 assertTrue(invokePMFreeApplicationCache(diff*st.getBlockSize()));
|
/frameworks/base/libs/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 1047 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 D | WindowManagerService.java | 2442 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...] |