/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | VisualDiffUtils.java | 45 for (diff_match_patch.Diff diff : diffs) { in splitDiffsOnNewline() 46 parts = diff.text.split("\n", -1); in splitDiffsOnNewline() 48 newDiffs.add(diff); in splitDiffsOnNewline() 54 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[i] + "\n")); in splitDiffsOnNewline() 57 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[lengthMinusOne])); in splitDiffsOnNewline() 71 diff_match_patch.Diff diff; in generateExpectedResultLines() local 75 diff = diffs.get(j); in generateExpectedResultLines() 77 switch (diff.operation) { in generateExpectedResultLines() 79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff); in generateExpectedResultLines() 88 if (diff.text.endsWith("\n") || isLastDiff) { in generateExpectedResultLines() [all …]
|
/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 …]
|
D | adj_thr.c | 886 Word16 diff; in adjustPeMinMax() local 893 diff = currPe - *peMax ; in adjustPeMinMax() 895 if (diff > 0) { in adjustPeMinMax() 896 *peMin = *peMin + ((diff * minFacHi) / 100); in adjustPeMinMax() 897 *peMax = *peMax + ((diff * maxFacHi) / 100); in adjustPeMinMax() 899 diff = *peMin - currPe; in adjustPeMinMax() 901 if (diff > 0) { in adjustPeMinMax() 902 *peMin = *peMin - ((diff * minFacLo) / 100); in adjustPeMinMax() 903 *peMax = *peMax - ((diff * maxFacLo) / 100); in adjustPeMinMax()
|
/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/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/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/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/av/media/libstagefright/codecs/aacdec/ |
D | sbr_update_freq_scale.h | 88 void CalcBands(Int32 * diff, 94 Int32 * diff,
|
D | sbr_update_freq_scale.cpp | 302 void CalcBands(Int32 * diff, in CalcBands() argument 328 diff[i-1] = current - previous; in CalcBands() 336 Int32 * diff, in cumSum() argument 343 Int32 *pt_diff = diff; in cumSum()
|
/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/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/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/ |
D | CameraCapture.java | 199 int diff = (fpsk - low) + (high - fpsk); in findClosestFpsRange() local 200 if (diff < minDiff) { in findClosestFpsRange() 202 minDiff = diff; in findClosestFpsRange()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 791 int diff = julianDay - approximateDay; in setJulianDay() local 792 monthDay += diff; in setJulianDay() 815 int diff = THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay() local 816 if (diff < 0) { in getWeeksSinceEpochFromJulianDay() 817 diff += 7; in getWeeksSinceEpochFromJulianDay() 819 int refDay = EPOCH_JULIAN_DAY - diff; in getWeeksSinceEpochFromJulianDay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBar.java | 1028 final int diff = state ^ old; in disable() local 1033 old, state, diff)); in disable() 1039 flagdbg.append(((diff & StatusBarManager.DISABLE_EXPAND) != 0) ? "* " : " "); in disable() 1041 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "* " : " "); in disable() 1043 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "* " : " "); in disable() 1045 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "* " : " "); in disable() 1047 flagdbg.append(((diff & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) ? "* " : " "); in disable() 1049 flagdbg.append(((diff & StatusBarManager.DISABLE_BACK) != 0) ? "* " : " "); in disable() 1051 flagdbg.append(((diff & StatusBarManager.DISABLE_HOME) != 0) ? "* " : " "); in disable() 1053 flagdbg.append(((diff & StatusBarManager.DISABLE_RECENT) != 0) ? "* " : " "); in disable() [all …]
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 332 int diff = e1.mMaxPeriod - e2.mMaxPeriod; in compare() local 333 if (diff == 0) diff = -1; in compare() 334 return diff; in compare()
|
/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()
|
/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/base/core/java/com/android/internal/widget/ |
D | ActionBarOverlayLayout.java | 104 final int diff = mLastSystemUiVisibility ^ visible; in onWindowSystemUiVisibilityChanged() local 112 if ((diff&SYSTEM_UI_FLAG_LAYOUT_STABLE) != 0) { in onWindowSystemUiVisibilityChanged()
|
/frameworks/support/volley/tests/src/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 149 long diff = Math.abs(expected - value); in assertEqualsWithin() local 150 assertTrue(diff < fudgeFactor); in assertEqualsWithin()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 615 float diff; in native_setRectToRect() local 618 diff = dst.width() - src.width() * sy; in native_setRectToRect() 620 diff = dst.height() - src.height() * sy; in native_setRectToRect() 624 diff = diff / 2; in native_setRectToRect() 628 tx += diff; in native_setRectToRect() 630 ty += diff; in native_setRectToRect()
|