Searched refs:diff (Results 1 - 25 of 50) 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/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DVisualDiffUtils.java32 * diff.text
37 * diff.text
45 for (diff_match_patch.Diff diff : diffs) {
46 parts = diff.text.split("\n", -1);
48 newDiffs.add(diff);
54 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[i] + "\n"));
57 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[lengthMinusOne]));
71 diff_match_patch.Diff diff;
75 diff = diffs.get(j);
77 switch (diff
159 processDiff(diff_match_patch.Diff diff, LinkedList<Integer> lineNums, LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) argument
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dquantize.c349 Word32 diff; local
364 diff = saShft - repquat[0];
365 distSingle = (diff * diff) >> g2;
370 diff = saShft - repquat[1];
371 distSingle = (diff * diff) >> g2;
376 diff = saShft - repquat[2];
377 distSingle = (diff * diff) >> g
399 Word32 diff; local
[all...]
H A Dadj_thr.c885 Word16 diff; local
892 diff = currPe - *peMax ;
894 if (diff > 0) {
895 *peMin = *peMin + ((diff * minFacHi) / 100);
896 *peMax = *peMax + ((diff * maxFacHi) / 100);
898 diff = *peMin - currPe;
900 if (diff > 0) {
901 *peMin = *peMin - ((diff * minFacLo) / 100);
902 *peMax = *peMax - ((diff * maxFacLo) / 100);
/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/native/
H A Dcopy-to-ndk.sh26 if diff $src $dst >/dev/null; then
42 if diff $SRC_LIB_ANDROID $DST_LIB_ANDROID >/dev/null; then
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java203 int diff = where - find;
204 before += diff;
205 after += diff;
206 where -= diff;
240 int diff = where - st;
241 before += diff;
242 after += diff;
243 where -= diff;
249 int diff = en - (where + after);
250 before += diff;
[all...]
/frameworks/base/include/utils/
H A DResourceTypes.h1024 int32_t diff = (int32_t)(imsi - o.imsi); local
1025 if (diff != 0) return diff;
1026 diff = (int32_t)(locale - o.locale);
1027 if (diff != 0) return diff;
1028 diff = (int32_t)(screenType - o.screenType);
1029 if (diff != 0) return diff;
1030 diff
1068 inline int diff(const ResTable_config& o) const { function in struct:android::ResTable_config
[all...]
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java212 int diff = compare(curName, targetLetter);
213 if (diff != 0) {
225 if (diff < 0) {
/frameworks/base/media/libstagefright/timedtext/
H A DTimedTextParser.cpp222 const int diff = currTimeUs - seekTimeUs; local
224 if (diff == 0) {
226 } else if (diff < 0) {
/frameworks/base/core/java/android/app/
H A DProgressDialog.java261 public void incrementProgressBy(int diff) { argument
263 mProgress.incrementProgressBy(diff);
266 mIncrementBy += diff;
270 public void incrementSecondaryProgressBy(int diff) { argument
272 mProgress.incrementSecondaryProgressBy(diff);
275 mIncrementSecondaryBy += diff;
/frameworks/base/core/java/android/text/format/
H A DTime.java788 int diff = julianDay - approximateDay;
789 monthDay += diff;
812 int diff = THURSDAY - firstDayOfWeek;
813 if (diff < 0) {
814 diff += 7;
816 int refDay = EPOCH_JULIAN_DAY - diff;
/frameworks/base/voip/java/com/android/server/sip/
H A DSipWakeupTimer.java332 int diff = e1.mMaxPeriod - e2.mMaxPeriod;
333 if (diff == 0) diff = -1;
334 return diff;
/frameworks/base/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp127 audio_coef_t diff = coefs[i] - mCoefs[i]; local
128 if (diff > maxDelta) {
130 } else if (diff < -maxDelta) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java1047 final int diff = state ^ old;
1051 Slog.d(TAG, String.format("disable: 0x%08x -> 0x%08x (diff: 0x%08x)",
1052 old, state, diff));
1058 flagdbg.append(((diff & StatusBarManager.DISABLE_EXPAND) != 0) ? "* " : " ");
1060 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "* " : " ");
1062 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "* " : " ");
1064 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "* " : " ");
1066 flagdbg.append(((diff & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) ? "* " : " ");
1068 flagdbg.append(((diff & StatusBarManager.DISABLE_BACK) != 0) ? "* " : " ");
1070 flagdbg.append(((diff
[all...]
/frameworks/media/libvideoeditor/osal/src/
H A DLVOSA_FileReader_optim.c226 M4OSA_FilePosition diff; local
249 diff = gridPos - apContext->readFilePos;
251 if(diff != 0)
254 fileSeekPosition = diff;
267 ret_val = apContext->FS->pFctPtr_Seek(apContext->aFileDesc, diff,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java615 float diff;
618 diff = dst.width() - src.width() * sy;
620 diff = dst.height() - src.height() * sy;
624 diff = diff / 2;
628 tx += diff;
630 ty += diff;
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp455 int64_t diff = firstVideoTimeUs - firstAudioTimeUs; local
457 LOGV("queueDiff = %.2f secs", diff / 1E6);
459 if (diff > 100000ll) {
/frameworks/base/cmds/keystore/
H A Dtest-keystore62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
/frameworks/base/core/java/android/os/
H A DPowerManager.java349 changed = mWorkSource.diff(ws);
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java216 int diff = cookie2.path.length() - cookie1.path.length();
217 if (diff != 0) return diff;
219 diff = cookie2.domain.length() - cookie1.domain.length();
220 if (diff != 0) return diff;

Completed in 656 milliseconds

12