/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/base/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/base/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 | 885 Word16 diff; in adjustPeMinMax() local 892 diff = currPe - *peMax ; in adjustPeMinMax() 894 if (diff > 0) { in adjustPeMinMax() 895 *peMin = *peMin + ((diff * minFacHi) / 100); in adjustPeMinMax() 896 *peMax = *peMax + ((diff * maxFacHi) / 100); in adjustPeMinMax() 898 diff = *peMin - currPe; in adjustPeMinMax() 900 if (diff > 0) { in adjustPeMinMax() 901 *peMin = *peMin - ((diff * minFacLo) / 100); in adjustPeMinMax() 902 *peMax = *peMax - ((diff * maxFacLo) / 100); in adjustPeMinMax()
|
/frameworks/base/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/include/utils/ |
D | ResourceTypes.h | 1024 int32_t diff = (int32_t)(imsi - o.imsi); in compare() local 1025 if (diff != 0) return diff; in compare() 1026 diff = (int32_t)(locale - o.locale); in compare() 1027 if (diff != 0) return diff; in compare() 1028 diff = (int32_t)(screenType - o.screenType); in compare() 1029 if (diff != 0) return diff; in compare() 1030 diff = (int32_t)(input - o.input); in compare() 1031 if (diff != 0) return diff; in compare() 1032 diff = (int32_t)(screenSize - o.screenSize); in compare() 1033 if (diff != 0) return diff; in compare() [all …]
|
/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 | 203 int diff = where - find; in reflow() local 204 before += diff; in reflow() 205 after += diff; in reflow() 206 where -= diff; in reflow() 240 int diff = where - st; in reflow() local 241 before += diff; in reflow() 242 after += diff; in reflow() 243 where -= diff; in reflow() 249 int diff = en - (where + after); in reflow() local 250 before += diff; in reflow() [all …]
|
/frameworks/base/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/guide/developing/tools/ |
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/media/libstagefright/timedtext/ |
D | TimedTextParser.cpp | 222 const int diff = currTimeUs - seekTimeUs; in getText() local 224 if (diff == 0) { in getText() 226 } else if (diff < 0) { in getText()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 788 int diff = julianDay - approximateDay; in setJulianDay() local 789 monthDay += diff; in setJulianDay() 812 int diff = THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay() local 813 if (diff < 0) { in getWeeksSinceEpochFromJulianDay() 814 diff += 7; in getWeeksSinceEpochFromJulianDay() 816 int refDay = EPOCH_JULIAN_DAY - diff; in getWeeksSinceEpochFromJulianDay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBar.java | 1020 final int diff = state ^ old; in disable() local 1025 old, state, diff)); in disable() 1031 flagdbg.append(((diff & StatusBarManager.DISABLE_EXPAND) != 0) ? "* " : " "); in disable() 1033 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "* " : " "); in disable() 1035 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "* " : " "); in disable() 1037 flagdbg.append(((diff & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "* " : " "); in disable() 1039 flagdbg.append(((diff & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) ? "* " : " "); in disable() 1041 flagdbg.append(((diff & StatusBarManager.DISABLE_BACK) != 0) ? "* " : " "); in disable() 1043 flagdbg.append(((diff & StatusBarManager.DISABLE_HOME) != 0) ? "* " : " "); in disable() 1045 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/base/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 127 audio_coef_t diff = coefs[i] - mCoefs[i]; in updateCoefs() local 128 if (diff > maxDelta) { in updateCoefs() 130 } else if (diff < -maxDelta) { in updateCoefs()
|
/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()
|
/frameworks/base/core/java/android/webkit/ |
D | CookieManager.java | 216 int diff = cookie2.path.length() - cookie1.path.length(); in compare() local 217 if (diff != 0) return diff; in compare() 219 diff = cookie2.domain.length() - cookie1.domain.length(); in compare() 220 if (diff != 0) return diff; in compare()
|
/frameworks/media/libvideoeditor/osal/src/ |
D | LVOSA_FileReader_optim.c | 226 M4OSA_FilePosition diff; in M4OSA_FileReader_BufferFill() local 249 diff = gridPos - apContext->readFilePos; in M4OSA_FileReader_BufferFill() 251 if(diff != 0) in M4OSA_FileReader_BufferFill() 254 fileSeekPosition = diff; in M4OSA_FileReader_BufferFill() 267 ret_val = apContext->FS->pFctPtr_Seek(apContext->aFileDesc, diff, in M4OSA_FileReader_BufferFill()
|
/frameworks/base/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 547 int64_t diff = time1Us - time2Us; in CloseEnough() 548 if (diff < 0) { in CloseEnough() 549 diff = -diff; in CloseEnough() 552 return diff <= 50000; in CloseEnough()
|
/frameworks/base/cmds/stagefright/ |
D | stagefright.cpp | 254 int64_t diff = timestampUs - seekTimeUs; in playSource() local 256 if (diff < 0) { in playSource() 257 diff = -diff; in playSource() 260 if ((gReproduceBug == 4 && diff > 500000) in playSource()
|