/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 186 float diff = mTempEndValues[i] - mTempStartValues[i]; 187 mTempEndValues[i] = mTempStartValues[i] + (fraction * diff);
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 226 auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(end - now); 227 return std::max(diff.count(), 0ll);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 560 float diff; 563 diff = dst.width() - src.width() * sy; 565 diff = dst.height() - src.height() * sy; 569 diff = diff / 2; 573 tx += diff; 575 ty += diff;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | adj_thr.c | 889 Word16 diff; local 896 diff = currPe - *peMax ; 898 if (diff > 0) { 899 *peMin = *peMin + ((diff * minFacHi) / 100); 900 *peMax = *peMax + ((diff * maxFacHi) / 100); 902 diff = *peMin - currPe; 904 if (diff > 0) { 905 *peMin = *peMin - ((diff * minFacLo) / 100); 906 *peMax = *peMax - ((diff * maxFacLo) / 100);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 140 size_t diff = (next - last); local 142 if (diff != actual) { 144 mEntries[i]->getTag(), actual, diff);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 200 * The diff between the last event and initial touch. 1779 int diff = target.itemView.getRight() - right; 1780 if (diff < 0 && target.itemView.getRight() > selected.itemView.getRight()) { 1781 final int score = Math.abs(diff); 1789 int diff = target.itemView.getLeft() - curX; 1790 if (diff > 0 && target.itemView.getLeft() < selected.itemView.getLeft()) { 1791 final int score = Math.abs(diff); 1799 int diff = target.itemView.getTop() - curY; 1800 if (diff > 0 && target.itemView.getTop() < selected.itemView.getTop()) { 1801 final int score = Math.abs(diff); [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 218 long diff = Math.abs(expected - value); 219 assertTrue(diff < fudgeFactor);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | BackgroundScanSchedulerTest.java | 959 int diff = Math.abs(bucketPeriod - requestedPeriod); 960 if (diff < minDiff) { 961 minDiff = diff; 975 int diff = Math.abs(bucketPeriod - requestedPeriod); 976 if (diff < minDiff) { 977 minDiff = diff;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 412 final int diff = end > start ? 1 : -1; 413 for (int i = start; i != end; i += diff) { 745 int span, spanDiff, start, end, diff; 750 diff = 1; 754 diff = -1; 763 for (int i = start; i != end; i += diff) {
|
H A D | StaggeredGridLayoutManager.java | 1668 final int diff; 1671 diff = mPrimaryOrientation.getStartAfterPadding() - minStart; 1674 diff = maxEnd - mPrimaryOrientation.getEndAfterPadding(); 1676 return diff > 0 ? Math.min(layoutState.mAvailable, diff) : 0; 1929 final int startIndex, endIndex, diff; 1933 diff = -1; 1937 diff = 1; 1943 for (int i = startIndex; i != endIndex; i += diff) { 1956 for (int i = startIndex; i != endIndex; i += diff) { [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1867 // The diff value here doesn't make much sense (given our bit packing scheme) 1888 int32_t diff = (int32_t)(imsi - o.imsi); local 1889 if (diff != 0) return diff; 1890 diff = compareLocales(*this, o); 1891 if (diff != 0) return diff; 1892 diff = (int32_t)(screenType - o.screenType); 1893 if (diff != 0) return diff; 1920 int diff = compareLocales(*this, o); local 1973 int ResTable_config::diff(const ResTable_config& o) const { function in class:android::ResTable_config 1993 const int diff = compareLocales(*this, o); local 2047 const int diff = isLocaleMoreSpecificThan(o); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 253 int64_t diff = timestampUs - seekTimeUs; local 255 if (diff < 0) { 256 diff = -diff; 259 if ((gReproduceBug == 4 && diff > 500000)
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 529 int64_t diff = time1Us - time2Us; 530 if (diff < 0) { 531 diff = -diff; 534 return diff <= 50000;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 451 int64_t diff = duration - mLastQueuedTimeUs; local 452 if (diff < kNearEOSMarkUs && diff > -kNearEOSMarkUs) {
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 469 long diff = Math.abs(mSortedStatFiles[i].keyAt(index) - beginTimeStamp); 470 if (diff < smallestDiff) { 471 smallestDiff = diff;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | BackgroundScanScheduler.java | 528 int diff = Math.abs(PREDEFINED_BUCKET_PERIODS[i] - requestedPeriod); 529 if (diff < minDiff) { 530 minDiff = diff;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | Config_test.cpp | 159 EXPECT_EQ(defaultConfig.diff(roundConfig), ResTable_config::CONFIG_SCREEN_ROUND);
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 235 return (config1->diff(*config2));
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenLog.java | 123 + "," + ZenModeConfig.diff(oldConfig, newConfig));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 381 final int diff; 383 diff = -1; 385 diff = 1; 387 final int distance = diff * 10;
|
H A D | BaseRecyclerViewInstrumentationTest.java | 610 int diff = end > start ? 1 : -1; 612 for (int i = start; i != end; i+=diff) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 259 final int diff = mLastSystemUiVisibility ^ visible; 271 if ((diff & SYSTEM_UI_FLAG_LAYOUT_STABLE) != 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 338 float diff = circleRadius - mMinBackgroundRadius; 340 values[0].setFloatValues(mCircleStartValue + diff, circleRadius);
|
/frameworks/native/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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 227 final int diff = mLastSystemUiVisibility ^ visible; 239 if ((diff & SYSTEM_UI_FLAG_LAYOUT_STABLE) != 0) {
|