/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | sub.cpp | 193 Word32 diff; in sub() local 195 diff = (Word32) var1 - var2; in sub() 202 if ((UWord32)(diff - 0xFFFF8000L) > 0x000FFFF) in sub() 204 if (diff > (Word32) 0x0007FFFL) in sub() 206 diff = MAX_16; in sub() 210 diff = MIN_16; in sub() 217 return ((Word16) diff); in sub()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | quantize.c | 349 Word32 diff; in calcSfbDist() local 364 diff = saShft - repquat[0]; in calcSfbDist() 365 distSingle = (diff * diff) >> g2; in calcSfbDist() 370 diff = saShft - repquat[1]; in calcSfbDist() 371 distSingle = (diff * diff) >> g2; in calcSfbDist() 376 diff = saShft - repquat[2]; in calcSfbDist() 377 distSingle = (diff * diff) >> g2; in calcSfbDist() 399 Word32 diff; in calcSfbDist() local 413 diff = saShft - repquat[0]; in calcSfbDist() 414 distSingle = L_shl((diff * diff), g2); in calcSfbDist() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | c_g_aver.cpp | 480 Word16 diff; in Cb_gain_average() local 511 diff = 0; in Cb_gain_average() 537 diff = add(diff, *(tmp + i), pOverflow); /* Q13 */ in Cb_gain_average() 542 if (diff > 5325) /* 0.65 in Q11 */ in Cb_gain_average() 574 tmp_diff = sub(diff, 4506, pOverflow); /* 0.55 in Q13 */ in Cb_gain_average() 579 tmp_diff = sub(diff, 3277, pOverflow); /* 0.4 in Q13 */ in Cb_gain_average() 603 if ((st->hangCount < 40) || (diff > 5325)) /* 0.65 in Q13 */ in Cb_gain_average()
|
/frameworks/base/core/java/com/android/server/ |
D | ResettableTimeout.java | 104 long diff; in run() local 106 diff = mOffAt - SystemClock.uptimeMillis(); in run() 107 if (diff <= 0) { in run() 115 sleep(diff); in run()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | errorCalculator.rs | 49 float4 diff = idealPixel - givenPixel; 50 float totalDiff = diff.x + diff.y + diff.z + diff.w;
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | statistics.cpp | 52 const float diff = value - mean_; in Pdf() local 53 return expf(-diff * diff / exp_denom_) / pdf_denom_; in Pdf()
|
D | geometry.cpp | 41 Point diff = p1 - p0; in Distance() local 42 return diff.Length(); in Distance()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | Utils.java | 112 int diff = Time.THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay() local 113 if (diff < 0) { in getWeeksSinceEpochFromJulianDay() 114 diff += 7; in getWeeksSinceEpochFromJulianDay() 116 int refDay = Time.EPOCH_JULIAN_DAY - diff; in getWeeksSinceEpochFromJulianDay()
|
/frameworks/base/core/jni/ |
D | Time.cpp | 39 int diff = a.t.field - b.t.field; \ 40 if (diff != 0) return diff; \ 60 int64_t diff = am-bm; in compare() local 61 return (diff < 0) ? -1 : ((diff > 0) ? 1 : 0); in compare()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ContentLoadingProgressBar.java | 97 long diff = System.currentTimeMillis() - mStartTime; in hide() local 98 if (diff >= MIN_SHOW_TIME || mStartTime == -1) { in hide() 108 postDelayed(mDelayedHide, MIN_SHOW_TIME - diff); in hide()
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 132 return o instanceof WorkSource && !diff((WorkSource)o); in equals() 154 public boolean diff(WorkSource other) { in diff() method in WorkSource 299 int diff = mNames[i].compareTo(name); in add() local 300 if (diff > 0) { in add() 303 if (diff == 0) { in add() 528 final int diff = mUids[i1] - other.mUids[i2]; in compare() local 529 if (diff != 0) { in compare() 530 return diff; in compare() 554 int diff = -1; in updateUidsAndNamesLocked() local 555 if (i1 >= mNum || (i2 < N2 && (diff=compare(other, i1, i2)) > 0)) { in updateUidsAndNamesLocked() [all …]
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 204 int diff = where - find; in reflow() local 205 before += diff; in reflow() 206 after += diff; in reflow() 207 where -= diff; in reflow() 241 int diff = where - st; in reflow() local 242 before += diff; in reflow() 243 after += diff; in reflow() 244 where -= diff; in reflow() 250 int diff = en - (where + after); in reflow() local 251 before += diff; in reflow() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | Utils.java | 223 float diff = target - source; in interpolateAngle() local 224 if (diff < 0) diff += 360f; in interpolateAngle() 225 if (diff > 180) diff -= 360f; in interpolateAngle() 227 float result = source + diff * progress; in interpolateAngle()
|
/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 261 public void incrementProgressBy(int diff) { in incrementProgressBy() argument 263 mProgress.incrementProgressBy(diff); in incrementProgressBy() 266 mIncrementBy += diff; in incrementProgressBy() 270 public void incrementSecondaryProgressBy(int diff) { in incrementSecondaryProgressBy() argument 272 mProgress.incrementSecondaryProgressBy(diff); in incrementSecondaryProgressBy() 275 mIncrementSecondaryBy += diff; in incrementSecondaryProgressBy()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | CountedDataInputStream.java | 77 long diff = target - cur; in skipTo() local 78 assert(diff >= 0); in skipTo() 79 skipOrThrow(diff); in skipTo()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 768 int diff = julianDay - approximateDay; in setJulianDay() local 769 monthDay += diff; in setJulianDay() 792 int diff = THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay() local 793 if (diff < 0) { in getWeeksSinceEpochFromJulianDay() 794 diff += 7; in getWeeksSinceEpochFromJulianDay() 796 int refDay = EPOCH_JULIAN_DAY - diff; in getWeeksSinceEpochFromJulianDay()
|
/frameworks/base/native/ |
D | copy-to-ndk.sh | 26 if diff $src $dst >/dev/null; then 42 if diff $SRC_LIB_ANDROID $DST_LIB_ANDROID >/dev/null; then
|
/frameworks/base/docs/html/tools/help/ |
D | etc1tool.jd | 12 diff-file] [-o outfile]</pre> 53 <td><code>--showDifference <em>diff-file</em></code></td> 56 <code><em>diff-file</em></code> (only valid when encoding).</td>
|
/frameworks/base/core/java/android/widget/ |
D | AlphabetIndexer.java | 212 int diff = compare(curName, targetLetter); in getPositionForSection() local 213 if (diff != 0) { in getPositionForSection() 225 if (diff < 0) { in getPositionForSection()
|
/frameworks/base/packages/Keyguard/scripts/ |
D | new_merge.py | 77 diff(sourceFile, destFile) 81 diff(sourceFile, destFile) 150 def diff(file1, file2): function
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 397 final long diff = time - SystemClock.uptimeMillis(); in formatUptime() local 398 if (diff > 0) { in formatUptime() 399 return time + " (in " + diff + " ms)"; in formatUptime() 401 if (diff < 0) { in formatUptime() 402 return time + " (" + -diff + " ms ago)"; in formatUptime()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 322 int diff = e1.mMaxPeriod - e2.mMaxPeriod; in compare() local 323 if (diff == 0) diff = -1; in compare() 324 return diff; in compare()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextSRTSource.cpp | 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); in getText() local 238 if (diff == 0) { in getText() 240 } else if (diff < 0) { in getText()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 40 Point diff = p1 - p0; in Distance() local 41 return diff.Length(); in Distance()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 125 audio_coef_t diff = coefs[i] - mCoefs[i]; in updateCoefs() local 126 if (diff > maxDelta) { in updateCoefs() 128 } else if (diff < -maxDelta) { in updateCoefs()
|